renderIcon

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

context gtk.style_context.StyleContext
cr cairo.context.Context
texture gdk.texture.Texture

a gdk.texture.Texture containing the icon to draw

x double

X position for the texture

y double

Y position for the texture