Package: gtk

Function gtk:cell-renderer-snapshot

Lambda List

gtk:cell-renderer-snapshot (cell snapshot widget background area flags)

Arguments

cell -- a gtk:cell-renderer object
snapshot -- a gtk:snapshot object to draw to
widget -- a gtk:widget widget owning window
background -- a gdk:rectangle instance with the entire cell area, including tree expanders and maybe padding on the sides
area -- a gdk:rectangle instance with the area normally rendered by a cell renderer
flags -- a gtk:cell-renderer-state value that affect rendering

Details

Invokes the virtual render function of the cell renderer. The three passed-in rectangles are areas in the Cairo context. Most renderers will draw within area. The xalign, yalign, xpad, and ypad properties of the gtk:cell-renderer object should be honored with respect to area. The background argument 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

#2024-5-15