gtk.CellRendererPixbuf — an object that
renders a pixbuf into a gtk.TreeView
cell
|
gtk.CellRendererPixbuf()
Returns : | the new cell renderer |
Creates a new gtk.CellRendererPixbuf
.
Rendering parameters are adjusted using the object properties. The object
properties can be set globally (with set_property
()gtk.TreeViewColumn
,
you can bind a property to a value in a gtk.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 gtk.TreeView
.