StyleContext.renderIcon

Renders the icon in @pixbuf at the specified @x and @y coordinates.

class StyleContext
static
void
renderIcon

Parameters

context StyleContext

a #GtkStyleContext

cr Context

a #cairo_t

pixbuf Pixbuf

a #GdkPixbuf containing the icon to draw

x double

X position for the @pixbuf

y double

Y position for the @pixbuf

Meta