Package: gio

Function gio:icon-new-for-string

Lambda List

gio:icon-new-for-string (str)

Arguments

str -- a string obtained using the g:icon-to-string function

Return Value

The 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

2024-11-21