gtk.CellRendererProgress — an object that renders numbers as progress bars in a gtk.TreeView
(new in PyGTK 2.6)
|
This object is available in PyGTK 2.6 and above.
The gtk.CellRendererProgress
manages the rendering of a number as a progress bar in a gtk.TreeView
cell.
gtk.CellRendererProgress()
Returns : | the new cell renderer |
This constructor is available in PyGTK 2.6 and above.
Creates a new gtk.CellRendererProgress
.
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 "text" property on the cell renderer to a
string value in the model, thus rendering a different string in each row of
the gtk.TreeView
.