forked from AuroraMiddleware/gtk
b32e7c9bb8
2001-06-05 Havoc Pennington <hp@redhat.com> * gtk/gtkspinbutton.c (gtk_spin_button_set_range): clamp the value to the range that was set * gtk/gtkrange.c: add value_changed signal, primarily intended for use with GtkScale (gtk_range_set_increments): new function (gtk_range_set_range): new function with weird name (gtk_range_set_value): new function (gtk_range_get_value): new function * gtk/gtkspinbutton.c (gtk_spin_button_get_value): rename from gtk_spin_button_get_value_as_float(). Compat #define added for get_value_as_float. * gtk/gtkhscale.c (gtk_hscale_new_with_range): new function * gtk/gtkvscale.c (gtk_vscale_new_with_range): new function 2001-06-05 Havoc Pennington <hp@redhat.com> * test-loaders.c (main): use putenv not setenv, reported by Armin Theissen
39 lines
912 B
Plaintext
39 lines
912 B
Plaintext
<!-- ##### SECTION Title ##### -->
|
|
GtkHScale
|
|
|
|
<!-- ##### SECTION Short_Description ##### -->
|
|
a horizontal slider widget for selecting a value from a range.
|
|
|
|
<!-- ##### SECTION Long_Description ##### -->
|
|
<para>
|
|
The #GtkHScale widget is used to allow the user to select a value using
|
|
a horizontal slider. To create one, use
|
|
gtk_hscale_new_with_range().
|
|
</para>
|
|
<para>
|
|
The position to show the current value, and the number of decimal places
|
|
shown can be set using the parent #GtkScale class's functions.
|
|
</para>
|
|
|
|
<!-- ##### SECTION See_Also ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
<!-- ##### STRUCT GtkHScale ##### -->
|
|
<para>
|
|
The #GtkHScale-struct struct contains private data only, and
|
|
should be accessed using the functions below.
|
|
</para>
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_hscale_new ##### -->
|
|
<para>
|
|
Creates a new #GtkHScale.
|
|
</para>
|
|
|
|
@adjustment: the #GtkAdjustment which sets the range of the scale.
|
|
@Returns: a new #GtkHScale.
|
|
|
|
|