gtk2/docs/reference/gtk/tmpl/gtkcellrendererspin.sgml
Matthias Clasen 7447ef0fc2 Make 3.0 parallel-installable to 2.x
In particular, rename

  - libraries to lib*-3.0.so
  - pc files to *-3.0.pc
  - include paths to /usr/include/gtk-3.0/*
  - module paths to /usr/lib/gtk-3.0/*
  - rc files names to gtk-3.0/gtkrc
  - commandline utilities to *-3.0
  - adjust documentation

Also change the install location for unix-print headers to
/usr/include/gtk-3.0/unix-print/gtk.
2010-05-08 01:18:53 -04:00

69 lines
1.5 KiB
Plaintext

<!-- ##### SECTION Title ##### -->
GtkCellRendererSpin
<!-- ##### SECTION Short_Description ##### -->
Renders a spin button in a cell
<!-- ##### SECTION Long_Description ##### -->
<para>
#GtkCellRendererSpin renders text in a cell like #GtkCellRendererText from
which it is derived. But while #GtkCellRendererText offers a simple entry to
edit the text, #GtkCellRendererSpin offers a #GtkSpinButton widget. Of course,
that means that the text has to be parseable as a floating point number.
</para>
<para>
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 cell renders. #GtkCellRendererSpin
also has properties for the climb rate and the number of digits to
display. Other #GtkSpinButton properties can be set in a handler for the
start-editing signal.
</para>
<para>
The #GtkCellRendererSpin cell renderer was added in GTK+ 2.10.
</para>
<!-- ##### SECTION See_Also ##### -->
<para>
#GtkCellRendererText, #GtkSpinButton
</para>
<!-- ##### SECTION Stability_Level ##### -->
<!-- ##### SECTION Image ##### -->
<!-- ##### STRUCT GtkCellRendererSpin ##### -->
<para>
</para>
<!-- ##### ARG GtkCellRendererSpin:adjustment ##### -->
<para>
</para>
<!-- ##### ARG GtkCellRendererSpin:climb-rate ##### -->
<para>
</para>
<!-- ##### ARG GtkCellRendererSpin:digits ##### -->
<para>
</para>
<!-- ##### FUNCTION gtk_cell_renderer_spin_new ##### -->
<para>
</para>
@void:
@Returns: