[Top]
GTK2
GTK2.CellRendererPixbuf
|
Method GTK2.CellRendererPixbuf()->create()
- Method
create
GTK2.CellRendererPixbuf GTK2.CellRendererPixbuf(mapping|void props)
- Description
Creates a new W(CellRendererPixbuf). Adjust rendering parameters using
object properties. Object properties can be set globally with
G.Object->set(). Also, with W(TreeViewColumn), you can bind a property
to a value in a W(TreeModel). For example, you can bind the "pixbuf"
property on the cell renderer to a pixbuf value in the model, thus
rendering a different image in each row of the W(TreeView).
|