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.
the string to parse
the content formats if string is valid
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.