This file is indexed.

/usr/share/gtk-doc/html/pygtk/class-gtkscale.html is in python-gtk2-doc 2.24.0-4.

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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><title>gtk.Scale</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-gtkruler.html" title="gtk.Ruler"><link rel="next" href="class-gtkscalebutton.html" title="gtk.ScaleButton"></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.Scale</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="class-gtkruler.html">Prev</a> </td><th width="60%" align="center">The gtk Class Reference</th><td width="20%" align="right"> <a accesskey="n" href="class-gtkscalebutton.html">Next</a></td></tr></table><hr></div><div class="refentry" title="gtk.Scale"><a name="class-gtkscale"></a><div class="titlepage"></div><div class="refnamediv"><h2>gtk.Scale</h2><p>gtk.Scale — a base class for the scale widgets.</p></div><div class="refsect1" title="Synopsis"><a name="id3880787"></a><h2>Synopsis</h2><table bgcolor="#D0E0F0" width="100%"><tr><td><pre class="classsynopsis">class <span class="ooclass"><span class="classname">gtk.Scale</span></span>(<span class="ooclass"><span class="classname"><a class="link" href="class-gtkrange.html" title="gtk.Range">gtk.Range</a></span></span>):
<code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkscale.html#method-gtkscale--set-digits" title="gtk.Scale.set_digits">set_digits</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>digits</code></strong></span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkscale.html#method-gtkscale--get-digits" title="gtk.Scale.get_digits">get_digits</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkscale.html#method-gtkscale--set-draw-value" title="gtk.Scale.set_draw_value">set_draw_value</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>draw_value</code></strong></span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkscale.html#method-gtkscale--get-draw-value" title="gtk.Scale.get_draw_value">get_draw_value</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkscale.html#method-gtkscale--set-value-pos" title="gtk.Scale.set_value_pos">set_value_pos</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>pos</code></strong></span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkscale.html#method-gtkscale--get-value-pos" title="gtk.Scale.get_value_pos">get_value_pos</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkscale.html#method-gtkscale--get-layout" title="gtk.Scale.get_layout">get_layout</a></span>()</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkscale.html#method-gtkscale--get-layout-offsets" title="gtk.Scale.get_layout_offsets">get_layout_offsets</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkscale.html#method-gtkscale--add-mark" title="gtk.Scale.add_mark">add_mark</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>value</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>position</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>markup</code></strong></span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkscale.html#method-gtkscale--clear-marks" title="gtk.Scale.clear_marks">clear_marks</a></span>(<span class="methodparam"></span>)</code><br></pre></td></tr></table></div><div class="refsect1" title="Ancestry"><a name="id3881068"></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-gtkwidget.html" title="gtk.Widget">gtk.Widget</a>
      +-- <a class="link" href="class-gtkrange.html" title="gtk.Range">gtk.Range</a>
        +-- <a class="link" href="class-gtkscale.html" title="gtk.Scale">gtk.Scale</a>
</pre></div><div class="refsect1" title="Implemented Interfaces"><a name="id3881113"></a><h2>Implemented Interfaces</h2><p>
			<a class="link" href="class-gtkscale.html" title="gtk.Scale"><code class="classname">gtk.Scale</code></a>
			implements 
			<a class="link" href="class-gtkbuildable.html" title="gtk.Buildable"><code class="classname">gtk.Buildable</code></a>
		</p></div><div class="refsect1" title="gtk.Scale Properties"><a name="properties-gtkscale"></a><h2>gtk.Scale 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-gtkwidget.html#properties-gtkwidget" title="gtk.Widget Properties">gtk.Widget Properties</a></p><p><a class="link" href="class-gtkrange.html#properties-gtkrange" title="gtk.Range Properties">gtk.Range 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">"digits"</td><td valign="top">Read-Write</td><td valign="top">The number of decimal places that are displayed in the
value</td></tr><tr valign="top"><td valign="top">"draw-value"</td><td valign="top">Read-Write</td><td valign="top">If <code class="literal">True</code> the current value is
displayed as a string next to the slider</td></tr><tr valign="top"><td valign="top">"value-pos"</td><td valign="top">Read-Write</td><td valign="top">The position in which the current value is displayed:
<code class="literal">gtk.POS_LEFT</code>, <code class="literal">gtk.POS_RIGHT</code>,
<code class="literal">gtk.POS_TOP</code> or <code class="literal">gtk.POS_BOTTOM</code></td></tr></tbody></table></div></td></tr></table></div></div><div class="refsect1" title="gtk.Scale Style Properties"><a name="style-properties-gtkscale"></a><h2>gtk.Scale Style Properties</h2><p><a class="link" href="class-gtkwidget.html#style-properties-gtkwidget" title="gtk.Widget Style Properties">gtk.Widget Style Properties</a></p><p><a class="link" href="class-gtkrange.html#style-properties-gtkrange" title="gtk.Range Style Properties">gtk.Range Style 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">"slider-length"</td><td valign="top">Read</td><td valign="top">The length of scale's slider</td></tr><tr valign="top"><td valign="top">"value-spacing"</td><td valign="top">Read</td><td valign="top">The space between value text and the slider or trough
	      area</td></tr></tbody></table></div></td></tr></table></div></div><div class="refsect1" title="gtk.Scale Signal Prototypes"><a name="signal-prototypes-gtkscale"></a><h2>gtk.Scale 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-gtkwidget.html#signal-prototypes-gtkwidget" title="gtk.Widget Signal Prototypes">gtk.Widget Signal Prototypes</a></p><p><a class="link" href="class-gtkrange.html#signal-prototypes-gtkrange" title="gtk.Range Signal Prototypes">gtk.Range Signal Prototypes</a></p><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term">"<a class="link" href="class-gtkscale.html#signal-gtkscale--format-value" title='The "format-value" gtk.Scale Signal'>format-value</a>"</span></p></td><td><code class="methodsynopsis">    def <span class="methodname">callback</span>(<span class="methodparam"><span class="parameter"><em class="parameter"><code>scale</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>user_param1</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>...</code></em></span></span>)</code></td></tr></tbody></table></div><div class="refsect1" title="Description"><a name="id3881516"></a><h2>Description</h2><p>The <a class="link" href="class-gtkscale.html" title="gtk.Scale"><code class="classname">gtk.Scale</code></a> widget is
an abstract base class, used only for deriving the subclasses <a class="link" href="class-gtkhscale.html" title="gtk.HScale"><code class="classname">gtk.HScale</code></a> and <a class="link" href="class-gtkvscale.html" title="gtk.VScale"><code class="classname">gtk.VScale</code></a>. A <a class="link" href="class-gtkscale.html" title="gtk.Scale"><code class="classname">gtk.Scale</code></a> is a slider
control used to select a numeric value. Since <a class="link" href="class-gtkscale.html" title="gtk.Scale"><code class="classname">gtk.Scale</code></a> is a
subclass of <a class="link" href="class-gtkrange.html" title="gtk.Range"><code class="classname">gtk.Range</code></a>, see the
<a class="link" href="class-gtkrange.html" title="gtk.Range"><code class="classname">gtk.Range</code></a>
methods for additional methods. To set the value of a scale, you would
normally use <a class="link" href="class-gtkrange.html#method-gtkrange--set-value" title="gtk.Range.set_value"><code class="methodname">set_value</code>()</a>. 
To detect changes to the value, you would normally use the "value_changed"
signal.</p></div><div class="refsect1" title="Methods"><a name="id3881591"></a><h2>Methods</h2><div class="refsect2" title="gtk.Scale.set_digits"><a name="method-gtkscale--set-digits"></a><h3>gtk.Scale.set_digits</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">set_digits</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>digits</code></strong></span></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><strong class="parameter"><code>digits</code></strong> :</span></p></td><td>the number of decimal places to
display</td></tr></tbody></table><p>The <code class="methodname">set_digits</code>() method sets the
"digits" property to the value specified by <em class="parameter"><code>digits</code></em>.
The value of <em class="parameter"><code>digits</code></em> specifies the number of decimal
places that are displayed in the value. The value of the adjustment is also
rounded off to this number of digits if "draw-value" is
<code class="literal">True</code>, so the retrieved value matches the value the user
sees. If the "draw-value" property has been set to <code class="literal">False</code>
by using the <a class="link" href="class-gtkscale.html#method-gtkscale--set-draw-value" title="gtk.Scale.set_draw_value"><code class="methodname">set_draw_value</code>()</a>
method, the adjustment value will not be rounded at all.</p></div><div class="refsect2" title="gtk.Scale.get_digits"><a name="method-gtkscale--get-digits"></a><h3>gtk.Scale.get_digits</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">get_digits</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>the number of decimal places that are
displayed.</td></tr></tbody></table><p>The <code class="methodname">get_digits</code>() method returns the
value of the "digits" property that indicates the number of decimal places
that are displayed in the value.</p></div><div class="refsect2" title="gtk.Scale.set_draw_value"><a name="method-gtkscale--set-draw-value"></a><h3>gtk.Scale.set_draw_value</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">set_draw_value</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>draw_value</code></strong></span></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><strong class="parameter"><code>draw_value</code></strong> :</span></p></td><td>If <code class="literal">True</code> draw the current
value next to the slider</td></tr></tbody></table><p>The <code class="methodname">set_draw_value</code>() method sets the
"draw-value" property to the value specified by
<em class="parameter"><code>draw_value</code></em>. If <em class="parameter"><code>draw_value</code></em> is
<em class="parameter"><code>True</code></em> the current value is displayed next to the
slider.</p></div><div class="refsect2" title="gtk.Scale.get_draw_value"><a name="method-gtkscale--get-draw-value"></a><h3>gtk.Scale.get_draw_value</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">get_draw_value</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><code class="literal">True</code> if the current value is
to be drawn next to the slider</td></tr></tbody></table><p>The <code class="methodname">get_draw_value</code>() method returns the
value of the "draw-value" property. If "draw-value" is
<code class="literal">True</code> the current scale value is drawn next to the
slider.</p></div><div class="refsect2" title="gtk.Scale.set_value_pos"><a name="method-gtkscale--set-value-pos"></a><h3>gtk.Scale.set_value_pos</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">set_value_pos</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>pos</code></strong></span></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><strong class="parameter"><code>pos</code></strong> :</span></p></td><td>the position where the current value is
displayed.</td></tr></tbody></table><p>The <code class="methodname">set_value_pos</code>() method sets the
value of the "value-pos" property to the value specified by
<em class="parameter"><code>pos</code></em>. The value of <em class="parameter"><code>pos</code></em> must be
one of: <code class="literal">gtk.POS_LEFT</code>, <code class="literal">gtk.POS_RIGHT</code>,
<code class="literal">gtk.POS_TOP</code> or <code class="literal">gtk.POS_BOTTOM</code>.</p></div><div class="refsect2" title="gtk.Scale.get_value_pos"><a name="method-gtkscale--get-value-pos"></a><h3>gtk.Scale.get_value_pos</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">get_value_pos</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>the position where the current value is
displayed.</td></tr></tbody></table><p>The <code class="methodname">get_value_pos</code>() method returns the
value of the "value-pos" property. See the <a class="link" href="class-gtkscale.html#method-gtkscale--set-value-pos" title="gtk.Scale.set_value_pos"><code class="methodname">set_value_pos</code>()</a> 
method.</p></div><div class="refsect2" title="gtk.Scale.get_layout"><a name="method-gtkscale--get-layout"></a><h3>gtk.Scale.get_layout</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">get_layout</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>the <a class="link" href="class-pangolayout.html" title="pango.Layout"><code class="classname">pango.Layout</code></a>
	  for this scale or <code class="literal">None</code> if the draw_value
	  property is <code class="literal">False</code>.</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 method is available in PyGTK 2.4 and above.</p></div><p>The <code class="methodname">get_layout</code>() method returns the
<a class="link" href="class-pangolayout.html" title="pango.Layout"><code class="classname">pango.Layout</code></a>
used to display the scale.</p></div><div class="refsect2" title="gtk.Scale.get_layout_offsets"><a name="method-gtkscale--get-layout-offsets"></a><h3>gtk.Scale.get_layout_offsets</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">get_layout_offsets</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 2-tuple containing the coordinates where the
	  scale will draw the <a class="link" href="class-pangolayout.html" title="pango.Layout"><code class="classname">pango.Layout</code></a>
	  representing the text in the scale</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 method is available in PyGTK 2.4 and above.</p></div><p>The <code class="methodname">get_layout_offsets</code>() method returns
a 2-tuple containing the coordinates where the scale will draw the <a class="link" href="class-pangolayout.html" title="pango.Layout"><code class="classname">pango.Layout</code></a>
representing the text in the scale. Remember when using the <a class="link" href="class-pangolayout.html" title="pango.Layout"><code class="classname">pango.Layout</code></a>
function you need to convert to and from pixels using the <a class="link" href="class-pangofont.html#function-pango--PIXELS" title="pango.PIXELS"><code class="function">pango.PIXELS</code>()</a>
function or <code class="literal">pango.SCALE</code>. If the "draw-value" property is
<code class="literal">False</code>, the return values are undefined.</p></div><div class="refsect2" title="gtk.Scale.add_mark"><a name="method-gtkscale--add-mark"></a><h3>gtk.Scale.add_mark</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">add_mark</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>value</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>position</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>markup</code></strong></span></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><strong class="parameter"><code>value</code></strong> :</span></p></td><td>the value at which the mark is placed, must be between the lower and upper limits of the scales' adjustment.</td></tr><tr><td><p><span class="term"><strong class="parameter"><code>position</code></strong> :</span></p></td><td>where to draw the mark. For a horizontal scale, <code class="literal">gtk.POS_TOP</code> is drawn above the scale,
          anything else below. For a vertical scale, <code class="literal">gtk.POS_LEFT</code> is drawn to the left of the scale, anything else
          to the right.</td></tr><tr><td><p><span class="term"><strong class="parameter"><code>markup</code></strong> :</span></p></td><td>text to be shown at the mark, using <a class="link" href="pango-markup-language.html" title="The Pango Markup Language">Pango markup</a>, or <code class="literal">None</code>.</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 method is available in PyGTK 2.16 and above.</p></div><p>The <code class="methodname">add_mark</code>() method adds a mark at value.
      A mark is indicated visually by drawing a tick mark next to the scale, and GTK+
      makes it easy for the user to position the scale exactly at the marks value.
      If markup is not <code class="literal">None</code>, text is shown next to the tick mark.
      To remove marks from a scale, use <a class="link" href="class-gtkscale.html#method-gtkscale--clear-marks" title="gtk.Scale.clear_marks"><code class="methodname">clear_marks</code></a>().</p></div><div class="refsect2" title="gtk.Scale.clear_marks"><a name="method-gtkscale--clear-marks"></a><h3>gtk.Scale.clear_marks</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">clear_marks</span>(<span class="methodparam"></span>)</code></pre><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>This method is available in PyGTK 2.16 and above.</p></div><p>The <code class="methodname">clear_marks</code>() method removes any marks that have been
      added with <a class="link" href="class-gtkscale.html#method-gtkscale--add-mark" title="gtk.Scale.add_mark"><code class="methodname">add_mark</code></a>().</p></div></div><div class="refsect1" title="Signals"><a name="id3882563"></a><h2>Signals</h2><div class="refsect2" title='The "format-value" gtk.Scale Signal'><a name="signal-gtkscale--format-value"></a><h3>The "format-value" gtk.Scale Signal</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">callback</span>(<span class="methodparam"><span class="parameter"><em class="parameter"><code>scale</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>value</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>user_param1</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>...</code></em></span></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><em class="parameter"><code>scale</code></em> :</span></p></td><td>the scale that received the
signal</td></tr><tr><td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td><td>the value to be formatted</td></tr><tr><td><p><span class="term"><em class="parameter"><code>user_param1</code></em> :</span></p></td><td>the first user parameter (if any) specified
with the <PYGTKDOCLINK HREF="method-gobject--connect"><code class="methodname">connect</code>()</PYGTKDOCLINK>
method</td></tr><tr><td><p><span class="term"><em class="parameter"><code>...</code></em> :</span></p></td><td>additional user parameters (if
any)</td></tr><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td><td>a string representing
	  <em class="parameter"><code>value</code></em> for display</td></tr></tbody></table><p>The "format-value" signal is emitted when the scale is being
redrawn with a value displayed. The "format-value" signal handler should
return a formatted string containing <em class="parameter"><code>value</code></em>.</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-gtkruler.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-gtkscalebutton.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">gtk.Ruler </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> gtk.ScaleButton</td></tr></table></div></body></html>