Package: gtk

Function gtk:render-icon

Lambda List

gtk:render-icon (context cr pixbuf x y)

Arguments

context -- a gtk:style-context object
cr -- a cairo:context-t context
pixbuf -- a gdk-pixbuf:pixbuf object containing the icon to draw
x -- a number, coerced to a double float, with the x position for the pixbuf
y -- a number, coerced to a double float, with the y position for the pixbuf

Details

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

See also

#2023-3-27