[49b41a]: doc-pak / docs / reference / html / GtkDataboxRuler.html Maximize Restore History

Download this file

GtkDataboxRuler.html    497 lines (479 with data), 23.6 kB

  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
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>GtkDataboxRuler</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.73.2">
<link rel="start" href="index.html" title="GtkDatabox Reference Manual">
<link rel="up" href="ch01.html" title="GtkDatabox">
<link rel="prev" href="GtkDataboxCrossSimple.html" title="GtkDataboxCrossSimple">
<link rel="next" href="GtkDataboxMarkers.html" title="GtkDataboxMarkers">
<meta name="generator" content="GTK-Doc V1.10 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
<link rel="chapter" href="ch01.html" title="GtkDatabox">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
<tr valign="middle">
<td><a accesskey="p" href="GtkDataboxCrossSimple.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="ch01.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
<th width="100%" align="center">GtkDatabox Reference Manual</th>
<td><a accesskey="n" href="GtkDataboxMarkers.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts"><nobr><a href="#GtkDataboxRuler.synopsis" class="shortcut">Top</a>
��|��
<a href="#GtkDataboxRuler.description" class="shortcut">Description</a>
��|��
<a href="#GtkDataboxRuler.object-hierarchy" class="shortcut">Object Hierarchy</a>
��|��
<a href="#GtkDataboxRuler.implemented-interfaces" class="shortcut">Implemented Interfaces</a>
��|��
<a href="#GtkDataboxRuler.properties" class="shortcut">Properties</a></nobr></td></tr>
</table>
<div class="refentry" lang="en">
<a name="GtkDataboxRuler"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="GtkDataboxRuler.top_of_page"></a>GtkDataboxRuler</span></h2>
<p>GtkDataboxRuler ��� An improved version of the <a
href="/usr/share/gtk-doc/html/gtk/GtkRuler.html"
><span class="type">GtkRuler</span></a>.</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv">
<a name="GtkDataboxRuler.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis">
#include &lt;gtkdatabox_ruler.h&gt;
#define <a class="link" href="GtkDataboxRuler.html#GTK-DATABOX-RULER-MAX-MAX-LENGTH:CAPS" title="GTK_DATABOX_RULER_MAX_MAX_LENGTH">GTK_DATABOX_RULER_MAX_MAX_LENGTH</a>
<a class="link" href="GtkDataboxRuler.html#GtkDataboxRulerPrivate" title="GtkDataboxRulerPrivate">GtkDataboxRulerPrivate</a>;
<a class="link" href="GtkDataboxRuler.html#GtkDataboxRuler-struct" title="GtkDataboxRuler">GtkDataboxRuler</a>;
<a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>* <a class="link" href="GtkDataboxRuler.html#gtk-databox-ruler-new" title="gtk_databox_ruler_new ()">gtk_databox_ruler_new</a> (<a
href="/usr/share/gtk-doc/html/gtk/gtk-Standard-Enumerations.html#GtkOrientation"
>GtkOrientation</a> orientation);
void <a class="link" href="GtkDataboxRuler.html#gtk-databox-ruler-set-range" title="gtk_databox_ruler_set_range ()">gtk_databox_ruler_set_range</a> (<a class="link" href="GtkDataboxRuler.html" title="GtkDataboxRuler">GtkDataboxRuler</a> *ruler,
gdouble lower,
gdouble upper,
gdouble position);
void <a class="link" href="GtkDataboxRuler.html#gtk-databox-ruler-set-max-length" title="gtk_databox_ruler_set_max_length ()">gtk_databox_ruler_set_max_length</a> (<a class="link" href="GtkDataboxRuler.html" title="GtkDataboxRuler">GtkDataboxRuler</a> *ruler,
guint max_length);
void <a class="link" href="GtkDataboxRuler.html#gtk-databox-ruler-set-scale-type" title="gtk_databox_ruler_set_scale_type ()">gtk_databox_ruler_set_scale_type</a> (<a class="link" href="GtkDataboxRuler.html" title="GtkDataboxRuler">GtkDataboxRuler</a> *ruler,
guint scale_type);
void <a class="link" href="GtkDataboxRuler.html#gtk-databox-ruler-get-range" title="gtk_databox_ruler_get_range ()">gtk_databox_ruler_get_range</a> (<a class="link" href="GtkDataboxRuler.html" title="GtkDataboxRuler">GtkDataboxRuler</a> *ruler,
gdouble *lower,
gdouble *upper,
gdouble *position);
guint <a class="link" href="GtkDataboxRuler.html#gtk-databox-ruler-get-max-length" title="gtk_databox_ruler_get_max_length ()">gtk_databox_ruler_get_max_length</a> (<a class="link" href="GtkDataboxRuler.html" title="GtkDataboxRuler">GtkDataboxRuler</a> *ruler);
<a class="link" href="gtkdatabox-gtkdatabox-scale.html#GtkDataboxScaleType" title="enum GtkDataboxScaleType">GtkDataboxScaleType</a> <a class="link" href="GtkDataboxRuler.html#gtk-databox-ruler-get-scale-type" title="gtk_databox_ruler_get_scale_type ()">gtk_databox_ruler_get_scale_type</a> (<a class="link" href="GtkDataboxRuler.html" title="GtkDataboxRuler">GtkDataboxRuler</a> *ruler);
void <a class="link" href="GtkDataboxRuler.html#gtk-databox-ruler-set-orientation" title="gtk_databox_ruler_set_orientation ()">gtk_databox_ruler_set_orientation</a> (<a class="link" href="GtkDataboxRuler.html" title="GtkDataboxRuler">GtkDataboxRuler</a> *ruler,
<a
href="/usr/share/gtk-doc/html/gtk/gtk-Standard-Enumerations.html#GtkOrientation"
>GtkOrientation</a> orientation);
<a
href="/usr/share/gtk-doc/html/gtk/gtk-Standard-Enumerations.html#GtkOrientation"
>GtkOrientation</a> <a class="link" href="GtkDataboxRuler.html#gtk-databox-ruler-get-orientation" title="gtk_databox_ruler_get_orientation ()">gtk_databox_ruler_get_orientation</a> (<a class="link" href="GtkDataboxRuler.html" title="GtkDataboxRuler">GtkDataboxRuler</a> *ruler);
</pre>
</div>
<div class="refsect1" lang="en">
<a name="GtkDataboxRuler.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
GObject
+----GInitiallyUnowned
+----<a
href="/usr/share/gtk-doc/html/gtk/GtkObject.html"
>GtkObject</a>
+----<a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>
+----GtkDataboxRuler
</pre>
</div>
<div class="refsect1" lang="en">
<a name="GtkDataboxRuler.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
<p>
GtkDataboxRuler implements
AtkImplementorIface and <a
href="/usr/share/gtk-doc/html/gtk/gtk-gtkbuildable.html#GtkBuildable"
>GtkBuildable</a>.</p>
</div>
<div class="refsect1" lang="en">
<a name="GtkDataboxRuler.properties"></a><h2>Properties</h2>
<pre class="synopsis">
"<a class="link" href="GtkDataboxRuler.html#GtkDataboxRuler--lower" title='The "lower" property'>lower</a>" gdouble : Read / Write
"<a class="link" href="GtkDataboxRuler.html#GtkDataboxRuler--max-length" title='The "max-length" property'>max-length</a>" guint : Read / Write
"<a class="link" href="GtkDataboxRuler.html#GtkDataboxRuler--orientation" title='The "orientation" property'>orientation</a>" guint : Read / Write / Construct Only
"<a class="link" href="GtkDataboxRuler.html#GtkDataboxRuler--position" title='The "position" property'>position</a>" gdouble : Read / Write
"<a class="link" href="GtkDataboxRuler.html#GtkDataboxRuler--upper" title='The "upper" property'>upper</a>" gdouble : Read / Write
</pre>
</div>
<div class="refsect1" lang="en">
<a name="GtkDataboxRuler.description"></a><h2>Description</h2>
<p>
<a class="link" href="GtkDataboxRuler.html" title="GtkDataboxRuler"><span class="type">GtkDataboxRuler</span></a> is a widget for the GTK+ library similar to GtkRuler.
</p>
<p>
It is improved in several ways:
</p>
<p>
</p>
<div class="itemizedlist"><ul type="disc">
<li><p>
It supports linear and logarithmic scales.
</p></li>
<li><p>
In the vertical orientation, the labels are rotated 90�� (instead of being written
as a vertical column of horizontal characters). This increases readability.
</p></li>
<li><p>
It works for very small and very large value ranges.
</p></li>
</ul></div>
<p>
</p>
</div>
<div class="refsect1" lang="en">
<a name="GtkDataboxRuler.details"></a><h2>Details</h2>
<div class="refsect2" lang="en">
<a name="GTK-DATABOX-RULER-MAX-MAX-LENGTH:CAPS"></a><h3>GTK_DATABOX_RULER_MAX_MAX_LENGTH</h3>
<pre class="programlisting">#define GTK_DATABOX_RULER_MAX_MAX_LENGTH 63
</pre>
<p>
The maximum upper limit of label length in characters</p>
<p>
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="GtkDataboxRulerPrivate"></a><h3>GtkDataboxRulerPrivate</h3>
<pre class="programlisting">typedef struct _GtkDataboxRulerPrivate GtkDataboxRulerPrivate;</pre>
<p>
A private data structure used by the <a class="link" href="GtkDataboxRuler.html" title="GtkDataboxRuler"><span class="type">GtkDataboxRuler</span></a>. It shields all internal things
from developers who are just using the object.</p>
<p>
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="GtkDataboxRuler-struct"></a><h3>GtkDataboxRuler</h3>
<pre class="programlisting">typedef struct _GtkDataboxRuler GtkDataboxRuler;</pre>
<p>
An improved version (see above) of GtkRuler which supports linear and logarithmic scales.</p>
<p>
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="gtk-databox-ruler-new"></a><h3>gtk_databox_ruler_new ()</h3>
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>* gtk_databox_ruler_new (<a
href="/usr/share/gtk-doc/html/gtk/gtk-Standard-Enumerations.html#GtkOrientation"
>GtkOrientation</a> orientation);</pre>
<p>
Creates a new <a class="link" href="GtkDataboxRuler.html" title="GtkDataboxRuler"><span class="type">GtkDataboxRuler</span></a> widget with the given <em class="parameter"><code>orientation</code></em> (horizontal or vertical).</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>orientation</code></em>��:</span></p></td>
<td> orientation of the ruler
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span>��:</span></p></td>
<td> A new <a class="link" href="GtkDataboxRuler.html" title="GtkDataboxRuler"><span class="type">GtkDataboxRuler</span></a>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="gtk-databox-ruler-set-range"></a><h3>gtk_databox_ruler_set_range ()</h3>
<pre class="programlisting">void gtk_databox_ruler_set_range (<a class="link" href="GtkDataboxRuler.html" title="GtkDataboxRuler">GtkDataboxRuler</a> *ruler,
gdouble lower,
gdouble upper,
gdouble position);</pre>
<p>
Sets values indicating the range and current position of a <a class="link" href="GtkDataboxRuler.html" title="GtkDataboxRuler"><span class="type">GtkDataboxRuler</span></a>.
</p>
<p>
See <a class="link" href="GtkDataboxRuler.html#gtk-databox-ruler-get-range" title="gtk_databox_ruler_get_range ()"><code class="function">gtk_databox_ruler_get_range()</code></a>.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>ruler</code></em>��:</span></p></td>
<td> a <a class="link" href="GtkDataboxRuler.html" title="GtkDataboxRuler"><span class="type">GtkDataboxRuler</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>lower</code></em>��:</span></p></td>
<td> lower limit of the ruler
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>upper</code></em>��:</span></p></td>
<td> upper limit of the ruler
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>position</code></em>��:</span></p></td>
<td> current position of the mark on the ruler
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="gtk-databox-ruler-set-max-length"></a><h3>gtk_databox_ruler_set_max_length ()</h3>
<pre class="programlisting">void gtk_databox_ruler_set_max_length (<a class="link" href="GtkDataboxRuler.html" title="GtkDataboxRuler">GtkDataboxRuler</a> *ruler,
guint max_length);</pre>
<p>
This function sets the maximum number of digits to be used for each tick
label of the <em class="parameter"><code>ruler</code></em>.
</p>
<p>
The <em class="parameter"><code>max_length</code></em> cannot be smaller than 2 and not bigger than
<a class="link" href="GtkDataboxRuler.html#GTK-DATABOX-RULER-MAX-MAX-LENGTH:CAPS" title="GTK_DATABOX_RULER_MAX_MAX_LENGTH"><span class="type">GTK_DATABOX_RULER_MAX_MAX_LENGTH</span></a>.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>ruler</code></em>��:</span></p></td>
<td> A <a class="link" href="GtkDataboxRuler.html" title="GtkDataboxRuler"><span class="type">GtkDataboxRuler</span></a> widget
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>max_length</code></em>��:</span></p></td>
<td> Maximum length (digits) of tick labels
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="gtk-databox-ruler-set-scale-type"></a><h3>gtk_databox_ruler_set_scale_type ()</h3>
<pre class="programlisting">void gtk_databox_ruler_set_scale_type (<a class="link" href="GtkDataboxRuler.html" title="GtkDataboxRuler">GtkDataboxRuler</a> *ruler,
guint scale_type);</pre>
<p>
This function sets the scale type of the <em class="parameter"><code>ruler</code></em>.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>ruler</code></em>��:</span></p></td>
<td> A <a class="link" href="GtkDataboxRuler.html" title="GtkDataboxRuler"><span class="type">GtkDataboxRuler</span></a> widget
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>scale_type</code></em>��:</span></p></td>
<td> The new scale type for <em class="parameter"><code>ruler</code></em> (linear or logarithmic)
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="gtk-databox-ruler-get-range"></a><h3>gtk_databox_ruler_get_range ()</h3>
<pre class="programlisting">void gtk_databox_ruler_get_range (<a class="link" href="GtkDataboxRuler.html" title="GtkDataboxRuler">GtkDataboxRuler</a> *ruler,
gdouble *lower,
gdouble *upper,
gdouble *position);</pre>
<p>
Retrieves values indicating the range and current position of a <a class="link" href="GtkDataboxRuler.html" title="GtkDataboxRuler"><span class="type">GtkDataboxRuler</span></a>.
See <a class="link" href="GtkDataboxRuler.html#gtk-databox-ruler-set-range" title="gtk_databox_ruler_set_range ()"><code class="function">gtk_databox_ruler_set_range()</code></a>.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>ruler</code></em>��:</span></p></td>
<td> a <a class="link" href="GtkDataboxRuler.html" title="GtkDataboxRuler"><span class="type">GtkDataboxRuler</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>lower</code></em>��:</span></p></td>
<td> location to store lower limit of the ruler, or <code class="literal">NULL</code>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>upper</code></em>��:</span></p></td>
<td> location to store upper limit of the ruler, or <code class="literal">NULL</code>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>position</code></em>��:</span></p></td>
<td> location to store the current position of the mark on the ruler, or <code class="literal">NULL</code>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="gtk-databox-ruler-get-max-length"></a><h3>gtk_databox_ruler_get_max_length ()</h3>
<pre class="programlisting">guint gtk_databox_ruler_get_max_length (<a class="link" href="GtkDataboxRuler.html" title="GtkDataboxRuler">GtkDataboxRuler</a> *ruler);</pre>
<p>
This function returns the maximum number of digits to be used for each tick
label of the <em class="parameter"><code>ruler</code></em>.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>ruler</code></em>��:</span></p></td>
<td> A <a class="link" href="GtkDataboxRuler.html" title="GtkDataboxRuler"><span class="type">GtkDataboxRuler</span></a> widget
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span>��:</span></p></td>
<td> The maximum length of the tick labels.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="gtk-databox-ruler-get-scale-type"></a><h3>gtk_databox_ruler_get_scale_type ()</h3>
<pre class="programlisting"><a class="link" href="gtkdatabox-gtkdatabox-scale.html#GtkDataboxScaleType" title="enum GtkDataboxScaleType">GtkDataboxScaleType</a> gtk_databox_ruler_get_scale_type (<a class="link" href="GtkDataboxRuler.html" title="GtkDataboxRuler">GtkDataboxRuler</a> *ruler);</pre>
<p>
This function returns the scale type of the <em class="parameter"><code>ruler</code></em> (linear or logarithmic).</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>ruler</code></em>��:</span></p></td>
<td> A <a class="link" href="GtkDataboxRuler.html" title="GtkDataboxRuler"><span class="type">GtkDataboxRuler</span></a> widget
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span>��:</span></p></td>
<td> The scale type (linear or logarithmic)
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="gtk-databox-ruler-set-orientation"></a><h3>gtk_databox_ruler_set_orientation ()</h3>
<pre class="programlisting">void gtk_databox_ruler_set_orientation (<a class="link" href="GtkDataboxRuler.html" title="GtkDataboxRuler">GtkDataboxRuler</a> *ruler,
<a
href="/usr/share/gtk-doc/html/gtk/gtk-Standard-Enumerations.html#GtkOrientation"
>GtkOrientation</a> orientation);</pre>
<p>
Sets the orientation of the <em class="parameter"><code>ruler</code></em> (horizontal or vertical).</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>ruler</code></em>��:</span></p></td>
<td> a <a class="link" href="GtkDataboxRuler.html" title="GtkDataboxRuler"><span class="type">GtkDataboxRuler</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>orientation</code></em>��:</span></p></td>
<td> new orientation of the ruler
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="gtk-databox-ruler-get-orientation"></a><h3>gtk_databox_ruler_get_orientation ()</h3>
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/gtk/gtk-Standard-Enumerations.html#GtkOrientation"
>GtkOrientation</a> gtk_databox_ruler_get_orientation (<a class="link" href="GtkDataboxRuler.html" title="GtkDataboxRuler">GtkDataboxRuler</a> *ruler);</pre>
<p>
Gets the orientation of the <em class="parameter"><code>ruler</code></em> (horizontal or vertical).</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>ruler</code></em>��:</span></p></td>
<td> a <a class="link" href="GtkDataboxRuler.html" title="GtkDataboxRuler"><span class="type">GtkDataboxRuler</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span>��:</span></p></td>
<td> Orientation of the <em class="parameter"><code>ruler</code></em>.
</td>
</tr>
</tbody>
</table></div>
</div>
</div>
<div class="refsect1" lang="en">
<a name="GtkDataboxRuler.property-details"></a><h2>Property Details</h2>
<div class="refsect2" lang="en">
<a name="GtkDataboxRuler--lower"></a><h3>The <code class="literal">"lower"</code> property</h3>
<pre class="programlisting"> "lower" gdouble : Read / Write</pre>
<p>Lower limit of ruler.</p>
<p>Default value: 0</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="GtkDataboxRuler--max-length"></a><h3>The <code class="literal">"max-length"</code> property</h3>
<pre class="programlisting"> "max-length" guint : Read / Write</pre>
<p>Maximum length of the labels (in digits).</p>
<p>Allowed values: [2,63]</p>
<p>Default value: 6</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="GtkDataboxRuler--orientation"></a><h3>The <code class="literal">"orientation"</code> property</h3>
<pre class="programlisting"> "orientation" guint : Read / Write / Construct Only</pre>
<p>Orientation of the ruler: horizontal or vertical.</p>
<p>Allowed values: &lt;= 1</p>
<p>Default value: 0</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="GtkDataboxRuler--position"></a><h3>The <code class="literal">"position"</code> property</h3>
<pre class="programlisting"> "position" gdouble : Read / Write</pre>
<p>Position of mark on the ruler.</p>
<p>Default value: 0</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="GtkDataboxRuler--upper"></a><h3>The <code class="literal">"upper"</code> property</h3>
<pre class="programlisting"> "upper" gdouble : Read / Write</pre>
<p>Upper limit of ruler.</p>
<p>Default value: 0</p>
</div>
</div>
<div class="refsect1" lang="en">
<a name="GtkDataboxRuler.see-also"></a><h2>See Also</h2>
<a class="link" href="GtkDatabox.html" title="GtkDatabox"><span class="type">GtkDatabox</span></a>
</div>
</div>
<div class="footer">
<hr>
Generated by GTK-Doc V1.10</div>
</body>
</html>