Warning: render_icon is deprecated since 3.0.
Renders an icon using render_icon.
Use render_icon_pixbuf instead
In most cases, render_icon is better, since it automatically provides most of the arguments from the current widget settings. This function never returns null; if the icon can’t be rendered (perhaps because an image file fails to load), a default "missing image" icon will be returned instead.
this |
a IconSet |
style |
a Style associated with |
direction |
text direction |
state |
widget state |
size |
icon size (IconSize). A size of `(GtkIconSize)-1` means render at the size of the source and don’t scale. |
widget |
widget that will display the icon, or null. The only use that is typically made of this is to determine the appropriate Screen. |
detail |
detail to pass to the theme engine, or null. Note that passing a detail of anything but null will disable caching. |
a Pixbuf to be displayed |