Gtk.Style::render_icon
function vfunc_render_icon(source:Gtk.IconSource, direction:Gtk.TextDirection, state:Gtk.StateType, size:Number, widget:Gtk.Widget, detail:String):GdkPixbuf.Pixbuf { }
Renders the icon specified by source at the given size according to the given parameters and returns the result in a pixbuf.
- source
the Gtk.IconSource specifying the icon to render
- direction
a text direction
- state
a state
- size
the size to render the icon at. 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.Pixbuf containing the rendered icon