ContentFormats.parse

Parses the given string into gdk.content_formats.ContentFormats and returns the formats.

Strings printed via gdk.content_formats.ContentFormats.toString_ can be read in again successfully using this function.

If string does not describe valid content formats, null is returned.

class ContentFormats
static
parse
(
string string_
)

Parameters

string_ string

the string to parse

Return Value

Type: gdk.content_formats.ContentFormats

the content formats if string is valid