snapshot

open fun snapshot(snapshot: Snapshot, widget: Widget, backgroundArea: <Error class: unknown class>, cellArea: <Error class: unknown class>, flags: CellRendererState)

Invokes the virtual render function of the GtkCellRenderer. The three passed-in rectangles are areas in @cr. Most renderers will draw within

Parameters

snapshot

a GtkSnapshot to draw to

widget

the widget owning @window

backgroundArea

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

cellArea

area normally rendered by a cell renderer

flags

flags that affect rendering