Package: gtk

Function gtk-icon-theme-lookup-icon

Lambda List

gtk-icon-theme-lookup-icon (theme name size flags)

Arguments

theme -- a gtk-icon-theme object
name -- a string with the name of the icon to lookup
size -- an integer for 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 a named 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. The gtk-icon-theme-load-icon function combines these two steps if all you need is the pixbuf.
 

See also

2021-11-28