1999-08-16 18:51:52 +00:00
|
|
|
<!-- ##### SECTION Title ##### -->
|
|
|
|
GtkRange
|
|
|
|
|
|
|
|
<!-- ##### SECTION Short_Description ##### -->
|
2002-11-29 23:08:54 +00:00
|
|
|
Base class for widgets which visualize an adjustment
|
1999-08-16 18:51:52 +00:00
|
|
|
|
|
|
|
<!-- ##### SECTION Long_Description ##### -->
|
|
|
|
<para>
|
2007-06-26 04:03:49 +00:00
|
|
|
#GtkRange is the common base class for widgets which visualize an
|
|
|
|
adjustment, e.g scales or scrollbars.
|
|
|
|
</para>
|
|
|
|
<para>
|
|
|
|
Apart from signals for monitoring the parameters of the adjustment,
|
|
|
|
GtkRange provides properties and methods for influencing the sensitivity
|
|
|
|
of the "steppers". It also provides properties and methods for setting a
|
|
|
|
"fill level" on range widgets. See gtk_range_set_fill_level().
|
1999-08-16 18:51:52 +00:00
|
|
|
</para>
|
|
|
|
|
|
|
|
<!-- ##### SECTION See_Also ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
2005-06-20 22:06:27 +00:00
|
|
|
<!-- ##### SECTION Stability_Level ##### -->
|
|
|
|
|
|
|
|
|
1999-08-16 18:51:52 +00:00
|
|
|
<!-- ##### STRUCT GtkRange ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
2004-07-20 02:26:06 +00:00
|
|
|
<!-- ##### SIGNAL GtkRange::adjust-bounds ##### -->
|
1999-08-16 18:51:52 +00:00
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
2004-07-20 02:26:06 +00:00
|
|
|
@range: the object which received the signal.
|
|
|
|
@arg1:
|
2003-10-24 22:16:07 +00:00
|
|
|
|
2004-09-17 15:20:31 +00:00
|
|
|
<!-- ##### SIGNAL GtkRange::change-value ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@range: the object which received the signal.
|
|
|
|
@arg1:
|
|
|
|
@arg2:
|
|
|
|
@Returns:
|
|
|
|
|
2004-07-20 02:26:06 +00:00
|
|
|
<!-- ##### SIGNAL GtkRange::move-slider ##### -->
|
2004-02-24 22:25:41 +00:00
|
|
|
<para>
|
2007-07-12 00:56:44 +00:00
|
|
|
|
2004-07-20 02:26:06 +00:00
|
|
|
</para>
|
|
|
|
|
2007-07-12 00:56:44 +00:00
|
|
|
@range:
|
|
|
|
@step:
|
2003-12-08 22:55:03 +00:00
|
|
|
|
2004-07-20 02:26:06 +00:00
|
|
|
<!-- ##### SIGNAL GtkRange::value-changed ##### -->
|
|
|
|
<para>
|
2007-07-12 00:56:44 +00:00
|
|
|
|
2004-07-18 15:14:05 +00:00
|
|
|
</para>
|
2004-02-24 22:25:41 +00:00
|
|
|
|
2007-07-12 00:56:44 +00:00
|
|
|
@range:
|
2004-07-20 02:26:06 +00:00
|
|
|
|
|
|
|
<!-- ##### ARG GtkRange:adjustment ##### -->
|
|
|
|
<para>
|
1999-08-16 18:51:52 +00:00
|
|
|
|
2004-07-20 02:26:06 +00:00
|
|
|
</para>
|
1999-08-16 18:51:52 +00:00
|
|
|
|
2006-12-14 14:48:41 +00:00
|
|
|
<!-- ##### ARG GtkRange:fill-level ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
2004-07-20 02:26:06 +00:00
|
|
|
<!-- ##### ARG GtkRange:inverted ##### -->
|
1999-08-16 18:51:52 +00:00
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
2005-12-20 05:47:43 +00:00
|
|
|
<!-- ##### ARG GtkRange:lower-stepper-sensitivity ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
2006-12-14 14:48:41 +00:00
|
|
|
<!-- ##### ARG GtkRange:restrict-to-fill-level ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<!-- ##### ARG GtkRange:show-fill-level ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
2004-07-20 02:26:06 +00:00
|
|
|
<!-- ##### ARG GtkRange:update-policy ##### -->
|
|
|
|
<para>
|
1999-08-16 18:51:52 +00:00
|
|
|
|
2004-07-20 02:26:06 +00:00
|
|
|
</para>
|
1999-08-16 18:51:52 +00:00
|
|
|
|
2005-12-20 05:47:43 +00:00
|
|
|
<!-- ##### ARG GtkRange:upper-stepper-sensitivity ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
2006-05-05 16:21:19 +00:00
|
|
|
<!-- ##### ARG GtkRange:activate-slider ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
2004-07-20 02:26:06 +00:00
|
|
|
<!-- ##### ARG GtkRange:arrow-displacement-x ##### -->
|
2001-03-23 22:21:06 +00:00
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
2004-07-20 02:26:06 +00:00
|
|
|
<!-- ##### ARG GtkRange:arrow-displacement-y ##### -->
|
|
|
|
<para>
|
2001-03-23 22:21:06 +00:00
|
|
|
|
2004-07-20 02:26:06 +00:00
|
|
|
</para>
|
2001-03-23 22:21:06 +00:00
|
|
|
|
2008-08-05 18:20:35 +00:00
|
|
|
<!-- ##### ARG GtkRange:arrow-scaling ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
2004-07-20 02:26:06 +00:00
|
|
|
<!-- ##### ARG GtkRange:slider-width ##### -->
|
2001-03-23 22:21:06 +00:00
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
2004-07-20 02:26:06 +00:00
|
|
|
<!-- ##### ARG GtkRange:stepper-size ##### -->
|
|
|
|
<para>
|
2001-03-23 22:21:06 +00:00
|
|
|
|
2004-07-20 02:26:06 +00:00
|
|
|
</para>
|
2001-03-23 22:21:06 +00:00
|
|
|
|
2004-07-20 02:26:06 +00:00
|
|
|
<!-- ##### ARG GtkRange:stepper-spacing ##### -->
|
2001-09-08 06:24:46 +00:00
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
2004-07-20 02:26:06 +00:00
|
|
|
<!-- ##### ARG GtkRange:trough-border ##### -->
|
|
|
|
<para>
|
2001-09-08 06:24:46 +00:00
|
|
|
|
2004-07-20 02:26:06 +00:00
|
|
|
</para>
|
2001-09-08 06:24:46 +00:00
|
|
|
|
2006-06-13 05:15:01 +00:00
|
|
|
<!-- ##### ARG GtkRange:trough-side-details ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<!-- ##### ARG GtkRange:trough-under-steppers ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
2006-12-14 14:48:41 +00:00
|
|
|
<!-- ##### FUNCTION gtk_range_get_fill_level ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@range:
|
|
|
|
@Returns:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_range_get_restrict_to_fill_level ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@range:
|
|
|
|
@Returns:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_range_get_show_fill_level ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@range:
|
|
|
|
@Returns:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_range_set_fill_level ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@range:
|
|
|
|
@fill_level:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_range_set_restrict_to_fill_level ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@range:
|
|
|
|
@restrict_to_fill_level:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_range_set_show_fill_level ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@range:
|
|
|
|
@show_fill_level:
|
|
|
|
|
|
|
|
|
2004-07-20 02:26:06 +00:00
|
|
|
<!-- ##### FUNCTION gtk_range_get_adjustment ##### -->
|
2001-09-08 06:24:46 +00:00
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@range:
|
|
|
|
@Returns:
|
|
|
|
|
|
|
|
|
2004-07-20 02:26:06 +00:00
|
|
|
<!-- ##### FUNCTION gtk_range_set_update_policy ##### -->
|
2001-09-08 06:24:46 +00:00
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@range:
|
2004-07-20 02:26:06 +00:00
|
|
|
@policy:
|
2001-09-08 06:24:46 +00:00
|
|
|
|
|
|
|
|
2004-07-20 02:26:06 +00:00
|
|
|
<!-- ##### FUNCTION gtk_range_set_adjustment ##### -->
|
2001-09-08 06:24:46 +00:00
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@range:
|
2004-07-20 02:26:06 +00:00
|
|
|
@adjustment:
|
2001-09-08 06:24:46 +00:00
|
|
|
|
|
|
|
|
2004-07-20 02:26:06 +00:00
|
|
|
<!-- ##### FUNCTION gtk_range_get_inverted ##### -->
|
2001-09-08 06:24:46 +00:00
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@range:
|
2004-07-20 02:26:06 +00:00
|
|
|
@Returns:
|
2001-09-08 06:24:46 +00:00
|
|
|
|
|
|
|
|
2004-07-20 02:26:06 +00:00
|
|
|
<!-- ##### FUNCTION gtk_range_set_inverted ##### -->
|
2002-02-18 02:34:58 +00:00
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
2004-07-20 02:26:06 +00:00
|
|
|
@range:
|
|
|
|
@setting:
|
2004-07-18 15:14:05 +00:00
|
|
|
|
2003-10-25 19:58:51 +00:00
|
|
|
|
2004-07-20 02:26:06 +00:00
|
|
|
<!-- ##### FUNCTION gtk_range_get_update_policy ##### -->
|
2004-07-18 15:14:05 +00:00
|
|
|
<para>
|
2004-02-21 17:05:32 +00:00
|
|
|
|
2004-07-20 02:26:06 +00:00
|
|
|
</para>
|
2004-07-18 15:14:05 +00:00
|
|
|
|
2004-07-20 02:26:06 +00:00
|
|
|
@range:
|
|
|
|
@Returns:
|
2001-05-18 18:28:52 +00:00
|
|
|
|
|
|
|
|
2004-07-20 02:26:06 +00:00
|
|
|
<!-- ##### FUNCTION gtk_range_get_value ##### -->
|
2001-06-06 20:39:02 +00:00
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
2004-07-20 02:26:06 +00:00
|
|
|
@range:
|
|
|
|
@Returns:
|
2002-05-14 20:55:22 +00:00
|
|
|
|
|
|
|
|
2004-07-20 02:26:06 +00:00
|
|
|
<!-- ##### FUNCTION gtk_range_set_increments ##### -->
|
2002-05-14 20:55:22 +00:00
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
2004-07-20 02:26:06 +00:00
|
|
|
@range:
|
|
|
|
@step:
|
|
|
|
@page:
|
2002-05-14 20:55:22 +00:00
|
|
|
|
|
|
|
|
2004-07-20 02:26:06 +00:00
|
|
|
<!-- ##### FUNCTION gtk_range_set_range ##### -->
|
2002-05-14 20:55:22 +00:00
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
2004-07-20 02:26:06 +00:00
|
|
|
@range:
|
|
|
|
@min:
|
|
|
|
@max:
|
2002-05-14 20:55:22 +00:00
|
|
|
|
|
|
|
|
2004-07-20 02:26:06 +00:00
|
|
|
<!-- ##### FUNCTION gtk_range_set_value ##### -->
|
2002-11-02 18:18:50 +00:00
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
2004-07-20 02:26:06 +00:00
|
|
|
@range:
|
|
|
|
@value:
|
2002-05-14 20:55:22 +00:00
|
|
|
|
|
|
|
|
2006-06-29 09:22:26 +00:00
|
|
|
<!-- ##### ENUM GtkSensitivityType ##### -->
|
|
|
|
<para>
|
|
|
|
Determines how GTK+ handles the sensitivity of stepper arrows
|
|
|
|
at the end of range widgets.
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@GTK_SENSITIVITY_AUTO: The arrow is made insensitive if the
|
|
|
|
thumb is at the end
|
|
|
|
@GTK_SENSITIVITY_ON: The arrow is always sensitive
|
2006-07-03 06:07:00 +00:00
|
|
|
@GTK_SENSITIVITY_OFF: The arrow is always insensitive
|
2006-06-29 09:22:26 +00:00
|
|
|
|
2006-05-05 16:21:19 +00:00
|
|
|
<!-- ##### FUNCTION gtk_range_set_lower_stepper_sensitivity ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@range:
|
|
|
|
@sensitivity:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_range_get_lower_stepper_sensitivity ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@range:
|
|
|
|
@Returns:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_range_set_upper_stepper_sensitivity ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@range:
|
|
|
|
@sensitivity:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_range_get_upper_stepper_sensitivity ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@range:
|
|
|
|
@Returns:
|
|
|
|
|
|
|
|
|
2009-09-01 04:53:44 +00:00
|
|
|
<!-- ##### FUNCTION gtk_range_get_flippable ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@range:
|
|
|
|
@Returns:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_range_set_flippable ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@range:
|
|
|
|
@flippable:
|
|
|
|
|
|
|
|
|
2010-02-09 20:53:41 +00:00
|
|
|
<!-- ##### FUNCTION gtk_range_get_min_slider_size ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@range:
|
|
|
|
@Returns:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_range_get_range_rect ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@range:
|
|
|
|
@range_rect:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_range_get_slider_range ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@range:
|
|
|
|
@slider_start:
|
|
|
|
@slider_end:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_range_get_slider_size_fixed ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@range:
|
|
|
|
@Returns:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_range_set_min_slider_size ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@range:
|
|
|
|
@min_size:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_range_set_slider_size_fixed ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@range:
|
|
|
|
@size_fixed:
|
|
|
|
|
|
|
|
|