|
Server : Apache/2.2.17 (Unix) mod_ssl/2.2.17 OpenSSL/0.9.8e-fips-rhel5 DAV/2 PHP/5.2.17 System : Linux localhost 2.6.18-419.el5 #1 SMP Fri Feb 24 22:47:42 UTC 2017 x86_64 User : nobody ( 99) PHP Version : 5.2.17 Disable Function : NONE Directory : /proc/21585/root/usr/share/gtk-doc/html/gtk/ |
Upload File : |
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>GtkRange</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.69.1">
<link rel="start" href="index.html" title="GTK+ Reference Manual">
<link rel="up" href="AbstractObjects.html" title="Abstract Base Classes">
<link rel="prev" href="GtkPaned.html" title="GtkPaned">
<link rel="next" href="GtkScale.html" title="GtkScale">
<meta name="generator" content="GTK-Doc V1.6 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
<link rel="part" href="gtk.html" title="Part I. GTK+ Overview">
<link rel="part" href="gtkbase.html" title="Part II. GTK+ Core Reference">
<link rel="part" href="gtkobjects.html" title="Part III. GTK+ Widgets and Objects">
<link rel="chapter" href="ch01.html" title="Object Hierarchy">
<link rel="chapter" href="ch02.html" title="Widget Gallery">
<link rel="chapter" href="WindowWidgets.html" title="Windows">
<link rel="chapter" href="DisplayWidgets.html" title="Display Widgets">
<link rel="chapter" href="ButtonWidgets.html" title="Buttons and Toggles">
<link rel="chapter" href="NumericEntry.html" title="Numeric/Text Data Entry">
<link rel="chapter" href="TextWidgetObjects.html" title="Multiline Text Editor">
<link rel="chapter" href="TreeWidgetObjects.html" title="Tree, List and Icon Grid Widgets">
<link rel="chapter" href="MenusAndCombos.html" title="Menus, Combo Box, Toolbar">
<link rel="chapter" href="Actions.html" title="Action-based menus and toolbars">
<link rel="chapter" href="SelectorWidgets.html" title="Selectors (File/Font/Color/Input Devices)">
<link rel="chapter" href="LayoutContainers.html" title="Layout Containers">
<link rel="chapter" href="Ornaments.html" title="Ornaments">
<link rel="chapter" href="ScrollingWidgets.html" title="Scrolling">
<link rel="chapter" href="Printing.html" title="Printing">
<link rel="chapter" href="MiscObjects.html" title="Miscellaneous">
<link rel="chapter" href="AbstractObjects.html" title="Abstract Base Classes">
<link rel="chapter" href="PlugSocket.html" title="Cross-process Embedding">
<link rel="chapter" href="SpecialObjects.html" title="Special-purpose features">
<link rel="chapter" href="RecentDocuments.html" title="Recently Used Documents">
<link rel="chapter" href="DeprecatedObjects.html" title="Deprecated">
<link rel="part" href="migrating.html" title="Part IV. Migrating from Previous Versions of GTK+">
<link rel="chapter" href="gtk-migrating-checklist.html" title="Migration Checklist">
<link rel="chapter" href="gtk-migrating-GtkFileChooser.html" title="Migrating from GtkFileSelection to GtkFileChooser">
<link rel="chapter" href="gtk-migrating-GtkAction.html" title="Migrating from old menu and toolbar systems to GtkAction">
<link rel="chapter" href="gtk-migrating-GtkComboBox.html" title="Migrating from GtkOptionMenu and GtkCombo to GtkComboBox and
GtkComboBoxEntry">
<link rel="chapter" href="gtk-migrating-GtkIconView.html" title="Migrating from GnomeIconList to GtkIconView">
<link rel="chapter" href="gtk-migrating-GtkAboutDialog.html" title="Migrating from GnomeAbout to GtkAboutDialog">
<link rel="chapter" href="gtk-migrating-GtkColorButton.html" title="Migrating from GnomeColorPicker to GtkColorButton">
<link rel="chapter" href="gtk-migrating-GtkAssistant.html" title="Migrating from GnomeDruid to GtkAssistant">
<link rel="chapter" href="gtk-migrating-GtkRecentChooser.html" title="Migrating from EggRecent to GtkRecentChooser">
<link rel="chapter" href="gtk-migrating-GtkLinkButton.html" title="Migrating from GnomeHRef to GtkLinkButton">
<link rel="part" href="pt05.html" title="Part V. GTK+ Tools">
<link rel="glossary" href="glossary.html" title="Glossary">
<link rel="index" href="ix01.html" title="Index">
<link rel="index" href="ix02.html" title="Index of deprecated symbols">
<link rel="index" href="ix03.html" title="Index of new symbols in 2.2">
<link rel="index" href="ix04.html" title="Index of new symbols in 2.4">
<link rel="index" href="ix05.html" title="Index of new symbols in 2.6">
<link rel="index" href="ix06.html" title="Index of new symbols in 2.8">
<link rel="index" href="ix07.html" title="Index of new symbols in 2.10">
</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="GtkPaned.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="AbstractObjects.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">GTK+ Reference Manual</th>
<td><a accesskey="n" href="GtkScale.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="#id3671027" class="shortcut">Top</a>
 | 
<a href="#id3671994" class="shortcut">Description</a>
 | 
<a href="#id3671460" class="shortcut">Object Hierarchy</a>
 | 
<a href="#id3671521" class="shortcut">Implemented Interfaces</a>
 | 
<a href="#id3671544" class="shortcut">Properties</a>
 | 
<a href="#id3671648" class="shortcut">Style Properties</a>
 | 
<a href="#id3671816" class="shortcut">Signals</a></nobr></td></tr>
</table>
<div class="refentry" lang="en">
<a name="GtkRange"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2>
<a name="id3671027"></a><span class="refentrytitle">GtkRange</span>
</h2>
<p>GtkRange — Base class for widgets which visualize an adjustment</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv">
<h2>Synopsis</h2>
<pre class="synopsis">
#include <gtk/gtk.h>
<a href="GtkRange.html#GtkRange-struct">GtkRange</a>;
<a href="GtkAdjustment.html" title="GtkAdjustment">GtkAdjustment</a>* <a href="GtkRange.html#gtk-range-get-adjustment">gtk_range_get_adjustment</a> (<a href="GtkRange.html" title="GtkRange">GtkRange</a> *range);
void <a href="GtkRange.html#gtk-range-set-update-policy">gtk_range_set_update_policy</a> (<a href="GtkRange.html" title="GtkRange">GtkRange</a> *range,
<a href="gtk-Standard-Enumerations.html#GtkUpdateType">GtkUpdateType</a> policy);
void <a href="GtkRange.html#gtk-range-set-adjustment">gtk_range_set_adjustment</a> (<a href="GtkRange.html" title="GtkRange">GtkRange</a> *range,
<a href="GtkAdjustment.html" title="GtkAdjustment">GtkAdjustment</a> *adjustment);
<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> <a href="GtkRange.html#gtk-range-get-inverted">gtk_range_get_inverted</a> (<a href="GtkRange.html" title="GtkRange">GtkRange</a> *range);
void <a href="GtkRange.html#gtk-range-set-inverted">gtk_range_set_inverted</a> (<a href="GtkRange.html" title="GtkRange">GtkRange</a> *range,
<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> setting);
<a href="gtk-Standard-Enumerations.html#GtkUpdateType">GtkUpdateType</a> <a href="GtkRange.html#gtk-range-get-update-policy">gtk_range_get_update_policy</a> (<a href="GtkRange.html" title="GtkRange">GtkRange</a> *range);
<a
href="../glib/glib-Basic-Types.html#gdouble"
>gdouble</a> <a href="GtkRange.html#gtk-range-get-value">gtk_range_get_value</a> (<a href="GtkRange.html" title="GtkRange">GtkRange</a> *range);
void <a href="GtkRange.html#gtk-range-set-increments">gtk_range_set_increments</a> (<a href="GtkRange.html" title="GtkRange">GtkRange</a> *range,
<a
href="../glib/glib-Basic-Types.html#gdouble"
>gdouble</a> step,
<a
href="../glib/glib-Basic-Types.html#gdouble"
>gdouble</a> page);
void <a href="GtkRange.html#gtk-range-set-range">gtk_range_set_range</a> (<a href="GtkRange.html" title="GtkRange">GtkRange</a> *range,
<a
href="../glib/glib-Basic-Types.html#gdouble"
>gdouble</a> min,
<a
href="../glib/glib-Basic-Types.html#gdouble"
>gdouble</a> max);
void <a href="GtkRange.html#gtk-range-set-value">gtk_range_set_value</a> (<a href="GtkRange.html" title="GtkRange">GtkRange</a> *range,
<a
href="../glib/glib-Basic-Types.html#gdouble"
>gdouble</a> value);
enum <a href="GtkRange.html#GtkSensitivityType">GtkSensitivityType</a>;
void <a href="GtkRange.html#gtk-range-set-lower-stepper-sensitivity">gtk_range_set_lower_stepper_sensitivity</a>
(<a href="GtkRange.html" title="GtkRange">GtkRange</a> *range,
<a href="GtkRange.html#GtkSensitivityType">GtkSensitivityType</a> sensitivity);
<a href="GtkRange.html#GtkSensitivityType">GtkSensitivityType</a> <a href="GtkRange.html#gtk-range-get-lower-stepper-sensitivity">gtk_range_get_lower_stepper_sensitivity</a>
(<a href="GtkRange.html" title="GtkRange">GtkRange</a> *range);
void <a href="GtkRange.html#gtk-range-set-upper-stepper-sensitivity">gtk_range_set_upper_stepper_sensitivity</a>
(<a href="GtkRange.html" title="GtkRange">GtkRange</a> *range,
<a href="GtkRange.html#GtkSensitivityType">GtkSensitivityType</a> sensitivity);
<a href="GtkRange.html#GtkSensitivityType">GtkSensitivityType</a> <a href="GtkRange.html#gtk-range-get-upper-stepper-sensitivity">gtk_range_get_upper_stepper_sensitivity</a>
(<a href="GtkRange.html" title="GtkRange">GtkRange</a> *range);
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id3671460"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
<a
href="../gobject/gobject-The-Base-Object-Type.html#GObject"
>GObject</a>
+----<a
href="../gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned"
>GInitiallyUnowned</a>
+----<a href="GtkObject.html" title="GtkObject">GtkObject</a>
+----<a href="GtkWidget.html" title="GtkWidget">GtkWidget</a>
+----GtkRange
+----<a href="GtkScale.html" title="GtkScale">GtkScale</a>
+----<a href="GtkScrollbar.html" title="GtkScrollbar">GtkScrollbar</a>
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id3671521"></a><h2>Implemented Interfaces</h2>
<p>
GtkRange implements
AtkImplementorIface.</p>
</div>
<div class="refsect1" lang="en">
<a name="id3671544"></a><h2>Properties</h2>
<pre class="synopsis">
"<a href="GtkRange.html#GtkRange--adjustment">adjustment</a>" <a href="GtkAdjustment.html" title="GtkAdjustment">GtkAdjustment</a> : Read / Write / Construct
"<a href="GtkRange.html#GtkRange--inverted">inverted</a>" <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> : Read / Write
"<a href="GtkRange.html#GtkRange--lower-stepper-sensitivity">lower-stepper-sensitivity</a>" <a href="GtkRange.html#GtkSensitivityType">GtkSensitivityType</a> : Read / Write
"<a href="GtkRange.html#GtkRange--update-policy">update-policy</a>" <a href="gtk-Standard-Enumerations.html#GtkUpdateType">GtkUpdateType</a> : Read / Write
"<a href="GtkRange.html#GtkRange--upper-stepper-sensitivity">upper-stepper-sensitivity</a>" <a href="GtkRange.html#GtkSensitivityType">GtkSensitivityType</a> : Read / Write
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id3671648"></a><h2>Style Properties</h2>
<pre class="synopsis">
"<a href="GtkRange.html#GtkRange--activate-slider">activate-slider</a>" <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> : Read
"<a href="GtkRange.html#GtkRange--arrow-displacement-x">arrow-displacement-x</a>" <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> : Read
"<a href="GtkRange.html#GtkRange--arrow-displacement-y">arrow-displacement-y</a>" <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> : Read
"<a href="GtkRange.html#GtkRange--slider-width">slider-width</a>" <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> : Read
"<a href="GtkRange.html#GtkRange--stepper-size">stepper-size</a>" <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> : Read
"<a href="GtkRange.html#GtkRange--stepper-spacing">stepper-spacing</a>" <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> : Read
"<a href="GtkRange.html#GtkRange--trough-border">trough-border</a>" <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> : Read
"<a href="GtkRange.html#GtkRange--trough-side-details">trough-side-details</a>" <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> : Read
"<a href="GtkRange.html#GtkRange--trough-under-steppers">trough-under-steppers</a>" <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> : Read
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id3671816"></a><h2>Signals</h2>
<pre class="synopsis">
"<a href="GtkRange.html#GtkRange-adjust-bounds">adjust-bounds</a>"
void user_function (<a href="GtkRange.html" title="GtkRange">GtkRange</a> *range,
<a
href="../glib/glib-Basic-Types.html#gdouble"
>gdouble</a> arg1,
<a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a> user_data) : Run last
"<a href="GtkRange.html#GtkRange-change-value">change-value</a>"
<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> user_function (<a href="GtkRange.html" title="GtkRange">GtkRange</a> *range,
<a href="gtk-Standard-Enumerations.html#GtkScrollType">GtkScrollType</a> *scroll,
<a
href="../glib/glib-Basic-Types.html#gdouble"
>gdouble</a> value,
<a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a> user_data) : Run last
"<a href="GtkRange.html#GtkRange-move-slider">move-slider</a>"
void user_function (<a href="GtkRange.html" title="GtkRange">GtkRange</a> *range,
<a href="gtk-Standard-Enumerations.html#GtkScrollType">GtkScrollType</a> *arg1,
<a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a> user_data) : Run last / Action
"<a href="GtkRange.html#GtkRange-value-changed">value-changed</a>"
void user_function (<a href="GtkRange.html" title="GtkRange">GtkRange</a> *range,
<a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a> user_data) : Run last
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id3671994"></a><h2>Description</h2>
<p>
</p>
</div>
<div class="refsect1" lang="en">
<a name="id3672008"></a><h2>Details</h2>
<div class="refsect2" lang="en">
<a name="id3672019"></a><h3>
<a name="GtkRange-struct"></a>GtkRange</h3>
<a class="indexterm" name="id3672031"></a><pre class="programlisting">typedef struct _GtkRange GtkRange;</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3672046"></a><h3>
<a name="gtk-range-get-adjustment"></a>gtk_range_get_adjustment ()</h3>
<a class="indexterm" name="id3672059"></a><pre class="programlisting"><a href="GtkAdjustment.html" title="GtkAdjustment">GtkAdjustment</a>* gtk_range_get_adjustment (<a href="GtkRange.html" title="GtkRange">GtkRange</a> *range);</pre>
<p>
Get the <a href="GtkAdjustment.html" title="GtkAdjustment"><span class="type">GtkAdjustment</span></a> which is the "model" object for <a href="GtkRange.html" title="GtkRange"><span class="type">GtkRange</span></a>.
See <a href="GtkRange.html#gtk-range-set-adjustment"><code class="function">gtk_range_set_adjustment()</code></a> for details.
The return value does not have a reference added, so should not
be unreferenced.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>range</code></em> :</span></td>
<td> a <a href="GtkRange.html" title="GtkRange"><span class="type">GtkRange</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
<td> a <a href="GtkAdjustment.html" title="GtkAdjustment"><span class="type">GtkAdjustment</span></a>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3672164"></a><h3>
<a name="gtk-range-set-update-policy"></a>gtk_range_set_update_policy ()</h3>
<a class="indexterm" name="id3672178"></a><pre class="programlisting">void gtk_range_set_update_policy (<a href="GtkRange.html" title="GtkRange">GtkRange</a> *range,
<a href="gtk-Standard-Enumerations.html#GtkUpdateType">GtkUpdateType</a> policy);</pre>
<p>
Sets the update policy for the range. <span class="type">GTK_UPDATE_CONTINUOUS</span> means that
anytime the range slider is moved, the range value will change and the
value_changed signal will be emitted. <span class="type">GTK_UPDATE_DELAYED</span> means that
the value will be updated after a brief timeout where no slider motion
occurs, so updates are spaced by a short time rather than
continuous. <span class="type">GTK_UPDATE_DISCONTINUOUS</span> means that the value will only
be updated when the user releases the button and ends the slider
drag operation.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>range</code></em> :</span></td>
<td> a <a href="GtkRange.html" title="GtkRange"><span class="type">GtkRange</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>policy</code></em> :</span></td>
<td> update policy
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3672291"></a><h3>
<a name="gtk-range-set-adjustment"></a>gtk_range_set_adjustment ()</h3>
<a class="indexterm" name="id3672304"></a><pre class="programlisting">void gtk_range_set_adjustment (<a href="GtkRange.html" title="GtkRange">GtkRange</a> *range,
<a href="GtkAdjustment.html" title="GtkAdjustment">GtkAdjustment</a> *adjustment);</pre>
<p>
Sets the adjustment to be used as the "model" object for this range
widget. The adjustment indicates the current range value, the
minimum and maximum range values, the step/page increments used
for keybindings and scrolling, and the page size. The page size
is normally 0 for <a href="GtkScale.html" title="GtkScale"><span class="type">GtkScale</span></a> and nonzero for <a href="GtkScrollbar.html" title="GtkScrollbar"><span class="type">GtkScrollbar</span></a>, and
indicates the size of the visible area of the widget being scrolled.
The page size affects the size of the scrollbar slider.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>range</code></em> :</span></td>
<td> a <a href="GtkRange.html" title="GtkRange"><span class="type">GtkRange</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>adjustment</code></em> :</span></td>
<td> a <a href="GtkAdjustment.html" title="GtkAdjustment"><span class="type">GtkAdjustment</span></a>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3672414"></a><h3>
<a name="gtk-range-get-inverted"></a>gtk_range_get_inverted ()</h3>
<a class="indexterm" name="id3672427"></a><pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> gtk_range_get_inverted (<a href="GtkRange.html" title="GtkRange">GtkRange</a> *range);</pre>
<p>
Gets the value set by <a href="GtkRange.html#gtk-range-set-inverted"><code class="function">gtk_range_set_inverted()</code></a>.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>range</code></em> :</span></td>
<td> a <a href="GtkRange.html" title="GtkRange"><span class="type">GtkRange</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
<td> <a
href="../glib/glib-Standard-Macros.html#TRUE:CAPS"
><code class="literal">TRUE</code></a> if the range is inverted
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3672516"></a><h3>
<a name="gtk-range-set-inverted"></a>gtk_range_set_inverted ()</h3>
<a class="indexterm" name="id3672529"></a><pre class="programlisting">void gtk_range_set_inverted (<a href="GtkRange.html" title="GtkRange">GtkRange</a> *range,
<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> setting);</pre>
<p>
Ranges normally move from lower to higher values as the
slider moves from top to bottom or left to right. Inverted
ranges have higher values at the top or on the right rather than
on the bottom or left.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>range</code></em> :</span></td>
<td> a <a href="GtkRange.html" title="GtkRange"><span class="type">GtkRange</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>setting</code></em> :</span></td>
<td> <a
href="../glib/glib-Standard-Macros.html#TRUE:CAPS"
><code class="literal">TRUE</code></a> to invert the range
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3672621"></a><h3>
<a name="gtk-range-get-update-policy"></a>gtk_range_get_update_policy ()</h3>
<a class="indexterm" name="id3672634"></a><pre class="programlisting"><a href="gtk-Standard-Enumerations.html#GtkUpdateType">GtkUpdateType</a> gtk_range_get_update_policy (<a href="GtkRange.html" title="GtkRange">GtkRange</a> *range);</pre>
<p>
Gets the update policy of <em class="parameter"><code>range</code></em>. See <a href="GtkRange.html#gtk-range-set-update-policy"><code class="function">gtk_range_set_update_policy()</code></a>.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>range</code></em> :</span></td>
<td> a <a href="GtkRange.html" title="GtkRange"><span class="type">GtkRange</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
<td> the current update policy
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3672719"></a><h3>
<a name="gtk-range-get-value"></a>gtk_range_get_value ()</h3>
<a class="indexterm" name="id3672733"></a><pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#gdouble"
>gdouble</a> gtk_range_get_value (<a href="GtkRange.html" title="GtkRange">GtkRange</a> *range);</pre>
<p>
Gets the current value of the range.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>range</code></em> :</span></td>
<td> a <a href="GtkRange.html" title="GtkRange"><span class="type">GtkRange</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
<td> current value of the range.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3672801"></a><h3>
<a name="gtk-range-set-increments"></a>gtk_range_set_increments ()</h3>
<a class="indexterm" name="id3672814"></a><pre class="programlisting">void gtk_range_set_increments (<a href="GtkRange.html" title="GtkRange">GtkRange</a> *range,
<a
href="../glib/glib-Basic-Types.html#gdouble"
>gdouble</a> step,
<a
href="../glib/glib-Basic-Types.html#gdouble"
>gdouble</a> page);</pre>
<p>
Sets the step and page sizes for the range.
The step size is used when the user clicks the <a href="GtkScrollbar.html" title="GtkScrollbar"><span class="type">GtkScrollbar</span></a>
arrows or moves <a href="GtkScale.html" title="GtkScale"><span class="type">GtkScale</span></a> via arrow keys. The page size
is used for example when moving via Page Up or Page Down keys.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>range</code></em> :</span></td>
<td> a <a href="GtkRange.html" title="GtkRange"><span class="type">GtkRange</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>step</code></em> :</span></td>
<td> step size
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>page</code></em> :</span></td>
<td> page size
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3672934"></a><h3>
<a name="gtk-range-set-range"></a>gtk_range_set_range ()</h3>
<a class="indexterm" name="id3672947"></a><pre class="programlisting">void gtk_range_set_range (<a href="GtkRange.html" title="GtkRange">GtkRange</a> *range,
<a
href="../glib/glib-Basic-Types.html#gdouble"
>gdouble</a> min,
<a
href="../glib/glib-Basic-Types.html#gdouble"
>gdouble</a> max);</pre>
<p>
Sets the allowable values in the <a href="GtkRange.html" title="GtkRange"><span class="type">GtkRange</span></a>, and clamps the range
value to be between <em class="parameter"><code>min</code></em> and <em class="parameter"><code>max</code></em>. (If the range has a non-zero
page size, it is clamped between <em class="parameter"><code>min</code></em> and <em class="parameter"><code>max</code></em> - page-size.)</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>range</code></em> :</span></td>
<td> a <a href="GtkRange.html" title="GtkRange"><span class="type">GtkRange</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>min</code></em> :</span></td>
<td> minimum range value
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>max</code></em> :</span></td>
<td> maximum range value
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3673079"></a><h3>
<a name="gtk-range-set-value"></a>gtk_range_set_value ()</h3>
<a class="indexterm" name="id3673093"></a><pre class="programlisting">void gtk_range_set_value (<a href="GtkRange.html" title="GtkRange">GtkRange</a> *range,
<a
href="../glib/glib-Basic-Types.html#gdouble"
>gdouble</a> value);</pre>
<p>
Sets the current value of the range; if the value is outside the
minimum or maximum range values, it will be clamped to fit inside
them. The range emits the "value_changed" signal if the value
changes.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>range</code></em> :</span></td>
<td> a <a href="GtkRange.html" title="GtkRange"><span class="type">GtkRange</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>value</code></em> :</span></td>
<td> new value of the range
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3673174"></a><h3>
<a name="GtkSensitivityType"></a>enum GtkSensitivityType</h3>
<a class="indexterm" name="id3673188"></a><pre class="programlisting">typedef enum
{
GTK_SENSITIVITY_AUTO,
GTK_SENSITIVITY_ON,
GTK_SENSITIVITY_OFF
} GtkSensitivityType;
</pre>
<p>
Determines how GTK+ handles the sensitivity of stepper arrows
at the end of range widgets.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><a name="GTK-SENSITIVITY-AUTO:CAPS"></a><code class="literal">GTK_SENSITIVITY_AUTO</code></span></td>
<td>The arrow is made insensitive if the
thumb is at the end
</td>
</tr>
<tr>
<td>
<span class="term"><a name="GTK-SENSITIVITY-ON:CAPS"></a><code class="literal">GTK_SENSITIVITY_ON</code></span></td>
<td>The arrow is always sensitive
</td>
</tr>
<tr>
<td>
<span class="term"><a name="GTK-SENSITIVITY-OFF:CAPS"></a><code class="literal">GTK_SENSITIVITY_OFF</code></span></td>
<td>The arrow is always insensitive
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3673279"></a><h3>
<a name="gtk-range-set-lower-stepper-sensitivity"></a>gtk_range_set_lower_stepper_sensitivity ()</h3>
<a class="indexterm" name="id3673295"></a><pre class="programlisting">void gtk_range_set_lower_stepper_sensitivity
(<a href="GtkRange.html" title="GtkRange">GtkRange</a> *range,
<a href="GtkRange.html#GtkSensitivityType">GtkSensitivityType</a> sensitivity);</pre>
<p>
Sets the sensitivity policy for the stepper that points to the
'lower' end of the GtkRange's adjustment.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>range</code></em> :</span></td>
<td> a <a href="GtkRange.html" title="GtkRange"><span class="type">GtkRange</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>sensitivity</code></em> :</span></td>
<td> the lower stepper's sensitivity policy.
</td>
</tr>
</tbody>
</table></div>
<p>Since 2.10
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3673383"></a><h3>
<a name="gtk-range-get-lower-stepper-sensitivity"></a>gtk_range_get_lower_stepper_sensitivity ()</h3>
<a class="indexterm" name="id3673399"></a><pre class="programlisting"><a href="GtkRange.html#GtkSensitivityType">GtkSensitivityType</a> gtk_range_get_lower_stepper_sensitivity
(<a href="GtkRange.html" title="GtkRange">GtkRange</a> *range);</pre>
<p>
Gets the sensitivity policy for the stepper that points to the
'lower' end of the GtkRange's adjustment.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>range</code></em> :</span></td>
<td> a <a href="GtkRange.html" title="GtkRange"><span class="type">GtkRange</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
<td> The lower stepper's sensitivity policy.
</td>
</tr>
</tbody>
</table></div>
<p>Since 2.10
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3673475"></a><h3>
<a name="gtk-range-set-upper-stepper-sensitivity"></a>gtk_range_set_upper_stepper_sensitivity ()</h3>
<a class="indexterm" name="id3673492"></a><pre class="programlisting">void gtk_range_set_upper_stepper_sensitivity
(<a href="GtkRange.html" title="GtkRange">GtkRange</a> *range,
<a href="GtkRange.html#GtkSensitivityType">GtkSensitivityType</a> sensitivity);</pre>
<p>
Sets the sensitivity policy for the stepper that points to the
'upper' end of the GtkRange's adjustment.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>range</code></em> :</span></td>
<td> a <a href="GtkRange.html" title="GtkRange"><span class="type">GtkRange</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>sensitivity</code></em> :</span></td>
<td> the upper stepper's sensitivity policy.
</td>
</tr>
</tbody>
</table></div>
<p>Since 2.10
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3673579"></a><h3>
<a name="gtk-range-get-upper-stepper-sensitivity"></a>gtk_range_get_upper_stepper_sensitivity ()</h3>
<a class="indexterm" name="id3673596"></a><pre class="programlisting"><a href="GtkRange.html#GtkSensitivityType">GtkSensitivityType</a> gtk_range_get_upper_stepper_sensitivity
(<a href="GtkRange.html" title="GtkRange">GtkRange</a> *range);</pre>
<p>
Gets the sensitivity policy for the stepper that points to the
'upper' end of the GtkRange's adjustment.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>range</code></em> :</span></td>
<td> a <a href="GtkRange.html" title="GtkRange"><span class="type">GtkRange</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
<td> The upper stepper's sensitivity policy.
</td>
</tr>
</tbody>
</table></div>
<p>Since 2.10
</p>
</div>
</div>
<div class="refsect1" lang="en">
<a name="id3673673"></a><h2>Property Details</h2>
<div class="refsect2" lang="en">
<a name="id3673683"></a><h3>
<a name="GtkRange--adjustment"></a>The "<code class="literal">adjustment</code>" property</h3>
<a class="indexterm" name="id3673700"></a><pre class="programlisting"> "adjustment" <a href="GtkAdjustment.html" title="GtkAdjustment">GtkAdjustment</a> : Read / Write / Construct</pre>
<p>The GtkAdjustment that contains the current value of this range object.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3673724"></a><h3>
<a name="GtkRange--inverted"></a>The "<code class="literal">inverted</code>" property</h3>
<a class="indexterm" name="id3673740"></a><pre class="programlisting"> "inverted" <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> : Read / Write</pre>
<p>Invert direction slider moves to increase range value.</p>
<p>Default value: FALSE</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3673767"></a><h3>
<a name="GtkRange--lower-stepper-sensitivity"></a>The "<code class="literal">lower-stepper-sensitivity</code>" property</h3>
<a class="indexterm" name="id3673784"></a><pre class="programlisting"> "lower-stepper-sensitivity" <a href="GtkRange.html#GtkSensitivityType">GtkSensitivityType</a> : Read / Write</pre>
<p>The sensitivity policy for the stepper that points to the adjustment's lower side.</p>
<p>Default value: GTK_SENSITIVITY_AUTO</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3673812"></a><h3>
<a name="GtkRange--update-policy"></a>The "<code class="literal">update-policy</code>" property</h3>
<a class="indexterm" name="id3673829"></a><pre class="programlisting"> "update-policy" <a href="gtk-Standard-Enumerations.html#GtkUpdateType">GtkUpdateType</a> : Read / Write</pre>
<p>How the range should be updated on the screen.</p>
<p>Default value: GTK_UPDATE_CONTINUOUS</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3673857"></a><h3>
<a name="GtkRange--upper-stepper-sensitivity"></a>The "<code class="literal">upper-stepper-sensitivity</code>" property</h3>
<a class="indexterm" name="id3673874"></a><pre class="programlisting"> "upper-stepper-sensitivity" <a href="GtkRange.html#GtkSensitivityType">GtkSensitivityType</a> : Read / Write</pre>
<p>The sensitivity policy for the stepper that points to the adjustment's upper side.</p>
<p>Default value: GTK_SENSITIVITY_AUTO</p>
</div>
</div>
<div class="refsect1" lang="en">
<a name="id3673903"></a><h2>Style Property Details</h2>
<div class="refsect2" lang="en">
<a name="id3673914"></a><h3>
<a name="GtkRange--activate-slider"></a>The "<code class="literal">activate-slider</code>" style property</h3>
<a class="indexterm" name="id3673930"></a><pre class="programlisting"> "activate-slider" <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> : Read</pre>
<p>With this option set to TRUE, sliders will be drawn ACTIVE and with shadow IN while they are dragged.</p>
<p>Default value: FALSE</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3673958"></a><h3>
<a name="GtkRange--arrow-displacement-x"></a>The "<code class="literal">arrow-displacement-x</code>" style property</h3>
<a class="indexterm" name="id3673976"></a><pre class="programlisting"> "arrow-displacement-x" <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> : Read</pre>
<p>How far in the x direction to move the arrow when the button is depressed.</p>
<p>Default value: 0</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3674003"></a><h3>
<a name="GtkRange--arrow-displacement-y"></a>The "<code class="literal">arrow-displacement-y</code>" style property</h3>
<a class="indexterm" name="id3674021"></a><pre class="programlisting"> "arrow-displacement-y" <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> : Read</pre>
<p>How far in the y direction to move the arrow when the button is depressed.</p>
<p>Default value: 0</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3674048"></a><h3>
<a name="GtkRange--slider-width"></a>The "<code class="literal">slider-width</code>" style property</h3>
<a class="indexterm" name="id3674065"></a><pre class="programlisting"> "slider-width" <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> : Read</pre>
<p>Width of scrollbar or scale thumb.</p>
<p>Allowed values: >= 0</p>
<p>Default value: 14</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3674095"></a><h3>
<a name="GtkRange--stepper-size"></a>The "<code class="literal">stepper-size</code>" style property</h3>
<a class="indexterm" name="id3674112"></a><pre class="programlisting"> "stepper-size" <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> : Read</pre>
<p>Length of step buttons at ends.</p>
<p>Allowed values: >= 0</p>
<p>Default value: 14</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3674142"></a><h3>
<a name="GtkRange--stepper-spacing"></a>The "<code class="literal">stepper-spacing</code>" style property</h3>
<a class="indexterm" name="id3674159"></a><pre class="programlisting"> "stepper-spacing" <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> : Read</pre>
<p>
The spacing between the stepper buttons and thumb. Note that
setting this value to anything > 0 will automatically set the
trough-under-steppers style property to TRUE as well. Also,
stepper-spacing won't have any effect if there are no steppers.</p>
<p>
</p>
<p>Allowed values: >= 0</p>
<p>Default value: 0</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3674203"></a><h3>
<a name="GtkRange--trough-border"></a>The "<code class="literal">trough-border</code>" style property</h3>
<a class="indexterm" name="id3674220"></a><pre class="programlisting"> "trough-border" <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> : Read</pre>
<p>Spacing between thumb/steppers and outer trough bevel.</p>
<p>Allowed values: >= 0</p>
<p>Default value: 1</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3674251"></a><h3>
<a name="GtkRange--trough-side-details"></a>The "<code class="literal">trough-side-details</code>" style property</h3>
<a class="indexterm" name="id3674268"></a><pre class="programlisting"> "trough-side-details" <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> : Read</pre>
<p>
</p>
<p>
</p>
<p>Default value: FALSE</p>
<p>Since 2.10
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3674304"></a><h3>
<a name="GtkRange--trough-under-steppers"></a>The "<code class="literal">trough-under-steppers</code>" style property</h3>
<a class="indexterm" name="id3674321"></a><pre class="programlisting"> "trough-under-steppers" <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> : Read</pre>
<p>
Whether to draw the trough across the full length of the range or
to exclude the steppers and their spacing. Note that setting the
stepper-spacing style property to any value > 0 will
automatically enable trough-under-steppers too.</p>
<p>
</p>
<p>Default value: TRUE</p>
<p>Since 2.10
</p>
</div>
</div>
<div class="refsect1" lang="en">
<a name="id3674363"></a><h2>Signal Details</h2>
<div class="refsect2" lang="en">
<a name="id3674374"></a><h3>
<a name="GtkRange-adjust-bounds"></a>The "adjust-bounds" signal</h3>
<a class="indexterm" name="id3674384"></a><pre class="programlisting">void user_function (<a href="GtkRange.html" title="GtkRange">GtkRange</a> *range,
<a
href="../glib/glib-Basic-Types.html#gdouble"
>gdouble</a> arg1,
<a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a> user_data) : Run last</pre>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>range</code></em> :</span></td>
<td>the object which received the signal.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>arg1</code></em> :</span></td>
<td>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>user_data</code></em> :</span></td>
<td>user data set when the signal handler was connected.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3674474"></a><h3>
<a name="GtkRange-change-value"></a>The "change-value" signal</h3>
<a class="indexterm" name="id3674484"></a><pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> user_function (<a href="GtkRange.html" title="GtkRange">GtkRange</a> *range,
<a href="gtk-Standard-Enumerations.html#GtkScrollType">GtkScrollType</a> *scroll,
<a
href="../glib/glib-Basic-Types.html#gdouble"
>gdouble</a> value,
<a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a> user_data) : Run last</pre>
<p>
The ::change-value signal is emitted when a scroll action is
performed on a range. It allows an application to determine the
type of scroll event that occurred and the resultant new value.
The application can handle the event itself and return <a
href="../glib/glib-Standard-Macros.html#TRUE:CAPS"
><code class="literal">TRUE</code></a> to
prevent further processing. Or, by returning <a
href="../glib/glib-Standard-Macros.html#FALSE:CAPS"
><code class="literal">FALSE</code></a>, it can pass
the event to other handlers until the default GTK+ handler is
reached.
</p>
<p>
The value parameter is unrounded. An application that overrides
the ::change-value signal is responsible for clamping the value to
the desired number of decimal digits; the default GTK+ handler
clamps the value based on <em class="parameter"><code>range->round_digits</code></em>.
</p>
<p>
It is not possible to use delayed update policies in an overridden
::change-value handler.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>range</code></em> :</span></td>
<td> the range that received the signal.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>scroll</code></em> :</span></td>
<td> the type of scroll action that was performed.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>value</code></em> :</span></td>
<td> the new value resulting from the scroll action.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>returns</code></em> :</span></td>
<td> <a
href="../glib/glib-Standard-Macros.html#TRUE:CAPS"
><code class="literal">TRUE</code></a> to prevent other handlers from being invoked for the
signal. <a
href="../glib/glib-Standard-Macros.html#FALSE:CAPS"
><code class="literal">FALSE</code></a> to propagate the signal further.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>user_data</code></em> :</span></td>
<td>user data set when the signal handler was connected.</td>
</tr>
</tbody>
</table></div>
<p>Since 2.6
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3674684"></a><h3>
<a name="GtkRange-move-slider"></a>The "move-slider" signal</h3>
<a class="indexterm" name="id3674695"></a><pre class="programlisting">void user_function (<a href="GtkRange.html" title="GtkRange">GtkRange</a> *range,
<a href="gtk-Standard-Enumerations.html#GtkScrollType">GtkScrollType</a> *arg1,
<a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a> user_data) : Run last / Action</pre>
<p>
Virtual function that moves the slider. Used for keybindings.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>range</code></em> :</span></td>
<td>the <a href="GtkRange.html" title="GtkRange"><span class="type">GtkRange</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>arg1</code></em> :</span></td>
<td>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>user_data</code></em> :</span></td>
<td>user data set when the signal handler was connected.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3674793"></a><h3>
<a name="GtkRange-value-changed"></a>The "value-changed" signal</h3>
<a class="indexterm" name="id3674804"></a><pre class="programlisting">void user_function (<a href="GtkRange.html" title="GtkRange">GtkRange</a> *range,
<a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a> user_data) : Run last</pre>
<p>
Emitted when the range value changes.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>range</code></em> :</span></td>
<td>the <a href="GtkRange.html" title="GtkRange"><span class="type">GtkRange</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>user_data</code></em> :</span></td>
<td>user data set when the signal handler was connected.</td>
</tr>
</tbody>
</table></div>
</div>
</div>
</div>
</body>
</html>