renderIcon

fnvoid renderIcon(gtk.style_context.StyleContext context, cairo.context.Context cr, gdk.texture.Texture texture, double x, double y)

Renders the icon in texture at the specified x and y coordinates.

This function will render the icon in texture at exactly its size, regardless of scaling factors, which may not be appropriate when drawing on displays with high pixel densities.

Parameters

contexta [gtk.style_context.StyleContext]
cra [cairo.context.Context]
texturea [gdk.texture.Texture] containing the icon to draw
xX position for the texture
yY position for the texture