~ubuntu-branches/ubuntu/raring/gtk+2.0/raring-proposed

« back to all changes in this revision

Viewing changes to docs/reference/gtk/tmpl/gtkcellrendererspin.sgml

  • Committer: Package Import Robot
  • Author(s): Sebastien Bacher
  • Date: 2012-02-06 22:03:26 UTC
  • mfrom: (1.14.12)
  • Revision ID: package-import@ubuntu.com-20120206220326-10d7cnkpdpbi9iox
Tags: 2.24.10-0ubuntu1
* New upstream version, dropped patches included in the new version
* debian/patches/090_logging_file_saves.patch:
  - improve the logging of saved filed, thanks Siegfried Gevatter 
    (lp: #920961)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<!-- ##### SECTION Title ##### -->
 
2
GtkCellRendererSpin
 
3
 
 
4
<!-- ##### SECTION Short_Description ##### -->
 
5
Renders a spin button in a cell
 
6
 
 
7
<!-- ##### SECTION Long_Description ##### -->
 
8
<para>
 
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.
 
13
</para>
 
14
 
 
15
<para>
 
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
 
21
start-editing signal.
 
22
</para>
 
23
 
 
24
<para>
 
25
The #GtkCellRendererSpin cell renderer was added in GTK+ 2.10.
 
26
</para>
 
27
 
 
28
<!-- ##### SECTION See_Also ##### -->
 
29
<para>
 
30
#GtkCellRendererText, #GtkSpinButton
 
31
</para>
 
32
 
 
33
<!-- ##### SECTION Stability_Level ##### -->
 
34
 
 
35
 
 
36
<!-- ##### SECTION Image ##### -->
 
37
 
 
38
 
 
39
<!-- ##### STRUCT GtkCellRendererSpin ##### -->
 
40
<para>
 
41
 
 
42
</para>
 
43
 
 
44
 
 
45
<!-- ##### ARG GtkCellRendererSpin:adjustment ##### -->
 
46
<para>
 
47
 
 
48
</para>
 
49
 
 
50
<!-- ##### ARG GtkCellRendererSpin:climb-rate ##### -->
 
51
<para>
 
52
 
 
53
</para>
 
54
 
 
55
<!-- ##### ARG GtkCellRendererSpin:digits ##### -->
 
56
<para>
 
57
 
 
58
</para>
 
59
 
 
60
<!-- ##### FUNCTION gtk_cell_renderer_spin_new ##### -->
 
61
<para>
 
62
 
 
63
</para>
 
64
 
 
65
@void: 
 
66
@Returns: 
 
67
 
 
68