ContentFormats.parse
gdk.content_formats.ContentFormats parse(string string_)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.
Parameters
string_ | the string to parse |
Returns
the content formats if string is valid