73
73
>GimpUnit</a> <a class="link" href="GimpRuler.html#gimp-ruler-get-unit" title="gimp_ruler_get_unit ()">gimp_ruler_get_unit</a> (<a class="link" href="GimpRuler.html" title="GimpRuler">GimpRuler</a> *ruler);
74
74
void <a class="link" href="GimpRuler.html#gimp-ruler-set-position" title="gimp_ruler_set_position ()">gimp_ruler_set_position</a> (<a class="link" href="GimpRuler.html" title="GimpRuler">GimpRuler</a> *ruler,
76
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
76
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"
77
77
>gdouble</a> position);
79
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
79
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"
80
80
>gdouble</a> <a class="link" href="GimpRuler.html#gimp-ruler-get-position" title="gimp_ruler_get_position ()">gimp_ruler_get_position</a> (<a class="link" href="GimpRuler.html" title="GimpRuler">GimpRuler</a> *ruler);
81
81
void <a class="link" href="GimpRuler.html#gimp-ruler-set-range" title="gimp_ruler_set_range ()">gimp_ruler_set_range</a> (<a class="link" href="GimpRuler.html" title="GimpRuler">GimpRuler</a> *ruler,
83
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
83
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"
84
84
>gdouble</a> lower,
86
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
86
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"
87
87
>gdouble</a> upper,
89
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
89
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"
90
90
>gdouble</a> max_size);
91
91
void <a class="link" href="GimpRuler.html#gimp-ruler-get-range" title="gimp_ruler_get_range ()">gimp_ruler_get_range</a> (<a class="link" href="GimpRuler.html" title="GimpRuler">GimpRuler</a> *ruler,
93
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
93
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"
94
94
>gdouble</a> *lower,
96
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
96
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"
97
97
>gdouble</a> *upper,
99
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
99
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"
100
100
>gdouble</a> *max_size);
104
104
<a name="GimpRuler.object-hierarchy"></a><h2>Object Hierarchy</h2>
105
105
<pre class="synopsis">
107
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"
107
href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"
110
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned"
110
href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GInitiallyUnowned"
111
111
>GInitiallyUnowned</a>
113
113
href="/usr/share/gtk-doc/html/gtk/GtkObject.html"
130
130
<a name="GimpRuler.properties"></a><h2>Properties</h2>
131
131
<pre class="synopsis">
132
132
"<a class="link" href="GimpRuler.html#GimpRuler--lower" title='The "lower" property'>lower</a>" <a
133
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
133
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"
134
134
>gdouble</a> : Read / Write
135
135
"<a class="link" href="GimpRuler.html#GimpRuler--max-size" title='The "max-size" property'>max-size</a>" <a
136
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
136
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"
137
137
>gdouble</a> : Read / Write
138
138
"<a class="link" href="GimpRuler.html#GimpRuler--orientation" title='The "orientation" property'>orientation</a>" <a
139
139
href="/usr/share/gtk-doc/html/gtk/gtk-Standard-Enumerations.html#GtkOrientation"
140
140
>GtkOrientation</a> : Read / Write
141
141
"<a class="link" href="GimpRuler.html#GimpRuler--position" title='The "position" property'>position</a>" <a
142
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
142
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"
143
143
>gdouble</a> : Read / Write
144
144
"<a class="link" href="GimpRuler.html#GimpRuler--unit" title='The "unit" property'>unit</a>" <a
145
145
href="../libgimpbase/libgimpbase-gimpunit.html#GimpUnit"
146
146
>GimpUnit</a> : Read / Write
147
147
"<a class="link" href="GimpRuler.html#GimpRuler--upper" title='The "upper" property'>upper</a>" <a
148
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
148
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"
149
149
>gdouble</a> : Read / Write
153
153
<a name="GimpRuler.style-properties"></a><h2>Style Properties</h2>
154
154
<pre class="synopsis">
155
155
"<a class="link" href="GimpRuler.html#GimpRuler--font-scale" title='The "font-scale" style property'>font-scale</a>" <a
156
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
156
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"
157
157
>gdouble</a> : Read
267
267
<a name="gimp-ruler-set-position"></a><h3>gimp_ruler_set_position ()</h3>
268
268
<pre class="programlisting">void gimp_ruler_set_position (<a class="link" href="GimpRuler.html" title="GimpRuler">GimpRuler</a> *ruler,
270
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
270
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"
271
271
>gdouble</a> position);</pre>
273
273
This sets the position of the ruler.</p>
296
296
<div class="refsect2" lang="en">
297
297
<a name="gimp-ruler-get-position"></a><h3>gimp_ruler_get_position ()</h3>
298
298
<pre class="programlisting"><a
299
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
299
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"
300
300
>gdouble</a> gimp_ruler_get_position (<a class="link" href="GimpRuler.html" title="GimpRuler">GimpRuler</a> *ruler);</pre>
327
327
<a name="gimp-ruler-set-range"></a><h3>gimp_ruler_set_range ()</h3>
328
328
<pre class="programlisting">void gimp_ruler_set_range (<a class="link" href="GimpRuler.html" title="GimpRuler">GimpRuler</a> *ruler,
330
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
330
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"
331
331
>gdouble</a> lower,
333
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
333
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"
334
334
>gdouble</a> upper,
336
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
336
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"
337
337
>gdouble</a> max_size);</pre>
339
339
This sets the range of the ruler.</p>
374
374
<a name="gimp-ruler-get-range"></a><h3>gimp_ruler_get_range ()</h3>
375
375
<pre class="programlisting">void gimp_ruler_get_range (<a class="link" href="GimpRuler.html" title="GimpRuler">GimpRuler</a> *ruler,
377
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
377
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"
378
378
>gdouble</a> *lower,
380
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
380
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"
381
381
>gdouble</a> *upper,
383
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
383
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"
384
384
>gdouble</a> *max_size);</pre>
386
386
Retrieves values indicating the range and current position of a <a class="link" href="GimpRuler.html" title="GimpRuler"><span class="type">GimpRuler</span></a>.
400
400
<td><p><span class="term"><em class="parameter"><code>lower</code></em> :</span></p></td>
401
401
<td> location to store lower limit of the ruler, or <a
402
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"
402
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"
403
403
><code class="literal">NULL</code></a>
407
407
<td><p><span class="term"><em class="parameter"><code>upper</code></em> :</span></p></td>
408
408
<td> location to store upper limit of the ruler, or <a
409
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"
409
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"
410
410
><code class="literal">NULL</code></a>
414
414
<td><p><span class="term"><em class="parameter"><code>max_size</code></em> :</span></p></td>
415
415
<td> location to store the maximum size of the ruler used when
416
416
calculating the space to leave for the text, or <a
417
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"
417
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"
418
418
><code class="literal">NULL</code></a>.
429
429
<div class="refsect2" lang="en">
430
430
<a name="GimpRuler--lower"></a><h3>The <code class="literal">"lower"</code> property</h3>
431
431
<pre class="programlisting"> "lower" <a
432
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
432
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"
433
433
>gdouble</a> : Read / Write</pre>
434
434
<p>Lower limit of ruler.</p>
435
435
<p>Default value: 0</p>
438
438
<div class="refsect2" lang="en">
439
439
<a name="GimpRuler--max-size"></a><h3>The <code class="literal">"max-size"</code> property</h3>
440
440
<pre class="programlisting"> "max-size" <a
441
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
441
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"
442
442
>gdouble</a> : Read / Write</pre>
443
443
<p>Maximum size of the ruler.</p>
444
444
<p>Default value: 0</p>
456
456
<div class="refsect2" lang="en">
457
457
<a name="GimpRuler--position"></a><h3>The <code class="literal">"position"</code> property</h3>
458
458
<pre class="programlisting"> "position" <a
459
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
459
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"
460
460
>gdouble</a> : Read / Write</pre>
461
461
<p>Position of mark on the ruler.</p>
462
462
<p>Default value: 0</p>
475
475
<div class="refsect2" lang="en">
476
476
<a name="GimpRuler--upper"></a><h3>The <code class="literal">"upper"</code> property</h3>
477
477
<pre class="programlisting"> "upper" <a
478
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
478
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"
479
479
>gdouble</a> : Read / Write</pre>
480
480
<p>Upper limit of ruler.</p>
481
481
<p>Default value: 0</p>
486
486
<div class="refsect2" lang="en">
487
487
<a name="GimpRuler--font-scale"></a><h3>The <code class="literal">"font-scale"</code> style property</h3>
488
488
<pre class="programlisting"> "font-scale" <a
489
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
489
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"
490
490
>gdouble</a> : Read</pre>
492
492
<p>Allowed values: >= 0</p>