StyleContext.renderIconPixbuf

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

More...
class StyleContext
static
renderIconPixbuf

Parameters

context StyleContext

a #GtkStyleContext

source IconSource

the #GtkIconSource specifying the icon to render

size GtkIconSize

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

Return: a newly-created #GdkPixbuf containing the rendered icon

Detailed Description

Deprecated: Use gtk_icon_theme_load_icon() instead.

Meta