]> Pileus Git - ~andy/gtk/blob - docs/reference/gtk/tmpl/gtkhscale.sgml
e23b09583496f86c8feb7ad6c4b0118bb05ccfcc
[~andy/gtk] / docs / reference / gtk / tmpl / gtkhscale.sgml
1 <!-- ##### SECTION Title ##### -->
2 GtkHScale
3
4 <!-- ##### SECTION Short_Description ##### -->
5 a horizontal slider widget for selecting a value from a range.
6
7 <!-- ##### SECTION Long_Description ##### -->
8 <para>
9 The #GtkHScale widget is used to allow the user to select a value using
10 a horizontal slider.
11 A #GtkAdjustment is used to set the initial value, the lower
12 and upper bounds, and the step and page increments.
13 </para>
14 <para>
15 The position to show the current value, and the number of decimal places
16 shown can be set using the parent #GtkScale class's functions.
17 </para>
18
19 <!-- ##### SECTION See_Also ##### -->
20 <para>
21
22 </para>
23
24 <!-- ##### STRUCT GtkHScale ##### -->
25 <para>
26 The #GtkHScale-struct struct contains private data only, and
27 should be accessed using the functions below.
28 </para>
29
30
31 <!-- ##### FUNCTION gtk_hscale_new ##### -->
32 <para>
33 Creates a new #GtkHScale.
34 </para>
35
36 @adjustment: the #GtkAdjustment which sets the range of the scale.
37 @Returns: a new #GtkHScale.
38
39
40 <!-- ##### ARG GtkHScale:adjustment ##### -->
41 <para>
42 the #GtkAdjustment which sets the range of the scale.
43 </para>
44