gtk.CellRendererSpin — an object that renders a spin button in a cell (new in PyGTK 2.10)
gobject.GObject+-- gtk.Object +-- gtk.CellRenderer +-- gtk.CellRendererText +-- gtk.CellRendererSpin
renders text in a cell like
from which it is derived. But while
offers a simple entry to edit the text,
widget. Of course, that means that the text has to be parseable as a
floating point number.
The range of the spinbutton is taken from the "adjustment"
property of the cell renderer, which can be set explicitly or mapped to
a column in the tree model. Like all properties of cellrenderers.
also has properties for the "climb-rate" and the number of "digits" to
properties can be set in a handler for the "gtk.CellRenderer.editing-started"