gtk.CellRendererPixbuf — an object that
renders a pixbuf into a
gtk.TreeView
cell
Constructor
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
()).
Also, with 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
.