1 <!-- ##### SECTION Title ##### -->
4 <!-- ##### SECTION Short_Description ##### -->
5 Renders a spin button in a cell
7 <!-- ##### SECTION Long_Description ##### -->
9 #GtkCellRendererSpin renders text in a cell like #GtkCellRendererText from
10 which it is derived. But while #GtkCellRendererText offers a simple entry to
11 edit the text, #GtkCellRendererSpin offers a #GtkSpinButton widget. Of course,
12 that means that the text has to be parseable as a floating point number.
16 The range of the spinbutton is taken from the adjustment property of the
17 cell renderer, which can be set explicitly or mapped to a column in the
18 tree model, like all properties of cell renders. #GtkCellRendererSpin
19 also has properties for the climb rate and the number of digits to
20 display. Other #GtkSpinButton properties can be set in a handler for the
25 The #GtkCellRendererSpin cell renderer was added in GTK+ 2.10.
28 <!-- ##### SECTION See_Also ##### -->
30 #GtkCellRendererText, #GtkSpinButton
33 <!-- ##### SECTION Stability_Level ##### -->
36 <!-- ##### STRUCT GtkCellRendererSpin ##### -->
43 <!-- ##### FUNCTION gtk_cell_renderer_spin_new ##### -->