Package: gtk

Function gtk-cell-renderer-render

Lambda List

gtk-cell-renderer-render (cell cr widget background area flags)

Arguments

cell -- a gtk-cell-renderer object
cr -- a cario-t context to draw to
widget -- a gtk-widget object owning window
background -- a gdk-rectangle instance with entire cell area including tree expanders and maybe padding on the sides
cell -- a gdk-rectangle instance with the area normally rendered by a cell renderer
flags -- the gtk-cell-renderer-state flags] that affect rendering

Details

Invokes the virtual render function of the cell renderer. The passed-in rectangles are areas in cr. Most renderers will draw within area. The xalign, yalign, xpad, and ypad fields of the cell renderer should be honored with respect to area. The argument background includes the blank space around the cell, and also the area containing the tree expander. So the background rectangles for all cells tile to cover the entire window.
 

See also

2021-3-7