IconSet.renderIconPixbuf

Renders an icon using gtk_render_icon_pixbuf(). In most cases, Widget.renderIconPixbuf 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.

More...
class IconSet
renderIconPixbuf

Parameters

context StyleContext
size GtkIconSize

icon size (gtk.IconSize). A size of (GtkIconSize)-1 means render at the size of the source and don’t scale.

Return Value

Type: Pixbuf

a gdk.Pixbuf to be displayed

Detailed Description

Deprecated: Use gtk.IconTheme instead.

Meta