Package: gtk

Function gtk:icon-theme-lookup-by-gicon

Lambda List

gtk:icon-theme-lookup-by-gicon (theme icon size flags)

Arguments

theme -- a gtk:icon-theme object
icon -- the g:icon object to look up
size -- an integer with the desired icon size
flags -- a gtk:icon-lookup-flags value modifying the behavior of the icon lookup

Return Value

A gtk:icon-info instance containing information about the icon, or nil if the icon was not found.

Details

Looks up an icon and returns a gtk:icon-info instance containing information such as the filename of the icon. The icon can then be rendered into a pixbuf using the gtk:icon-info-load-icon function.
 

See also

#2023-3-20