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"
© manpagez.com 2000-2019 Individual documents may contain additional copyright information.