CellRenderer.render

Invokes the virtual render function of the GtkCellRenderer. The three passed-in rectangles are areas of window. Most renderers will draw within cell_area; the xalign, yalign, xpad, and ypad fields of the GtkCellRenderer should be honored with respect to cell_area. background_area includes the blank space around the cell, and also the area containing the tree expander; so the background_area rectangles for all cells tile to cover the entire window. expose_area is a clip rectangle.

Parameters

window Window

a GdkDrawable to draw to

widget Widget

the widget owning window

backgroundArea Rectangle

entire cell area (including tree expanders and maybe padding on the sides)

cellArea Rectangle

area normally rendered by a cell renderer

exposeArea Rectangle

area that actually needs updating

flags GtkCellRendererState

flags that affect rendering

Meta