Extracted from Pike v7.8 release 866 at 2016-11-06.
pike.ida.liu.se
[Top]
GTK2
GTK2.CellRenderer

Method GTK2.CellRenderer()->render()


Method render

GTK2.CellRenderer render(GTK2.GdkWindow window, GTK2.Widget widget, GTK2.GdkRectangle background_area, GTK2.GdkRectangle cell_area, GTK2.GdkRectangle expose_area, int flags)

Description

Invokes the virtual render function of the W(CellRenderer). 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 W(CellRenderer) 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. flags is one of CELL_RENDERER_FOCUSED , CELL_RENDERER_INSENSITIVE , CELL_RENDERER_MODE_ACTIVATABLE , CELL_RENDERER_MODE_EDITABLE , CELL_RENDERER_MODE_INERT , CELL_RENDERER_PRELIT , CELL_RENDERER_SELECTED and CELL_RENDERER_SORTED .