gtk2/docs/reference/gtk/tmpl/gtkrange.sgml
Havoc Pennington b32e7c9bb8 clamp the value to the range that was set
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
2001-06-05 20:07:02 +00:00

95 lines
1.2 KiB
Plaintext

<!-- ##### SECTION Title ##### -->
GtkRange
<!-- ##### SECTION Short_Description ##### -->
<!-- ##### SECTION Long_Description ##### -->
<para>
</para>
<!-- ##### SECTION See_Also ##### -->
<para>
</para>
<!-- ##### STRUCT GtkRange ##### -->
<para>
</para>
<!-- ##### FUNCTION gtk_range_get_adjustment ##### -->
<para>
</para>
@range:
@Returns:
<!-- ##### FUNCTION gtk_range_set_update_policy ##### -->
<para>
</para>
@range:
@policy:
<!-- ##### FUNCTION gtk_range_set_adjustment ##### -->
<para>
</para>
@range:
@adjustment:
<!-- ##### FUNCTION gtk_range_get_inverted ##### -->
<para>
</para>
@range:
@Returns:
<!-- ##### FUNCTION gtk_range_set_inverted ##### -->
<para>
</para>
@range:
@setting:
<!-- ##### SIGNAL GtkRange::move-slider ##### -->
<para>
Virtual function that moves the slider. Used for keybindings.
</para>
@range: the #GtkRange
@step: how to move the slider
<!-- # Unused Parameters # -->
@arg2:
<!-- ##### SIGNAL GtkRange::value-changed ##### -->
<para>
Emitted when the range value changes.
</para>
@range: the #GtkRange
<!-- ##### ARG GtkRange:update-policy ##### -->
<para>
</para>
<!-- ##### ARG GtkRange:adjustment ##### -->
<para>
</para>