Package: gtk

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

Lambda List

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

Arguments

theme -- a gtk:icon-theme object
icon -- a g:icon object to look up
size -- an integer for the desired icon size
scale -- an integer for the desired scale
direction -- a value of the gtk:text-direction enumeration
flags -- a value of the gtk:icon-lookup-flags flags

Return Value

The gtk:icon-paintable object containing the icon.

Details

Looks up an icon for a desired size and window scale, returning a gtk:icon-paintable object. The icon can then be rendered by using it as a gdk:paintable object, or you can get information such as the filename and size.
 

See also

#2025-3-29