|
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>GtkAdjustment</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="MiscObjects.html" title="Miscellaneous">
<link rel="prev" href="MiscObjects.html" title="Miscellaneous">
<link rel="next" href="GtkArrow.html" title="GtkArrow">
<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="MiscObjects.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="MiscObjects.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="GtkArrow.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="#id3590540" class="shortcut">Top</a>
 | 
<a href="#id3591004" class="shortcut">Description</a>
 | 
<a href="#id3590762" class="shortcut">Object Hierarchy</a>
 | 
<a href="#id3590801" class="shortcut">Properties</a>
 | 
<a href="#id3590922" class="shortcut">Signals</a></nobr></td></tr>
</table>
<div class="refentry" lang="en">
<a name="GtkAdjustment"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2>
<a name="id3590540"></a><span class="refentrytitle">GtkAdjustment</span>
</h2>
<p>GtkAdjustment — A GtkObject representing an adjustable bounded value</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="GtkAdjustment.html#GtkAdjustment-struct">GtkAdjustment</a>;
<a href="GtkObject.html" title="GtkObject">GtkObject</a>* <a href="GtkAdjustment.html#gtk-adjustment-new">gtk_adjustment_new</a> (<a
href="../glib/glib-Basic-Types.html#gdouble"
>gdouble</a> value,
<a
href="../glib/glib-Basic-Types.html#gdouble"
>gdouble</a> lower,
<a
href="../glib/glib-Basic-Types.html#gdouble"
>gdouble</a> upper,
<a
href="../glib/glib-Basic-Types.html#gdouble"
>gdouble</a> step_increment,
<a
href="../glib/glib-Basic-Types.html#gdouble"
>gdouble</a> page_increment,
<a
href="../glib/glib-Basic-Types.html#gdouble"
>gdouble</a> page_size);
<a
href="../glib/glib-Basic-Types.html#gdouble"
>gdouble</a> <a href="GtkAdjustment.html#gtk-adjustment-get-value">gtk_adjustment_get_value</a> (<a href="GtkAdjustment.html" title="GtkAdjustment">GtkAdjustment</a> *adjustment);
void <a href="GtkAdjustment.html#gtk-adjustment-set-value">gtk_adjustment_set_value</a> (<a href="GtkAdjustment.html" title="GtkAdjustment">GtkAdjustment</a> *adjustment,
<a
href="../glib/glib-Basic-Types.html#gdouble"
>gdouble</a> value);
void <a href="GtkAdjustment.html#gtk-adjustment-clamp-page">gtk_adjustment_clamp_page</a> (<a href="GtkAdjustment.html" title="GtkAdjustment">GtkAdjustment</a> *adjustment,
<a
href="../glib/glib-Basic-Types.html#gdouble"
>gdouble</a> lower,
<a
href="../glib/glib-Basic-Types.html#gdouble"
>gdouble</a> upper);
void <a href="GtkAdjustment.html#gtk-adjustment-changed">gtk_adjustment_changed</a> (<a href="GtkAdjustment.html" title="GtkAdjustment">GtkAdjustment</a> *adjustment);
void <a href="GtkAdjustment.html#gtk-adjustment-value-changed">gtk_adjustment_value_changed</a> (<a href="GtkAdjustment.html" title="GtkAdjustment">GtkAdjustment</a> *adjustment);
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id3590762"></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>
+----GtkAdjustment
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id3590801"></a><h2>Properties</h2>
<pre class="synopsis">
"<a href="GtkAdjustment.html#GtkAdjustment--lower">lower</a>" <a
href="../glib/glib-Basic-Types.html#gdouble"
>gdouble</a> : Read / Write
"<a href="GtkAdjustment.html#GtkAdjustment--page-increment">page-increment</a>" <a
href="../glib/glib-Basic-Types.html#gdouble"
>gdouble</a> : Read / Write
"<a href="GtkAdjustment.html#GtkAdjustment--page-size">page-size</a>" <a
href="../glib/glib-Basic-Types.html#gdouble"
>gdouble</a> : Read / Write
"<a href="GtkAdjustment.html#GtkAdjustment--step-increment">step-increment</a>" <a
href="../glib/glib-Basic-Types.html#gdouble"
>gdouble</a> : Read / Write
"<a href="GtkAdjustment.html#GtkAdjustment--upper">upper</a>" <a
href="../glib/glib-Basic-Types.html#gdouble"
>gdouble</a> : Read / Write
"<a href="GtkAdjustment.html#GtkAdjustment--value">value</a>" <a
href="../glib/glib-Basic-Types.html#gdouble"
>gdouble</a> : Read / Write
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id3590922"></a><h2>Signals</h2>
<pre class="synopsis">
"<a href="GtkAdjustment.html#GtkAdjustment-changed">changed</a>" void user_function (<a href="GtkAdjustment.html" title="GtkAdjustment">GtkAdjustment</a> *adjustment,
<a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a> user_data) : Run first / No recursion
"<a href="GtkAdjustment.html#GtkAdjustment-value-changed">value-changed</a>"
void user_function (<a href="GtkAdjustment.html" title="GtkAdjustment">GtkAdjustment</a> *adjustment,
<a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a> user_data) : Run first / No recursion
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id3591004"></a><h2>Description</h2>
<p>
The <a href="GtkAdjustment.html" title="GtkAdjustment"><span class="type">GtkAdjustment</span></a> object represents a value which has an associated lower
and upper bound, together with step and page increments, and a page size.
It is used within several GTK+ widgets, including
<a href="GtkSpinButton.html" title="GtkSpinButton"><span class="type">GtkSpinButton</span></a>, <a href="GtkViewport.html" title="GtkViewport"><span class="type">GtkViewport</span></a>, and <a href="GtkRange.html" title="GtkRange"><span class="type">GtkRange</span></a> (which is a base class for
<a href="GtkHScrollbar.html" title="GtkHScrollbar"><span class="type">GtkHScrollbar</span></a>, <a href="GtkVScrollbar.html" title="GtkVScrollbar"><span class="type">GtkVScrollbar</span></a>, <a href="GtkHScale.html" title="GtkHScale"><span class="type">GtkHScale</span></a>, and <a href="GtkVScale.html" title="GtkVScale"><span class="type">GtkVScale</span></a>).
</p>
<p>
The <a href="GtkAdjustment.html" title="GtkAdjustment"><span class="type">GtkAdjustment</span></a> object does not update the value itself. Instead
it is left up to the owner of the <a href="GtkAdjustment.html" title="GtkAdjustment"><span class="type">GtkAdjustment</span></a> to control the value.
</p>
<p>
The owner of the <a href="GtkAdjustment.html" title="GtkAdjustment"><span class="type">GtkAdjustment</span></a> typically calls the
<a href="GtkAdjustment.html#gtk-adjustment-value-changed"><code class="function">gtk_adjustment_value_changed()</code></a> and <a href="GtkAdjustment.html#gtk-adjustment-changed"><code class="function">gtk_adjustment_changed()</code></a> functions
after changing the value and its bounds. This results in the emission of the
"value_changed" or "changed" signal respectively.
</p>
</div>
<div class="refsect1" lang="en">
<a name="id3591146"></a><h2>Details</h2>
<div class="refsect2" lang="en">
<a name="id3591156"></a><h3>
<a name="GtkAdjustment-struct"></a>GtkAdjustment</h3>
<a class="indexterm" name="id3591170"></a><pre class="programlisting">typedef struct _GtkAdjustment GtkAdjustment;</pre>
<p>
The <a href="GtkAdjustment.html#GtkAdjustment-struct"><span class="type">GtkAdjustment</span></a> struct contains the following fields.
</p>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col>
<col>
</colgroup>
<tbody>
<tr>
<td>
<a
href="../glib/glib-Basic-Types.html#gdouble"
><span class="type">gdouble</span></a> lower;</td>
<td>the minimum value.</td>
</tr>
<tr>
<td>
<a
href="../glib/glib-Basic-Types.html#gdouble"
><span class="type">gdouble</span></a> upper;</td>
<td>the maximum value.</td>
</tr>
<tr>
<td>
<a
href="../glib/glib-Basic-Types.html#gdouble"
><span class="type">gdouble</span></a> value;</td>
<td>the current value.</td>
</tr>
<tr>
<td>
<a
href="../glib/glib-Basic-Types.html#gdouble"
><span class="type">gdouble</span></a> step_increment;</td>
<td>the increment to use to make minor changes to the value.
In a <a href="GtkScrollbar.html" title="GtkScrollbar"><span class="type">GtkScrollbar</span></a> this increment is used when the mouse is clicked on the
arrows at the top and bottom of the scrollbar, to scroll by a small amount.
</td>
</tr>
<tr>
<td>
<a
href="../glib/glib-Basic-Types.html#gdouble"
><span class="type">gdouble</span></a> page_increment;</td>
<td>the increment to use to make major changes to the value.
In a <a href="GtkScrollbar.html" title="GtkScrollbar"><span class="type">GtkScrollbar</span></a> this increment is used when the mouse is clicked in the
trough, to scroll by a large amount.
</td>
</tr>
<tr>
<td>
<a
href="../glib/glib-Basic-Types.html#gdouble"
><span class="type">gdouble</span></a> page_size;</td>
<td>the page size.
In a <a href="GtkScrollbar.html" title="GtkScrollbar"><span class="type">GtkScrollbar</span></a> this is the size of the area which is currently visible.
</td>
</tr>
</tbody>
</table></div>
<p>
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3591352"></a><h3>
<a name="gtk-adjustment-new"></a>gtk_adjustment_new ()</h3>
<a class="indexterm" name="id3591365"></a><pre class="programlisting"><a href="GtkObject.html" title="GtkObject">GtkObject</a>* gtk_adjustment_new (<a
href="../glib/glib-Basic-Types.html#gdouble"
>gdouble</a> value,
<a
href="../glib/glib-Basic-Types.html#gdouble"
>gdouble</a> lower,
<a
href="../glib/glib-Basic-Types.html#gdouble"
>gdouble</a> upper,
<a
href="../glib/glib-Basic-Types.html#gdouble"
>gdouble</a> step_increment,
<a
href="../glib/glib-Basic-Types.html#gdouble"
>gdouble</a> page_increment,
<a
href="../glib/glib-Basic-Types.html#gdouble"
>gdouble</a> page_size);</pre>
<p>
Creates a new <a href="GtkAdjustment.html" title="GtkAdjustment"><span class="type">GtkAdjustment</span></a>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>value</code></em> :</span></td>
<td>the initial value.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>lower</code></em> :</span></td>
<td>the minimum value.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>upper</code></em> :</span></td>
<td>the maximum value.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>step_increment</code></em> :</span></td>
<td>the step increment.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>page_increment</code></em> :</span></td>
<td>the page increment.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>page_size</code></em> :</span></td>
<td>the page size.
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
<td>a new <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="id3591547"></a><h3>
<a name="gtk-adjustment-get-value"></a>gtk_adjustment_get_value ()</h3>
<a class="indexterm" name="id3591560"></a><pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#gdouble"
>gdouble</a> gtk_adjustment_get_value (<a href="GtkAdjustment.html" title="GtkAdjustment">GtkAdjustment</a> *adjustment);</pre>
<p>
Gets the current value of the adjustment. See
<a href="GtkAdjustment.html#gtk-adjustment-set-value"><code class="function">gtk_adjustment_set_value()</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>adjustment</code></em> :</span></td>
<td> a <a href="GtkAdjustment.html" title="GtkAdjustment"><span class="type">GtkAdjustment</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
<td> The current value of the adjustment.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3591641"></a><h3>
<a name="gtk-adjustment-set-value"></a>gtk_adjustment_set_value ()</h3>
<a class="indexterm" name="id3591654"></a><pre class="programlisting">void gtk_adjustment_set_value (<a href="GtkAdjustment.html" title="GtkAdjustment">GtkAdjustment</a> *adjustment,
<a
href="../glib/glib-Basic-Types.html#gdouble"
>gdouble</a> value);</pre>
<p>
Sets the <a href="GtkAdjustment.html" title="GtkAdjustment"><span class="type">GtkAdjustment</span></a> value. The value is clamped to lie between
<code class="literal">adjustment->lower</code> and
<code class="literal">adjustment->upper</code>.
</p>
<p>
Note that for adjustments which are used in a <a href="GtkScrollbar.html" title="GtkScrollbar"><span class="type">GtkScrollbar</span></a>, the effective
range of allowed values goes from <code class="literal">adjustment->lower</code> to
<code class="literal">adjustment->upper - adjustment->page_size</code>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<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>
<tr>
<td>
<span class="term"><em class="parameter"><code>value</code></em> :</span></td>
<td>the new value.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3591778"></a><h3>
<a name="gtk-adjustment-clamp-page"></a>gtk_adjustment_clamp_page ()</h3>
<a class="indexterm" name="id3591792"></a><pre class="programlisting">void gtk_adjustment_clamp_page (<a href="GtkAdjustment.html" title="GtkAdjustment">GtkAdjustment</a> *adjustment,
<a
href="../glib/glib-Basic-Types.html#gdouble"
>gdouble</a> lower,
<a
href="../glib/glib-Basic-Types.html#gdouble"
>gdouble</a> upper);</pre>
<p>
Updates the <a href="GtkAdjustment.html" title="GtkAdjustment"><span class="type">GtkAdjustment</span></a> <em class="parameter"><code>value</code></em> to ensure that the range between <em class="parameter"><code>lower</code></em>
and <em class="parameter"><code>upper</code></em> is in the current page (i.e. between <em class="parameter"><code>value</code></em> and <em class="parameter"><code>value</code></em> +
<em class="parameter"><code>page_size</code></em>).
If the range is larger than the page size, then only the start of it will
be in the current page.
A "changed" signal will be emitted if the value is changed.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<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>
<tr>
<td>
<span class="term"><em class="parameter"><code>lower</code></em> :</span></td>
<td>the lower value.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>upper</code></em> :</span></td>
<td>the upper value.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3591938"></a><h3>
<a name="gtk-adjustment-changed"></a>gtk_adjustment_changed ()</h3>
<a class="indexterm" name="id3591951"></a><pre class="programlisting">void gtk_adjustment_changed (<a href="GtkAdjustment.html" title="GtkAdjustment">GtkAdjustment</a> *adjustment);</pre>
<p>
Emits a "changed" signal from the <a href="GtkAdjustment.html" title="GtkAdjustment"><span class="type">GtkAdjustment</span></a>.
This is typically called by the owner of the <a href="GtkAdjustment.html" title="GtkAdjustment"><span class="type">GtkAdjustment</span></a> after it has
changed any of the <a href="GtkAdjustment.html" title="GtkAdjustment"><span class="type">GtkAdjustment</span></a> fields other than the value.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><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="id3592034"></a><h3>
<a name="gtk-adjustment-value-changed"></a>gtk_adjustment_value_changed ()</h3>
<a class="indexterm" name="id3592048"></a><pre class="programlisting">void gtk_adjustment_value_changed (<a href="GtkAdjustment.html" title="GtkAdjustment">GtkAdjustment</a> *adjustment);</pre>
<p>
Emits a "value_changed" signal from the <a href="GtkAdjustment.html" title="GtkAdjustment"><span class="type">GtkAdjustment</span></a>.
This is typically called by the owner of the <a href="GtkAdjustment.html" title="GtkAdjustment"><span class="type">GtkAdjustment</span></a> after it has
changed the <a href="GtkAdjustment.html" title="GtkAdjustment"><span class="type">GtkAdjustment</span></a> value field.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><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>
</div>
<div class="refsect1" lang="en">
<a name="id3592131"></a><h2>Property Details</h2>
<div class="refsect2" lang="en">
<a name="id3592142"></a><h3>
<a name="GtkAdjustment--lower"></a>The "<code class="literal">lower</code>" property</h3>
<a class="indexterm" name="id3592159"></a><pre class="programlisting"> "lower" <a
href="../glib/glib-Basic-Types.html#gdouble"
>gdouble</a> : Read / Write</pre>
<p>
The minimum value of the adjustment.</p>
<p>
</p>
<p>Default value: 0</p>
<p>Since 2.4
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3592194"></a><h3>
<a name="GtkAdjustment--page-increment"></a>The "<code class="literal">page-increment</code>" property</h3>
<a class="indexterm" name="id3592211"></a><pre class="programlisting"> "page-increment" <a
href="../glib/glib-Basic-Types.html#gdouble"
>gdouble</a> : Read / Write</pre>
<p>
The page increment of the adjustment.</p>
<p>
</p>
<p>Default value: 0</p>
<p>Since 2.4
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3592246"></a><h3>
<a name="GtkAdjustment--page-size"></a>The "<code class="literal">page-size</code>" property</h3>
<a class="indexterm" name="id3592263"></a><pre class="programlisting"> "page-size" <a
href="../glib/glib-Basic-Types.html#gdouble"
>gdouble</a> : Read / Write</pre>
<p>
The page size of the adjustment.
Note that the page-size is irrelevant and should be set to zero
if the adjustment is used for a simple scalar value, e.g. in a
<a href="GtkSpinButton.html" title="GtkSpinButton"><span class="type">GtkSpinButton</span></a>.</p>
<p>
</p>
<p>Default value: 0</p>
<p>Since 2.4
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3592308"></a><h3>
<a name="GtkAdjustment--step-increment"></a>The "<code class="literal">step-increment</code>" property</h3>
<a class="indexterm" name="id3592325"></a><pre class="programlisting"> "step-increment" <a
href="../glib/glib-Basic-Types.html#gdouble"
>gdouble</a> : Read / Write</pre>
<p>
The step increment of the adjustment.</p>
<p>
</p>
<p>Default value: 0</p>
<p>Since 2.4
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3592360"></a><h3>
<a name="GtkAdjustment--upper"></a>The "<code class="literal">upper</code>" property</h3>
<a class="indexterm" name="id3592377"></a><pre class="programlisting"> "upper" <a
href="../glib/glib-Basic-Types.html#gdouble"
>gdouble</a> : Read / Write</pre>
<p>
The maximum value of the adjustment.
Note that values will be restricted by
<code class="literal">upper - page-size</code> if the page-size
property is nonzero.</p>
<p>
</p>
<p>Default value: 0</p>
<p>Since 2.4
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3592420"></a><h3>
<a name="GtkAdjustment--value"></a>The "<code class="literal">value</code>" property</h3>
<a class="indexterm" name="id3592436"></a><pre class="programlisting"> "value" <a
href="../glib/glib-Basic-Types.html#gdouble"
>gdouble</a> : Read / Write</pre>
<p>
The value of the adjustment.</p>
<p>
</p>
<p>Default value: 0</p>
<p>Since 2.4
</p>
</div>
</div>
<div class="refsect1" lang="en">
<a name="id3592472"></a><h2>Signal Details</h2>
<div class="refsect2" lang="en">
<a name="id3592483"></a><h3>
<a name="GtkAdjustment-changed"></a>The "changed" signal</h3>
<a class="indexterm" name="id3592493"></a><pre class="programlisting">void user_function (<a href="GtkAdjustment.html" title="GtkAdjustment">GtkAdjustment</a> *adjustment,
<a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a> user_data) : Run first / No recursion</pre>
<p>
Emitted when one or more of the <a href="GtkAdjustment.html" title="GtkAdjustment"><span class="type">GtkAdjustment</span></a> fields have been changed,
other than the value field.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>adjustment</code></em> :</span></td>
<td>the object which received the signal.
</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="id3592571"></a><h3>
<a name="GtkAdjustment-value-changed"></a>The "value-changed" signal</h3>
<a class="indexterm" name="id3592582"></a><pre class="programlisting">void user_function (<a href="GtkAdjustment.html" title="GtkAdjustment">GtkAdjustment</a> *adjustment,
<a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a> user_data) : Run first / No recursion</pre>
<p>
Emitted when the <a href="GtkAdjustment.html" title="GtkAdjustment"><span class="type">GtkAdjustment</span></a> value field has been changed.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>adjustment</code></em> :</span></td>
<td>the object which received the signal.
</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>