Style.renderIcon

Renders the icon specified by source at the given size according to the given parameters and returns the result in a pixbuf.

More...

Parameters

source IconSource

the gtk.IconSource specifying the icon to render

direction GtkTextDirection

a text direction

state GtkStateType

a state

size GtkIconSize

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

widget Widget

the widget

detail string

a style detail

Return Value

Type: Pixbuf

a newly-created gdk.Pixbuf containing the rendered icon

Detailed Description

Deprecated: Use gtk_render_icon_pixbuf() instead