Package: gio

Function g-icon-new-for-string

Lambda List

g-icon-new-for-string (str)

Arguments

str -- a string obtained via the g-icon-to-string function

Return Value

An object implementing the g-icon interface or nil if an error is set.

Details

Generate a g-icon object from the str argument. This function can fail if the str argument is not valid - see the g-icon-to-string function for discussion.

If your application or library provides one or more g-icon implementations you need to ensure that each type is registered with the type system prior to calling this function.
 

See also

2021-9-5