~canonical-dx-team/ubuntu/maverick/gtk+2.0/menuproxy

« back to all changes in this revision

Viewing changes to docs/reference/gtk/xml/gtkadjustment.xml

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2007-05-04 12:24:25 UTC
  • mfrom: (1.1.21 upstream)
  • Revision ID: james.westby@ubuntu.com-20070504122425-0m8midgzrp40y8w2
Tags: 2.10.12-1ubuntu1
* Sync with Debian
* New upstream version:
  Fixed bugs:
  - 379414 file chooser warnings when changing path in the entry
  - 418585 GtkFileChooserDefault sizing code is not DPI independent
  - 419568 Crash in search if start with special letter
  - 435062 build dies with icon cache validation
  - 379399 Segfault to call gtk_print_operation_run twice.
  - 387889 cups backend has problems when there are too many printers
  - 418531 invalid read to gtkicontheme.c gtk_icon_theme_lookup_icon...
  - 423916 crash in color scheme code
  - 424042 Segmentation fault while quickly pressing Alt+arrows
  - 415260 Protect against negative indices when setting values in G...
  - 419171 XGetVisualInfo() may not set nxvisuals
  - 128852 Gdk cursors don't look good on win32
  - 344657 Ctrl-H doesn't toggle "Show Hidden Files" setting
  - 345345 PrintOperation::paginate is not emitted for class handler
  - 347567 GtkPrintOperation::end-print is not emitted if it's cance...
  - 369112 gtk_ui_manager_add_ui should accept unnamed separator
  - 392015 Selected menu item invisible on Windows Vista
  - 399253 MS-Windows Theme Bottom Tab placement rendering glitches
  - 399425 gtk_input_dialog_fill_axes() adds child to gtkscrolledwin...
  - 403251 [patch] little memory leak in GtkPrintJob
  - 403267 [patch] memory leak in GtkPageSetupUnixDialog
  - 403470 MS-Windows Theme tab placement other than on top leaks a ...
  - 404506 Windows system fonts that have multi-byte font names cann...
  - 405089 Incorrect window placement for GtkEventBox private window
  - 405515 Minor leak in gtkfilesystemmodel.c
  - 405539 gdk_pixbuf_save() for PNG saver can return FALSE without ...
  - 415681 gdk_window_clear_area includes an extra line and column o...
  - 418219 GtkRecentChooser should apply filter before sorting and c...
  - 418403 Scroll to printer after selecting it from settings
  - 421985 _gtk_print_operation_platform_backend_launch_preview
  - 421990 gtk_print_job_get_surface
  - 421993 gtk_print_operation_init
  - 423064 Conditional jump or move depends on uninitialised value(s...
  - 423722 Fix printing header in gtk-demo
  - 424168 gtk_print_operation_run on async preview
  - 425655 Don't install gtk+-unix-print-2.0.pc on non-UNIX platforms
  - 425786 GDK segfaults if XineramaQueryScreens fails
  - 428665 Lpr Backend gets stuck in infinite loop during gtk_enumer...
  - 429902 GtkPrintOperation leaks cairo contextes
  - 431997 First delay of GdkPixbufAnimationIter is wrong
  - 433242 Inconsistent scroll arrow position calculations
  - 433972 Placing gtk.Expander inside a gtk.TextView() changes gtk....
  - 434261 _gtk_toolbar_elide_underscores incorrectly handles some s...
  - 383354 ctrl-L should make 'Location' entry disappear
  - 418673 gtk_recent_manager_add_item
  - 429732 gtk_accel_group_finalize accesses invalid memory
  - 435028 WM_CLIENT_LEADER is wrong on the leader_window
  - 431067 Background of the header window is not updated
  - 338843 add recent files support inside the ui manager
  - 148535 add drop shadow to menus, tooltips, etc. under Windows XP
* debian/control.in:
  - Conflicts on ubuntulooks (<= 0.9.11-1)
* debian/patches/15_default-fallback-icon-theme.patch:
  - patch from Debian, fallback on gnome icon theme

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<refentry id="GtkAdjustment">
 
2
<refmeta>
 
3
<refentrytitle role="top_of_page">GtkAdjustment</refentrytitle>
 
4
<manvolnum>3</manvolnum>
 
5
<refmiscinfo>GTK Library</refmiscinfo>
 
6
</refmeta>
 
7
 
 
8
<refnamediv>
 
9
<refname>GtkAdjustment</refname>
 
10
<refpurpose>A GtkObject representing an adjustable bounded value</refpurpose>
 
11
<!--[<xref linkend="desc" endterm="desc.title"/>]-->
 
12
</refnamediv>
 
13
 
 
14
<refsynopsisdiv role="synopsis">
 
15
<title role="synopsis.title">Synopsis</title>
 
16
 
 
17
<synopsis>
 
18
 
 
19
#include &lt;gtk/gtk.h&gt;
 
20
 
 
21
 
 
22
                    <link linkend="GtkAdjustment-struct">GtkAdjustment</link>;
 
23
<link linkend="GtkObject">GtkObject</link>*          <link linkend="gtk-adjustment-new">gtk_adjustment_new</link>                  (<link linkend="gdouble">gdouble</link> value,
 
24
                                                         <link linkend="gdouble">gdouble</link> lower,
 
25
                                                         <link linkend="gdouble">gdouble</link> upper,
 
26
                                                         <link linkend="gdouble">gdouble</link> step_increment,
 
27
                                                         <link linkend="gdouble">gdouble</link> page_increment,
 
28
                                                         <link linkend="gdouble">gdouble</link> page_size);
 
29
<link linkend="gdouble">gdouble</link>             <link linkend="gtk-adjustment-get-value">gtk_adjustment_get_value</link>            (<link linkend="GtkAdjustment">GtkAdjustment</link> *adjustment);
 
30
<link linkend="void">void</link>                <link linkend="gtk-adjustment-set-value">gtk_adjustment_set_value</link>            (<link linkend="GtkAdjustment">GtkAdjustment</link> *adjustment,
 
31
                                                         <link linkend="gdouble">gdouble</link> value);
 
32
<link linkend="void">void</link>                <link linkend="gtk-adjustment-clamp-page">gtk_adjustment_clamp_page</link>           (<link linkend="GtkAdjustment">GtkAdjustment</link> *adjustment,
 
33
                                                         <link linkend="gdouble">gdouble</link> lower,
 
34
                                                         <link linkend="gdouble">gdouble</link> upper);
 
35
<link linkend="void">void</link>                <link linkend="gtk-adjustment-changed">gtk_adjustment_changed</link>              (<link linkend="GtkAdjustment">GtkAdjustment</link> *adjustment);
 
36
<link linkend="void">void</link>                <link linkend="gtk-adjustment-value-changed">gtk_adjustment_value_changed</link>        (<link linkend="GtkAdjustment">GtkAdjustment</link> *adjustment);
 
37
 
 
38
 
 
39
</synopsis>
 
40
</refsynopsisdiv>
 
41
 
 
42
<refsect1 role="object_hierarchy">
 
43
<title role="object_hierarchy.title">Object Hierarchy</title>
 
44
<synopsis>
 
45
 
 
46
  <link linkend="GObject">GObject</link>
 
47
   +----<link linkend="GInitiallyUnowned">GInitiallyUnowned</link>
 
48
         +----<link linkend="GtkObject">GtkObject</link>
 
49
               +----GtkAdjustment
 
50
</synopsis>
 
51
 
 
52
</refsect1>
 
53
 
 
54
 
 
55
 
 
56
 
 
57
 
 
58
<refsect1 role="properties">
 
59
<title role="properties.title">Properties</title>
 
60
<synopsis>
 
61
 
 
62
  &quot;<link linkend="GtkAdjustment--lower">lower</link>&quot;                    <link linkend="gdouble">gdouble</link>               : Read / Write
 
63
  &quot;<link linkend="GtkAdjustment--page-increment">page-increment</link>&quot;           <link linkend="gdouble">gdouble</link>               : Read / Write
 
64
  &quot;<link linkend="GtkAdjustment--page-size">page-size</link>&quot;                <link linkend="gdouble">gdouble</link>               : Read / Write
 
65
  &quot;<link linkend="GtkAdjustment--step-increment">step-increment</link>&quot;           <link linkend="gdouble">gdouble</link>               : Read / Write
 
66
  &quot;<link linkend="GtkAdjustment--upper">upper</link>&quot;                    <link linkend="gdouble">gdouble</link>               : Read / Write
 
67
  &quot;<link linkend="GtkAdjustment--value">value</link>&quot;                    <link linkend="gdouble">gdouble</link>               : Read / Write
 
68
</synopsis>
 
69
</refsect1>
 
70
 
 
71
<refsect1 role="signal_proto">
 
72
<title role="signal_proto.title">Signals</title>
 
73
<synopsis>
 
74
 
 
75
  &quot;<link linkend="GtkAdjustment-changed">changed</link>&quot;                                        : Run First / No Recursion
 
76
  &quot;<link linkend="GtkAdjustment-value-changed">value-changed</link>&quot;                                  : Run First / No Recursion
 
77
</synopsis>
 
78
</refsect1>
 
79
 
 
80
 
 
81
<refsect1 role="desc">
 
82
<title role="desc.title">Description</title>
 
83
<para>
 
84
The <link linkend="GtkAdjustment"><type>GtkAdjustment</type></link> object represents a value which has an associated lower
 
85
and upper bound, together with step and page increments, and a page size.
 
86
It is used within several GTK+ widgets, including
 
87
<link linkend="GtkSpinButton"><type>GtkSpinButton</type></link>, <link linkend="GtkViewport"><type>GtkViewport</type></link>, and <link linkend="GtkRange"><type>GtkRange</type></link> (which is a base class for
 
88
<link linkend="GtkHScrollbar"><type>GtkHScrollbar</type></link>, <link linkend="GtkVScrollbar"><type>GtkVScrollbar</type></link>, <link linkend="GtkHScale"><type>GtkHScale</type></link>, and <link linkend="GtkVScale"><type>GtkVScale</type></link>).
 
89
</para>
 
90
<para>
 
91
The <link linkend="GtkAdjustment"><type>GtkAdjustment</type></link> object does not update the value itself. Instead
 
92
it is left up to the owner of the <link linkend="GtkAdjustment"><type>GtkAdjustment</type></link> to control the value.
 
93
</para>
 
94
<para>
 
95
The owner of the <link linkend="GtkAdjustment"><type>GtkAdjustment</type></link> typically calls the
 
96
<link linkend="gtk-adjustment-value-changed"><function>gtk_adjustment_value_changed()</function></link> and <link linkend="gtk-adjustment-changed"><function>gtk_adjustment_changed()</function></link> functions
 
97
after changing the value and its bounds. This results in the emission of the
 
98
&quot;value_changed&quot; or &quot;changed&quot; signal respectively.
 
99
</para>
 
100
</refsect1>
 
101
 
 
102
<refsect1 role="details">
 
103
<title role="details.title">Details</title>
 
104
<refsect2>
 
105
<title><anchor id="GtkAdjustment-struct" role="struct"/>GtkAdjustment</title>
 
106
<indexterm><primary>GtkAdjustment</primary></indexterm><programlisting>typedef struct _GtkAdjustment GtkAdjustment;</programlisting>
 
107
<para>
 
108
The <link linkend="GtkAdjustment-struct"><type>GtkAdjustment</type></link> struct contains the following fields.
 
109
 
 
110
<informaltable pgwide="1" frame="none" role="struct">
 
111
<tgroup cols="2"><colspec colwidth="2*"/><colspec colwidth="8*"/>
 
112
<tbody>
 
113
 
 
114
<row>
 
115
<entry><link linkend="gdouble"><type>gdouble</type></link> lower;</entry>
 
116
<entry>the minimum value.</entry>
 
117
</row>
 
118
 
 
119
<row>
 
120
<entry><link linkend="gdouble"><type>gdouble</type></link> upper;</entry>
 
121
<entry>the maximum value.</entry>
 
122
</row>
 
123
 
 
124
<row>
 
125
<entry><link linkend="gdouble"><type>gdouble</type></link> value;</entry>
 
126
<entry>the current value.</entry>
 
127
</row>
 
128
 
 
129
<row>
 
130
<entry><link linkend="gdouble"><type>gdouble</type></link> step_increment;</entry>
 
131
<entry>the increment to use to make minor changes to the value.
 
132
In a <link linkend="GtkScrollbar"><type>GtkScrollbar</type></link> this increment is used when the mouse is clicked on the
 
133
arrows at the top and bottom of the scrollbar, to scroll by a small amount.
 
134
</entry>
 
135
</row>
 
136
 
 
137
<row>
 
138
<entry><link linkend="gdouble"><type>gdouble</type></link> page_increment;</entry>
 
139
<entry>the increment to use to make major changes to the value.
 
140
In a <link linkend="GtkScrollbar"><type>GtkScrollbar</type></link> this increment is used when the mouse is clicked in the
 
141
trough, to scroll by a large amount.
 
142
</entry>
 
143
</row>
 
144
 
 
145
<row>
 
146
<entry><link linkend="gdouble"><type>gdouble</type></link> page_size;</entry>
 
147
<entry>the page size.
 
148
In a <link linkend="GtkScrollbar"><type>GtkScrollbar</type></link> this is the size of the area which is currently visible.
 
149
</entry>
 
150
</row>
 
151
 
 
152
</tbody></tgroup></informaltable>
 
153
 
 
154
</para></refsect2>
 
155
<refsect2>
 
156
<title><anchor id="gtk-adjustment-new" role="function"/>gtk_adjustment_new ()</title>
 
157
<indexterm><primary>gtk_adjustment_new</primary></indexterm><programlisting><link linkend="GtkObject">GtkObject</link>*          gtk_adjustment_new                  (<link linkend="gdouble">gdouble</link> value,
 
158
                                                         <link linkend="gdouble">gdouble</link> lower,
 
159
                                                         <link linkend="gdouble">gdouble</link> upper,
 
160
                                                         <link linkend="gdouble">gdouble</link> step_increment,
 
161
                                                         <link linkend="gdouble">gdouble</link> page_increment,
 
162
                                                         <link linkend="gdouble">gdouble</link> page_size);</programlisting>
 
163
<para>
 
164
Creates a new <link linkend="GtkAdjustment"><type>GtkAdjustment</type></link>.
 
165
</para><variablelist role="params">
 
166
<varlistentry><term><parameter>value</parameter>&nbsp;:</term>
 
167
<listitem><simpara>the initial value.
 
168
</simpara></listitem></varlistentry>
 
169
<varlistentry><term><parameter>lower</parameter>&nbsp;:</term>
 
170
<listitem><simpara>the minimum value.
 
171
</simpara></listitem></varlistentry>
 
172
<varlistentry><term><parameter>upper</parameter>&nbsp;:</term>
 
173
<listitem><simpara>the maximum value.
 
174
</simpara></listitem></varlistentry>
 
175
<varlistentry><term><parameter>step_increment</parameter>&nbsp;:</term>
 
176
<listitem><simpara>the step increment.
 
177
</simpara></listitem></varlistentry>
 
178
<varlistentry><term><parameter>page_increment</parameter>&nbsp;:</term>
 
179
<listitem><simpara>the page increment.
 
180
</simpara></listitem></varlistentry>
 
181
<varlistentry><term><parameter>page_size</parameter>&nbsp;:</term>
 
182
<listitem><simpara>the page size.
 
183
</simpara></listitem></varlistentry>
 
184
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara>a new <link linkend="GtkAdjustment"><type>GtkAdjustment</type></link>.
 
185
 
 
186
 
 
187
</simpara></listitem></varlistentry>
 
188
</variablelist></refsect2>
 
189
<refsect2>
 
190
<title><anchor id="gtk-adjustment-get-value" role="function"/>gtk_adjustment_get_value ()</title>
 
191
<indexterm><primary>gtk_adjustment_get_value</primary></indexterm><programlisting><link linkend="gdouble">gdouble</link>             gtk_adjustment_get_value            (<link linkend="GtkAdjustment">GtkAdjustment</link> *adjustment);</programlisting>
 
192
<para>
 
193
Gets the current value of the adjustment. See
 
194
<link linkend="gtk-adjustment-set-value"><function>gtk_adjustment_set_value()</function></link>.</para>
 
195
<para>
 
196
 
 
197
</para><variablelist role="params">
 
198
<varlistentry><term><parameter>adjustment</parameter>&nbsp;:</term>
 
199
<listitem><simpara> a <link linkend="GtkAdjustment"><type>GtkAdjustment</type></link>
 
200
</simpara></listitem></varlistentry>
 
201
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> The current value of the adjustment.
 
202
</simpara></listitem></varlistentry>
 
203
</variablelist></refsect2>
 
204
<refsect2>
 
205
<title><anchor id="gtk-adjustment-set-value" role="function"/>gtk_adjustment_set_value ()</title>
 
206
<indexterm><primary>gtk_adjustment_set_value</primary></indexterm><programlisting><link linkend="void">void</link>                gtk_adjustment_set_value            (<link linkend="GtkAdjustment">GtkAdjustment</link> *adjustment,
 
207
                                                         <link linkend="gdouble">gdouble</link> value);</programlisting>
 
208
<para>
 
209
Sets the <link linkend="GtkAdjustment"><type>GtkAdjustment</type></link> value. The value is clamped to lie between
 
210
<literal>adjustment-&gt;lower</literal> and
 
211
<literal>adjustment-&gt;upper</literal>.
 
212
</para>
 
213
<para>
 
214
Note that for adjustments which are used in a <link linkend="GtkScrollbar"><type>GtkScrollbar</type></link>, the effective
 
215
range of allowed values goes from <literal>adjustment-&gt;lower</literal> to
 
216
<literal>adjustment-&gt;upper - adjustment-&gt;page_size</literal>.
 
217
</para><variablelist role="params">
 
218
<varlistentry><term><parameter>adjustment</parameter>&nbsp;:</term>
 
219
<listitem><simpara>a <link linkend="GtkAdjustment"><type>GtkAdjustment</type></link>.
 
220
</simpara></listitem></varlistentry>
 
221
<varlistentry><term><parameter>value</parameter>&nbsp;:</term>
 
222
<listitem><simpara>the new value.
 
223
 
 
224
 
 
225
</simpara></listitem></varlistentry>
 
226
</variablelist></refsect2>
 
227
<refsect2>
 
228
<title><anchor id="gtk-adjustment-clamp-page" role="function"/>gtk_adjustment_clamp_page ()</title>
 
229
<indexterm><primary>gtk_adjustment_clamp_page</primary></indexterm><programlisting><link linkend="void">void</link>                gtk_adjustment_clamp_page           (<link linkend="GtkAdjustment">GtkAdjustment</link> *adjustment,
 
230
                                                         <link linkend="gdouble">gdouble</link> lower,
 
231
                                                         <link linkend="gdouble">gdouble</link> upper);</programlisting>
 
232
<para>
 
233
Updates the <link linkend="GtkAdjustment"><type>GtkAdjustment</type></link> <parameter>value</parameter> to ensure that the range between <parameter>lower</parameter>
 
234
and <parameter>upper</parameter> is in the current page (i.e. between <parameter>value</parameter> and <parameter>value</parameter> +
 
235
<parameter>page_size</parameter>).
 
236
If the range is larger than the page size, then only the start of it will
 
237
be in the current page.
 
238
A &quot;changed&quot; signal will be emitted if the value is changed.
 
239
</para><variablelist role="params">
 
240
<varlistentry><term><parameter>adjustment</parameter>&nbsp;:</term>
 
241
<listitem><simpara>a <link linkend="GtkAdjustment"><type>GtkAdjustment</type></link>.
 
242
</simpara></listitem></varlistentry>
 
243
<varlistentry><term><parameter>lower</parameter>&nbsp;:</term>
 
244
<listitem><simpara>the lower value.
 
245
</simpara></listitem></varlistentry>
 
246
<varlistentry><term><parameter>upper</parameter>&nbsp;:</term>
 
247
<listitem><simpara>the upper value.
 
248
 
 
249
 
 
250
</simpara></listitem></varlistentry>
 
251
</variablelist></refsect2>
 
252
<refsect2>
 
253
<title><anchor id="gtk-adjustment-changed" role="function"/>gtk_adjustment_changed ()</title>
 
254
<indexterm><primary>gtk_adjustment_changed</primary></indexterm><programlisting><link linkend="void">void</link>                gtk_adjustment_changed              (<link linkend="GtkAdjustment">GtkAdjustment</link> *adjustment);</programlisting>
 
255
<para>
 
256
Emits a &quot;changed&quot; signal from the <link linkend="GtkAdjustment"><type>GtkAdjustment</type></link>.
 
257
This is typically called by the owner of the <link linkend="GtkAdjustment"><type>GtkAdjustment</type></link> after it has
 
258
changed any of the <link linkend="GtkAdjustment"><type>GtkAdjustment</type></link> fields other than the value.
 
259
</para><variablelist role="params">
 
260
<varlistentry><term><parameter>adjustment</parameter>&nbsp;:</term>
 
261
<listitem><simpara>a <link linkend="GtkAdjustment"><type>GtkAdjustment</type></link>
 
262
 
 
263
 
 
264
</simpara></listitem></varlistentry>
 
265
</variablelist></refsect2>
 
266
<refsect2>
 
267
<title><anchor id="gtk-adjustment-value-changed" role="function"/>gtk_adjustment_value_changed ()</title>
 
268
<indexterm><primary>gtk_adjustment_value_changed</primary></indexterm><programlisting><link linkend="void">void</link>                gtk_adjustment_value_changed        (<link linkend="GtkAdjustment">GtkAdjustment</link> *adjustment);</programlisting>
 
269
<para>
 
270
Emits a &quot;value_changed&quot; signal from the <link linkend="GtkAdjustment"><type>GtkAdjustment</type></link>.
 
271
This is typically called by the owner of the <link linkend="GtkAdjustment"><type>GtkAdjustment</type></link> after it has
 
272
changed the <link linkend="GtkAdjustment"><type>GtkAdjustment</type></link> value field.
 
273
</para><variablelist role="params">
 
274
<varlistentry><term><parameter>adjustment</parameter>&nbsp;:</term>
 
275
<listitem><simpara>a <link linkend="GtkAdjustment"><type>GtkAdjustment</type></link>
 
276
 
 
277
 
 
278
</simpara></listitem></varlistentry>
 
279
</variablelist></refsect2>
 
280
 
 
281
</refsect1>
 
282
<refsect1 role="property_details">
 
283
<title role="property_details.title">Property Details</title>
 
284
<refsect2><title><anchor id="GtkAdjustment--lower"/>The &quot;<literal>lower</literal>&quot; property</title>
 
285
<indexterm role="2.4"><primary>GtkAdjustment:lower</primary></indexterm><programlisting>  &quot;lower&quot;                    <link linkend="gdouble">gdouble</link>               : Read / Write</programlisting>
 
286
<para>
 
287
The minimum value of the adjustment.</para>
 
288
<para>
 
289
 
 
290
</para><para>Default value: 0</para>
 
291
<para>Since  2.4
 
292
</para>
 
293
</refsect2>
 
294
<refsect2><title><anchor id="GtkAdjustment--page-increment"/>The &quot;<literal>page-increment</literal>&quot; property</title>
 
295
<indexterm role="2.4"><primary>GtkAdjustment:page-increment</primary></indexterm><programlisting>  &quot;page-increment&quot;           <link linkend="gdouble">gdouble</link>               : Read / Write</programlisting>
 
296
<para>
 
297
The page increment of the adjustment.</para>
 
298
<para>
 
299
 
 
300
</para><para>Default value: 0</para>
 
301
<para>Since  2.4
 
302
</para>
 
303
</refsect2>
 
304
<refsect2><title><anchor id="GtkAdjustment--page-size"/>The &quot;<literal>page-size</literal>&quot; property</title>
 
305
<indexterm role="2.4"><primary>GtkAdjustment:page-size</primary></indexterm><programlisting>  &quot;page-size&quot;                <link linkend="gdouble">gdouble</link>               : Read / Write</programlisting>
 
306
<para>
 
307
The page size of the adjustment. 
 
308
Note that the page-size is irrelevant and should be set to zero
 
309
if the adjustment is used for a simple scalar value, e.g. in a 
 
310
<link linkend="GtkSpinButton"><type>GtkSpinButton</type></link>.</para>
 
311
<para>
 
312
 
 
313
</para><para>Default value: 0</para>
 
314
<para>Since  2.4
 
315
</para>
 
316
</refsect2>
 
317
<refsect2><title><anchor id="GtkAdjustment--step-increment"/>The &quot;<literal>step-increment</literal>&quot; property</title>
 
318
<indexterm role="2.4"><primary>GtkAdjustment:step-increment</primary></indexterm><programlisting>  &quot;step-increment&quot;           <link linkend="gdouble">gdouble</link>               : Read / Write</programlisting>
 
319
<para>
 
320
The step increment of the adjustment.</para>
 
321
<para>
 
322
 
 
323
</para><para>Default value: 0</para>
 
324
<para>Since  2.4
 
325
</para>
 
326
</refsect2>
 
327
<refsect2><title><anchor id="GtkAdjustment--upper"/>The &quot;<literal>upper</literal>&quot; property</title>
 
328
<indexterm role="2.4"><primary>GtkAdjustment:upper</primary></indexterm><programlisting>  &quot;upper&quot;                    <link linkend="gdouble">gdouble</link>               : Read / Write</programlisting>
 
329
<para>
 
330
The maximum value of the adjustment. 
 
331
Note that values will be restricted by 
 
332
<literal>upper - page-size</literal> if the page-size 
 
333
property is nonzero.</para>
 
334
<para>
 
335
 
 
336
</para><para>Default value: 0</para>
 
337
<para>Since  2.4
 
338
</para>
 
339
</refsect2>
 
340
<refsect2><title><anchor id="GtkAdjustment--value"/>The &quot;<literal>value</literal>&quot; property</title>
 
341
<indexterm role="2.4"><primary>GtkAdjustment:value</primary></indexterm><programlisting>  &quot;value&quot;                    <link linkend="gdouble">gdouble</link>               : Read / Write</programlisting>
 
342
<para>
 
343
The value of the adjustment.</para>
 
344
<para>
 
345
 
 
346
</para><para>Default value: 0</para>
 
347
<para>Since  2.4
 
348
</para>
 
349
</refsect2>
 
350
 
 
351
</refsect1>
 
352
 
 
353
<refsect1 role="signals">
 
354
<title role="signals.title">Signal Details</title>
 
355
<refsect2><title><anchor id="GtkAdjustment-changed"/>The &quot;changed&quot; signal</title>
 
356
<indexterm><primary>GtkAdjustment::changed</primary></indexterm><programlisting><link linkend="void">void</link>                user_function                      (<link linkend="GtkAdjustment">GtkAdjustment</link> *adjustment,
 
357
                                                        <link linkend="gpointer">gpointer</link>       user_data)       : Run First / No Recursion</programlisting>
 
358
<para>
 
359
Emitted when one or more of the <link linkend="GtkAdjustment"><type>GtkAdjustment</type></link> fields have been changed,
 
360
other than the value field.
 
361
</para><variablelist role="params">
 
362
<varlistentry><term><parameter>adjustment</parameter>&nbsp;:</term>
 
363
<listitem><simpara>the object which received the signal.
 
364
 
 
365
</simpara></listitem></varlistentry>
 
366
<varlistentry><term><parameter>user_data</parameter>&nbsp;:</term>
 
367
<listitem><simpara>user data set when the signal handler was connected.</simpara></listitem></varlistentry>
 
368
</variablelist></refsect2><refsect2><title><anchor id="GtkAdjustment-value-changed"/>The &quot;value-changed&quot; signal</title>
 
369
<indexterm><primary>GtkAdjustment::value-changed</primary></indexterm><programlisting><link linkend="void">void</link>                user_function                      (<link linkend="GtkAdjustment">GtkAdjustment</link> *adjustment,
 
370
                                                        <link linkend="gpointer">gpointer</link>       user_data)       : Run First / No Recursion</programlisting>
 
371
<para>
 
372
Emitted when the <link linkend="GtkAdjustment"><type>GtkAdjustment</type></link> value field has been changed.
 
373
</para><variablelist role="params">
 
374
<varlistentry><term><parameter>adjustment</parameter>&nbsp;:</term>
 
375
<listitem><simpara>the object which received the signal.
 
376
 
 
377
</simpara></listitem></varlistentry>
 
378
<varlistentry><term><parameter>user_data</parameter>&nbsp;:</term>
 
379
<listitem><simpara>user data set when the signal handler was connected.</simpara></listitem></varlistentry>
 
380
</variablelist></refsect2>
 
381
</refsect1>
 
382
 
 
383
 
 
384
 
 
385
</refentry>