containing the rendered icon
Style.renderIcon
gdkpixbuf.pixbuf.Pixbuf renderIcon(gtk.icon_source.IconSource source, gtk.types.TextDirection direction, gtk.types.StateType state, gtk.types.IconSize size, gtk.widget.Widget widget = null, string detail = null)Renders the icon specified by source at the given size according to the given parameters and returns the result in a pixbuf.
Parameters
source | the #GtkIconSource specifying the icon to render |
direction | a text direction |
state | a state |
size | the size to render the icon at (#GtkIconSize). A size of (GtkIconSize)-1 means render at the size of the source and don’t scale. |
widget | the widget |
detail | a style detail |
Returns
a newly-created #GdkPixbuf
Deprecated
Use [gtk.global.renderIconPixbuf] instead