Class GTK2.CellRendererPixbuf
- Description
Properties: GDK2.Pixbuf pixbuf GDK2.Pixbuf pixbuf-expander-closed GDK2.Pixbuf pixbuf-expander-open string stock-detail string stock-id int stock-size
- Inherit
CellRenderer
inherit GTK2.CellRenderer : CellRenderer
- 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).