Package: gdk

Function gdk:content-formats-parse

Lambda List

gdk:content-formats-parse (str)

Arguments

str -- a string to parse

Return Value

The gdk:content-formats instance with the content formats if str is valid.

Details

Parses the given str into a gdk:content-formats instance and returns the formats. Strings printed via the gdk:content-formats-to-string function can be read in again successfully using this function.

If str does not describe valid content formats, nil is returned.

Since 4.4
 

See also

#2023-4-14