/usr/share/gtk-doc/html/pygtk/class-gtkcellrendererspin.html is in python-gtk2-doc 2.24.0-5.1ubuntu2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 | <html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><title>gtk.CellRendererSpin</title><link rel="stylesheet" href="style.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="PyGTK 2.0 Reference Manual"><link rel="up" href="gtk-class-reference.html" title="The gtk Class Reference"><link rel="prev" href="class-gtkcellrendererprogress.html" title="gtk.CellRendererProgress"><link rel="next" href="class-gtkcellrendererspinner.html" title="gtk.CellRendererSpinner"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">gtk.CellRendererSpin</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="class-gtkcellrendererprogress.html">Prev</a> </td><th width="60%" align="center">The gtk Class Reference</th><td width="20%" align="right"> <a accesskey="n" href="class-gtkcellrendererspinner.html">Next</a></td></tr></table><hr></div><div class="refentry" title="gtk.CellRendererSpin"><a name="class-gtkcellrendererspin"></a><div class="titlepage"></div><div class="refnamediv"><h2>gtk.CellRendererSpin</h2><p>gtk.CellRendererSpin — an object that renders a spin button in a cell (new in
PyGTK 2.10)</p></div><div class="refsect1" title="Synopsis"><a name="id3634445"></a><h2>Synopsis</h2><table bgcolor="#D0E0F0" width="100%"><tr><td><pre class="classsynopsis">class <span class="ooclass"><span class="classname">gtk.CellRendererSpin</span></span>(<span class="ooclass"><span class="classname"><a class="link" href="class-gtkcellrenderertext.html" title="gtk.CellRendererText">gtk.CellRendererText</a></span></span>):
<code class="constructorsynopsis"> <span class="methodname"><a class="link" href="class-gtkcellrendererspin.html#constructor-gtkcellrendererspin" title="gtk.CellRendererSpin">gtk.CellRendererSpin</a></span>(<span class="methodparam"></span>)</code><br></pre></td></tr></table></div><div class="refsect1" title="Ancestry"><a name="id3634488"></a><h2>Ancestry</h2><pre class="synopsis">+-- <PYGTKDOCLINK HREF="class-gobject">gobject.GObject</PYGTKDOCLINK>
+-- <a class="link" href="class-gtkobject.html" title="gtk.Object">gtk.Object</a>
+-- <a class="link" href="class-gtkcellrenderer.html" title="gtk.CellRenderer">gtk.CellRenderer</a>
+-- <a class="link" href="class-gtkcellrenderertext.html" title="gtk.CellRendererText">gtk.CellRendererText</a>
+-- <a class="link" href="class-gtkcellrendererspin.html" title="gtk.CellRendererSpin">gtk.CellRendererSpin</a>
</pre></div><div class="refsect1" title="gtk.CellRendererSpin Properties"><a name="properties-gtkcellrendererspin"></a><h2>gtk.CellRendererSpin Properties</h2><p><a class="link" href="class-gtkobject.html#properties-gtkobject" title="gtk.Object Properties">gtk.Object Properties</a></p><p><a class="link" href="class-gtkcellrenderer.html#properties-gtkcellrenderer" title="gtk.CellRenderer Properties">gtk.CellRenderer Properties</a></p><p><a class="link" href="class-gtkcellrenderertext.html#properties-gtkcellrenderertext" title="gtk.CellRendererText Properties">gtk.CellRendererText Properties</a></p><div class="blockquote"><table width="100%" border="0" bgcolor="#E0E0E0"><tr><td valign="top"><div class="informaltable"><table width="100%" border="0"><colgroup><col width="1in"><col width="1in"><col width="4in"></colgroup><tbody><tr valign="top"><td valign="top">"adjustment"</td><td valign="top">Read-Write</td><td valign="top">The <a class="link" href="class-gtkadjustment.html" title="gtk.Adjustment"><code class="classname">gtk.Adjustment</code></a>
that holds the value of the spinbutton. This must be non-None
for the cell renderer to be editable. Default value:
None. Available in GTK+ 2.10 and above.</td></tr><tr valign="top"><td valign="top">"climb-rate"</td><td valign="top">Read-Write</td><td valign="top">The acceleration rate when you hold down a
button. Range: [0.0,MAXDOUBLE]. Default value: 0.0. Available
in GTK+ 2.10 and above.</td></tr><tr valign="top"><td valign="top">"digits"</td><td valign="top">Read-Write</td><td valign="top">The number of decimal places to display. Range:
[0,20]. Default value: 0. Available in GTK+ 2.10 and
above.</td></tr></tbody></table></div></td></tr></table></div></div><div class="refsect1" title="gtk.CellRendererSpin Signal Prototypes"><a name="signal-prototypes-gtkcellrendererspin"></a><h2>gtk.CellRendererSpin Signal Prototypes</h2><p><PYGTKDOCLINK HREF="signal-prototypes-gobject">gobject.GObject Signal Prototypes</PYGTKDOCLINK></p><p><a class="link" href="class-gtkobject.html#signal-prototypes-gtkobject" title="gtk.Object Signal Prototypes">gtk.Object Signal Prototypes</a></p><p><a class="link" href="class-gtkcellrenderer.html#signal-prototypes-gtkcellrenderer" title="gtk.CellRenderer Signal Prototypes">gtk.CellRenderer Signal Prototypes</a></p><p><a class="link" href="class-gtkcellrenderertext.html#signal-prototypes-gtkcellrenderertext" title="gtk.CellRendererText Signal Prototypes">gtk.CellRendererText Signal Prototypes</a></p></div><div class="refsect1" title="Description"><a name="id3634684"></a><h2>Description</h2><p><a class="link" href="class-gtkcellrendererspin.html" title="gtk.CellRendererSpin"><code class="classname">gtk.CellRendererSpin</code></a>
renders text in a cell like <a class="link" href="class-gtkcellrenderertext.html" title="gtk.CellRendererText"><code class="classname">gtk.CellRendererText</code></a>
from which it is derived. But while <a class="link" href="class-gtkcellrenderertext.html" title="gtk.CellRendererText"><code class="classname">gtk.CellRendererText</code></a>
offers a simple entry to edit the text, <a class="link" href="class-gtkcellrendererspin.html" title="gtk.CellRendererSpin"><code class="classname">gtk.CellRendererSpin</code></a>
offers a <a class="link" href="class-gtkspinbutton.html" title="gtk.SpinButton"><code class="classname">gtk.SpinButton</code></a>
widget. Of course, that means that the text has to be parseable as a
floating point number.</p><p>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. <a class="link" href="class-gtkcellrendererspin.html" title="gtk.CellRendererSpin"><code class="classname">gtk.CellRendererSpin</code></a>
also has properties for the "climb-rate" and the number of "digits" to
display. Other <a class="link" href="class-gtkspinbutton.html" title="gtk.SpinButton"><code class="classname">gtk.SpinButton</code></a>
properties can be set in a handler for the "<a class="link" href="class-gtkcellrenderer.html#signal-gtkcellrenderer--editing-started" title='The "editing-started" gtk.CellRenderer Signal'>gtk.CellRenderer.editing-started</a>"
signal. </p></div><div class="refsect1" title="Constructor"><a name="id3634754"></a><h2>Constructor</h2><div class="refsect2" title="gtk.CellRendererSpin"><a name="constructor-gtkcellrendererspin"></a><h3>gtk.CellRendererSpin</h3><pre class="programlisting"><code class="constructorsynopsis"> <span class="methodname">gtk.CellRendererSpin</span>(<span class="methodparam"></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td><td>a new <a class="link" href="class-gtkcellrendererspin.html" title="gtk.CellRendererSpin"><code class="classname">gtk.CellRendererSpin</code></a></td></tr></tbody></table><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>This constructor is available in PyGTK 2.10 and above.</p></div><p>Creates a new <a class="link" href="class-gtkcellrendererspin.html" title="gtk.CellRendererSpin"><code class="classname">gtk.CellRendererSpin</code></a>.</p></div></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="class-gtkcellrendererprogress.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="gtk-class-reference.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="class-gtkcellrendererspinner.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">gtk.CellRendererProgress </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> gtk.CellRendererSpinner</td></tr></table></div></body></html>
|