renderIconPixbuf

Renders the icon specified by source at the given size, returning the result in a pixbuf.

Parameters

contexta #GtkStyleContext
sourcethe #GtkIconSource specifying the icon to render
sizethe size (#GtkIconSize) to render the icon at. A size of (GtkIconSize) -1 means render at the size of the source and don’t scale.

Returns

a newly-created #GdkPixbuf containing the rendered icon

Deprecated

Use [gtk.icon_theme.IconTheme.loadIcon] instead.