gtk.CellRendererSpinner — an object that renders a spinning animation in a cell (new in PyGTK 2.22)
gtk.CellRendererText Properties
|
gtk.CellRendererSpinner
renders a spinning
animation in a cell, very similar to gtk.Spinner
. It can
often be used as an alternative to a gtk.CellRendererProgress
for displaying indefinite activity, instead of actual progress.
To start the animation in a cell, set the "active" property to True
and increment the "pulse" property
at regular intervals. The usual way to set the cell renderer properties for each cell is to bind them to columns in your tree
model using e.g. gtk.TreeViewColumn.add_attribute
().
gtk.CellRendererSpinner()
Returns : | a new gtk.CellRendererSpinner |
This constructor is available in PyGTK 2.22 and above.
Creates a new gtk.CellRendererSpinner
.