TypeScript API Documentation for GDK
API Version: 4.0
Library Version: 4.0.0
Generated with TypeDoc via ts-for-gir v4.0.0-beta.40
Since 4.4
Parses the given string into Gdk.ContentFormats and returns the formats.
string
Strings printed via Gdk.ContentFormats.to_string can be read in again successfully using this function.
If string does not describe valid content formats, null is returned.
null
the string to parse
the content formats if string is valid
4.4
Parses the given
stringinto Gdk.ContentFormats and returns the formats.Strings printed via Gdk.ContentFormats.to_string can be read in again successfully using this function.
If
stringdoes not describe valid content formats,nullis returned.