~ubuntu-branches/ubuntu/trusty/rgtk2/trusty

« back to all changes in this revision

Viewing changes to man/GtkCellRendererSpin.Rd

  • Committer: Bazaar Package Importer
  • Author(s): Dirk Eddelbuettel
  • Date: 2010-11-03 11:35:46 UTC
  • mfrom: (1.3.7 upstream)
  • Revision ID: james.westby@ubuntu.com-20101103113546-a7fi7jdxdebp0tw1
Tags: 2.20.1-1
* New upstream release

* debian/control: Set (Build-)Depends: to current R version
* debian/control: Set Standards-Version: to current version 

Show diffs side-by-side

added added

removed removed

Lines of Context:
13
13
               +----GtkCellRenderer
14
14
                     +----GtkCellRendererText
15
15
                           +----GtkCellRendererSpin}}
16
 
\section{Detailed Description}{\verb{\link{GtkCellRendererSpin}} renders text in a cell like \verb{\link{GtkCellRendererText}} from 
17
 
which it is derived. But while \verb{\link{GtkCellRendererText}} offers a simple entry to 
18
 
edit the text, \verb{\link{GtkCellRendererSpin}} offers a \verb{\link{GtkSpinButton}} widget. Of course,
 
16
\section{Detailed Description}{\code{\link{GtkCellRendererSpin}} renders text in a cell like \code{\link{GtkCellRendererText}} from
 
17
which it is derived. But while \code{\link{GtkCellRendererText}} offers a simple entry to
 
18
edit the text, \code{\link{GtkCellRendererSpin}} offers a \code{\link{GtkSpinButton}} widget. Of course,
19
19
that means that the text has to be parseable as a floating point number.
20
20
  
21
21
The range of the spinbutton is taken from the adjustment property of the
22
 
cell renderer, which can be set explicitly or mapped to a column in the 
23
 
tree model, like all properties of cell renders. \verb{\link{GtkCellRendererSpin}}
 
22
cell renderer, which can be set explicitly or mapped to a column in the
 
23
tree model, like all properties of cell renders. \code{\link{GtkCellRendererSpin}}
24
24
also has properties for the climb rate and the number of digits to
25
 
display. Other \verb{\link{GtkSpinButton}} properties can be set in a handler for the
 
25
display. Other \code{\link{GtkSpinButton}} properties can be set in a handler for the
26
26
start-editing signal.
27
27
  
28
 
The \verb{\link{GtkCellRendererSpin}} cell renderer was added in GTK+ 2.10.}
 
28
The \code{\link{GtkCellRendererSpin}} cell renderer was added in GTK+ 2.10.}
29
29
\section{Structures}{\describe{\item{\verb{GtkCellRendererSpin}}{
30
30
\emph{undocumented
31
31
}
33
33
}}}
34
34
\section{Convenient Construction}{\code{gtkCellRendererSpin} is the equivalent of \code{\link{gtkCellRendererSpinNew}}.}
35
35
\section{Properties}{\describe{
36
 
\item{\verb{adjustment} [\verb{\link{GtkAdjustment}} : *        : Read / Write]}{
37
 
 
38
 
The adjustment that holds the value of the spinbutton. 
39
 
This must be non-\code{NULL} for the cell renderer to be editable.  
40
 
 
41
 
  Since  2.10
 
36
\item{\verb{adjustment} [\code{\link{GtkAdjustment}} : *        : Read / Write]}{
 
37
 
 
38
The adjustment that holds the value of the spinbutton.
 
39
This must be non-\code{NULL} for the cell renderer to be editable.
 
40
  Since 2.10
42
41
 
43
42
}
44
43
\item{\verb{climb-rate} [numeric : Read / Write]}{
45
44
 
46
 
The acceleration rate when you hold down a button.  
47
 
 
48
 
  Allowed values: >= 0  Default value: 0  Since  2.10
 
45
The acceleration rate when you hold down a button.
 
46
  Allowed values: >= 0  Default value: 0  Since 2.10
49
47
 
50
48
}
51
49
\item{\verb{digits} [numeric : Read / Write]}{
52
50
 
53
 
The number of decimal places to display.  
54
 
 
55
 
  Allowed values: <= 20  Default value: 0  Since  2.10
 
51
The number of decimal places to display.
 
52
  Allowed values: <= 20  Default value: 0  Since 2.10
56
53
 
57
54
}
58
55
}}
59
 
\references{\url{http://developer.gnome.org/doc/API/2.0/gtk/GtkCellRendererSpin.html}}
 
56
\references{\url{http://library.gnome.org/devel//gtk/GtkCellRendererSpin.html}}
60
57
\author{Derived by RGtkGen from GTK+ documentation}
61
58
\seealso{
62
 
\verb{\link{GtkCellRendererText}}
63
 
\verb{\link{GtkSpinButton}}
 
59
\code{\link{GtkCellRendererText}}
 
60
\code{\link{GtkSpinButton}}
64
61
}
65
62
\keyword{internal}