gtkIconThemeChooseIcon {RGtk2} | R Documentation |
Looks up a named icon and returns a structure containing
information such as the filename of the icon. The icon
can then be rendered into a pixbuf using
gtkIconInfoLoadIcon
. (gtkIconThemeLoadIcon
combines these two steps if all you need is the pixbuf.)
gtkIconThemeChooseIcon(object, icon.names, size, flags)
|
[GtkIconTheme ] a GtkIconTheme |
|
[character] list of icon names to lookup |
|
[integer] desired icon size |
|
[GtkIconLookupFlags ] flags modifying the behavior of the icon lookup |
If icon.names
contains more than one name, this function
tries them all in the given order before falling back to
inherited icon themes.
Since 2.12
[GtkIconInfo
] a GtkIconInfo
structure containing information
about the icon, or NULL
if the icon wasn't found
Derived by RGtkGen from GTK+ documentation