~ubuntu-branches/ubuntu/gutsy/gimp/gutsy

« back to all changes in this revision

Viewing changes to devel-docs/libgimpwidgets/html/libgimpwidgets-GimpWidgets.html

  • Committer: Bazaar Package Importer
  • Author(s): Steve Kowalik
  • Date: 2007-09-30 18:06:49 UTC
  • mfrom: (1.1.7 upstream)
  • Revision ID: james.westby@ubuntu.com-20070930180649-f647f0cxj32tgyn3
Tags: 2.4.0~rc3-1ubuntu1
* Resynchronized with Debian.
* Remaining Ubuntu changes:
  - 02_help-message.patch, 03_gimp.desktop.in.in.patch: Distro changes.
  - Weave i18n magic in the rules file.
  - Munge Maintainer field as per spec.
* Ubuntu changes dropped:
  - 10_dont_show_wizard.patch: Unused, upstream doesn't call it anymore.
  - Use dh_icons.
* Disabled the print plugin, and removed the Conflicts/Replaces on
  gimp-print.

Show diffs side-by-side

added added

removed removed

Lines of Context:
33
33
<th width="100%" align="center">GIMP Widgets Library Reference Manual</th>
34
34
<td><a accesskey="n" href="libgimpwidgets-deprecated.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
35
35
</tr>
36
 
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2615070" class="shortcut">Top</a>
 
36
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2619802" class="shortcut">Top</a>
37
37
                  &#160;|&#160;
38
 
                  <a href="#id2699144" class="shortcut">Description</a></nobr></td></tr>
 
38
                  <a href="#id2699177" class="shortcut">Description</a></nobr></td></tr>
39
39
</table>
40
40
<div class="refentry" lang="en">
41
41
<a name="libgimpwidgets-GimpWidgets"></a><div class="titlepage"></div>
42
42
<div class="refnamediv"><table width="100%"><tr>
43
43
<td valign="top">
44
44
<h2>
45
 
<a name="id2615070"></a><span class="refentrytitle">GimpWidgets</span>
 
45
<a name="id2619802"></a><span class="refentrytitle">GimpWidgets</span>
46
46
</h2>
47
47
<p>GimpWidgets &#8212; A collection of convenient widget constructors, standard callbacks and
48
48
helper functions.</p>
55
55
 
56
56
 
57
57
 
58
 
GtkWidget*          <a class="link" href="libgimpwidgets-GimpWidgets.html#gimp-radio-group-new">gimp_radio_group_new</a>                (gboolean in_frame,
59
 
                                                         const gchar *frame_title,
60
 
                                                         ...);
61
 
GtkWidget*          <a class="link" href="libgimpwidgets-GimpWidgets.html#gimp-radio-group-new2">gimp_radio_group_new2</a>               (gboolean in_frame,
62
 
                                                         const gchar *frame_title,
63
 
                                                         GCallback radio_button_callback,
64
 
                                                         gpointer radio_button_callback_data,
65
 
                                                         gpointer initial,
66
 
                                                         ...);
67
 
void                <a class="link" href="libgimpwidgets-GimpWidgets.html#gimp-radio-group-set-active">gimp_radio_group_set_active</a>         (GtkRadioButton *radio_button,
68
 
                                                         gpointer item_data);
69
 
GtkWidget*          <a class="link" href="libgimpwidgets-GimpWidgets.html#gimp-int-radio-group-new">gimp_int_radio_group_new</a>            (gboolean in_frame,
70
 
                                                         const gchar *frame_title,
71
 
                                                         GCallback radio_button_callback,
72
 
                                                         gpointer radio_button_callback_data,
73
 
                                                         gint initial,
74
 
                                                         ...);
75
 
void                <a class="link" href="libgimpwidgets-GimpWidgets.html#gimp-int-radio-group-set-active">gimp_int_radio_group_set_active</a>     (GtkRadioButton *radio_button,
76
 
                                                         gint item_data);
77
 
GtkWidget*          <a class="link" href="libgimpwidgets-GimpWidgets.html#gimp-spin-button-new">gimp_spin_button_new</a>                (GtkObject **adjustment,
78
 
                                                         gdouble value,
79
 
                                                         gdouble lower,
80
 
                                                         gdouble upper,
81
 
                                                         gdouble step_increment,
82
 
                                                         gdouble page_increment,
83
 
                                                         gdouble page_size,
84
 
                                                         gdouble climb_rate,
85
 
                                                         guint digits);
 
58
<a
 
59
href="../gtk/GtkWidget.html"
 
60
>GtkWidget</a>*          <a class="link" href="libgimpwidgets-GimpWidgets.html#gimp-radio-group-new">gimp_radio_group_new</a>                (<a
 
61
href="../glib/glib-Basic-Types.html#gboolean"
 
62
>gboolean</a> in_frame,
 
63
                                                         const <a
 
64
href="../glib/glib-Basic-Types.html#gchar"
 
65
>gchar</a> *frame_title,
 
66
                                                         ...);
 
67
<a
 
68
href="../gtk/GtkWidget.html"
 
69
>GtkWidget</a>*          <a class="link" href="libgimpwidgets-GimpWidgets.html#gimp-radio-group-new2">gimp_radio_group_new2</a>               (<a
 
70
href="../glib/glib-Basic-Types.html#gboolean"
 
71
>gboolean</a> in_frame,
 
72
                                                         const <a
 
73
href="../glib/glib-Basic-Types.html#gchar"
 
74
>gchar</a> *frame_title,
 
75
                                                         <a
 
76
href="../gobject/gobject-Closures.html#GCallback"
 
77
>GCallback</a> radio_button_callback,
 
78
                                                         <a
 
79
href="../glib/glib-Basic-Types.html#gpointer"
 
80
>gpointer</a> radio_button_callback_data,
 
81
                                                         <a
 
82
href="../glib/glib-Basic-Types.html#gpointer"
 
83
>gpointer</a> initial,
 
84
                                                         ...);
 
85
void                <a class="link" href="libgimpwidgets-GimpWidgets.html#gimp-radio-group-set-active">gimp_radio_group_set_active</a>         (<a
 
86
href="../gtk/GtkRadioButton.html"
 
87
>GtkRadioButton</a> *radio_button,
 
88
                                                         <a
 
89
href="../glib/glib-Basic-Types.html#gpointer"
 
90
>gpointer</a> item_data);
 
91
<a
 
92
href="../gtk/GtkWidget.html"
 
93
>GtkWidget</a>*          <a class="link" href="libgimpwidgets-GimpWidgets.html#gimp-int-radio-group-new">gimp_int_radio_group_new</a>            (<a
 
94
href="../glib/glib-Basic-Types.html#gboolean"
 
95
>gboolean</a> in_frame,
 
96
                                                         const <a
 
97
href="../glib/glib-Basic-Types.html#gchar"
 
98
>gchar</a> *frame_title,
 
99
                                                         <a
 
100
href="../gobject/gobject-Closures.html#GCallback"
 
101
>GCallback</a> radio_button_callback,
 
102
                                                         <a
 
103
href="../glib/glib-Basic-Types.html#gpointer"
 
104
>gpointer</a> radio_button_callback_data,
 
105
                                                         <a
 
106
href="../glib/glib-Basic-Types.html#gint"
 
107
>gint</a> initial,
 
108
                                                         ...);
 
109
void                <a class="link" href="libgimpwidgets-GimpWidgets.html#gimp-int-radio-group-set-active">gimp_int_radio_group_set_active</a>     (<a
 
110
href="../gtk/GtkRadioButton.html"
 
111
>GtkRadioButton</a> *radio_button,
 
112
                                                         <a
 
113
href="../glib/glib-Basic-Types.html#gint"
 
114
>gint</a> item_data);
 
115
<a
 
116
href="../gtk/GtkWidget.html"
 
117
>GtkWidget</a>*          <a class="link" href="libgimpwidgets-GimpWidgets.html#gimp-spin-button-new">gimp_spin_button_new</a>                (<a
 
118
href="../gtk/GtkObject.html"
 
119
>GtkObject</a> **adjustment,
 
120
                                                         <a
 
121
href="../glib/glib-Basic-Types.html#gdouble"
 
122
>gdouble</a> value,
 
123
                                                         <a
 
124
href="../glib/glib-Basic-Types.html#gdouble"
 
125
>gdouble</a> lower,
 
126
                                                         <a
 
127
href="../glib/glib-Basic-Types.html#gdouble"
 
128
>gdouble</a> upper,
 
129
                                                         <a
 
130
href="../glib/glib-Basic-Types.html#gdouble"
 
131
>gdouble</a> step_increment,
 
132
                                                         <a
 
133
href="../glib/glib-Basic-Types.html#gdouble"
 
134
>gdouble</a> page_increment,
 
135
                                                         <a
 
136
href="../glib/glib-Basic-Types.html#gdouble"
 
137
>gdouble</a> page_size,
 
138
                                                         <a
 
139
href="../glib/glib-Basic-Types.html#gdouble"
 
140
>gdouble</a> climb_rate,
 
141
                                                         <a
 
142
href="../glib/glib-Basic-Types.html#guint"
 
143
>guint</a> digits);
86
144
#define             <a class="link" href="libgimpwidgets-GimpWidgets.html#GIMP-SCALE-ENTRY-LABEL:CAPS">GIMP_SCALE_ENTRY_LABEL</a>              (adj)
87
145
#define             <a class="link" href="libgimpwidgets-GimpWidgets.html#GIMP-SCALE-ENTRY-SCALE:CAPS">GIMP_SCALE_ENTRY_SCALE</a>              (adj)
88
146
#define             <a class="link" href="libgimpwidgets-GimpWidgets.html#GIMP-SCALE-ENTRY-SCALE-ADJ:CAPS">GIMP_SCALE_ENTRY_SCALE_ADJ</a>          (adj)
89
147
#define             <a class="link" href="libgimpwidgets-GimpWidgets.html#GIMP-SCALE-ENTRY-SPINBUTTON:CAPS">GIMP_SCALE_ENTRY_SPINBUTTON</a>         (adj)
90
148
#define             <a class="link" href="libgimpwidgets-GimpWidgets.html#GIMP-SCALE-ENTRY-SPINBUTTON-ADJ:CAPS">GIMP_SCALE_ENTRY_SPINBUTTON_ADJ</a>     (adj)
91
 
GtkObject*          <a class="link" href="libgimpwidgets-GimpWidgets.html#gimp-scale-entry-new">gimp_scale_entry_new</a>                (GtkTable *table,
92
 
                                                         gint column,
93
 
                                                         gint row,
94
 
                                                         const gchar *text,
95
 
                                                         gint scale_width,
96
 
                                                         gint spinbutton_width,
97
 
                                                         gdouble value,
98
 
                                                         gdouble lower,
99
 
                                                         gdouble upper,
100
 
                                                         gdouble step_increment,
101
 
                                                         gdouble page_increment,
102
 
                                                         guint digits,
103
 
                                                         gboolean constrain,
104
 
                                                         gdouble unconstrained_lower,
105
 
                                                         gdouble unconstrained_upper,
106
 
                                                         const gchar *tooltip,
107
 
                                                         const gchar *help_id);
108
 
void                <a class="link" href="libgimpwidgets-GimpWidgets.html#gimp-scale-entry-set-sensitive">gimp_scale_entry_set_sensitive</a>      (GtkObject *adjustment,
109
 
                                                         gboolean sensitive);
110
 
void                <a class="link" href="libgimpwidgets-GimpWidgets.html#gimp-scale-entry-set-logarithmic">gimp_scale_entry_set_logarithmic</a>    (GtkObject *adjustment,
111
 
                                                         gboolean logarithmic);
112
 
gboolean            <a class="link" href="libgimpwidgets-GimpWidgets.html#gimp-scale-entry-get-logarithmic">gimp_scale_entry_get_logarithmic</a>    (GtkObject *adjustment);
113
 
GtkObject*          <a class="link" href="libgimpwidgets-GimpWidgets.html#gimp-color-scale-entry-new">gimp_color_scale_entry_new</a>          (GtkTable *table,
114
 
                                                         gint column,
115
 
                                                         gint row,
116
 
                                                         const gchar *text,
117
 
                                                         gint scale_width,
118
 
                                                         gint spinbutton_width,
119
 
                                                         gdouble value,
120
 
                                                         gdouble lower,
121
 
                                                         gdouble upper,
122
 
                                                         gdouble step_increment,
123
 
                                                         gdouble page_increment,
124
 
                                                         guint digits,
125
 
                                                         const gchar *tooltip,
126
 
                                                         const gchar *help_id);
 
149
<a
 
150
href="../gtk/GtkObject.html"
 
151
>GtkObject</a>*          <a class="link" href="libgimpwidgets-GimpWidgets.html#gimp-scale-entry-new">gimp_scale_entry_new</a>                (<a
 
152
href="../gtk/GtkTable.html"
 
153
>GtkTable</a> *table,
 
154
                                                         <a
 
155
href="../glib/glib-Basic-Types.html#gint"
 
156
>gint</a> column,
 
157
                                                         <a
 
158
href="../glib/glib-Basic-Types.html#gint"
 
159
>gint</a> row,
 
160
                                                         const <a
 
161
href="../glib/glib-Basic-Types.html#gchar"
 
162
>gchar</a> *text,
 
163
                                                         <a
 
164
href="../glib/glib-Basic-Types.html#gint"
 
165
>gint</a> scale_width,
 
166
                                                         <a
 
167
href="../glib/glib-Basic-Types.html#gint"
 
168
>gint</a> spinbutton_width,
 
169
                                                         <a
 
170
href="../glib/glib-Basic-Types.html#gdouble"
 
171
>gdouble</a> value,
 
172
                                                         <a
 
173
href="../glib/glib-Basic-Types.html#gdouble"
 
174
>gdouble</a> lower,
 
175
                                                         <a
 
176
href="../glib/glib-Basic-Types.html#gdouble"
 
177
>gdouble</a> upper,
 
178
                                                         <a
 
179
href="../glib/glib-Basic-Types.html#gdouble"
 
180
>gdouble</a> step_increment,
 
181
                                                         <a
 
182
href="../glib/glib-Basic-Types.html#gdouble"
 
183
>gdouble</a> page_increment,
 
184
                                                         <a
 
185
href="../glib/glib-Basic-Types.html#guint"
 
186
>guint</a> digits,
 
187
                                                         <a
 
188
href="../glib/glib-Basic-Types.html#gboolean"
 
189
>gboolean</a> constrain,
 
190
                                                         <a
 
191
href="../glib/glib-Basic-Types.html#gdouble"
 
192
>gdouble</a> unconstrained_lower,
 
193
                                                         <a
 
194
href="../glib/glib-Basic-Types.html#gdouble"
 
195
>gdouble</a> unconstrained_upper,
 
196
                                                         const <a
 
197
href="../glib/glib-Basic-Types.html#gchar"
 
198
>gchar</a> *tooltip,
 
199
                                                         const <a
 
200
href="../glib/glib-Basic-Types.html#gchar"
 
201
>gchar</a> *help_id);
 
202
void                <a class="link" href="libgimpwidgets-GimpWidgets.html#gimp-scale-entry-set-sensitive">gimp_scale_entry_set_sensitive</a>      (<a
 
203
href="../gtk/GtkObject.html"
 
204
>GtkObject</a> *adjustment,
 
205
                                                         <a
 
206
href="../glib/glib-Basic-Types.html#gboolean"
 
207
>gboolean</a> sensitive);
 
208
void                <a class="link" href="libgimpwidgets-GimpWidgets.html#gimp-scale-entry-set-logarithmic">gimp_scale_entry_set_logarithmic</a>    (<a
 
209
href="../gtk/GtkObject.html"
 
210
>GtkObject</a> *adjustment,
 
211
                                                         <a
 
212
href="../glib/glib-Basic-Types.html#gboolean"
 
213
>gboolean</a> logarithmic);
 
214
<a
 
215
href="../glib/glib-Basic-Types.html#gboolean"
 
216
>gboolean</a>            <a class="link" href="libgimpwidgets-GimpWidgets.html#gimp-scale-entry-get-logarithmic">gimp_scale_entry_get_logarithmic</a>    (<a
 
217
href="../gtk/GtkObject.html"
 
218
>GtkObject</a> *adjustment);
 
219
<a
 
220
href="../gtk/GtkObject.html"
 
221
>GtkObject</a>*          <a class="link" href="libgimpwidgets-GimpWidgets.html#gimp-color-scale-entry-new">gimp_color_scale_entry_new</a>          (<a
 
222
href="../gtk/GtkTable.html"
 
223
>GtkTable</a> *table,
 
224
                                                         <a
 
225
href="../glib/glib-Basic-Types.html#gint"
 
226
>gint</a> column,
 
227
                                                         <a
 
228
href="../glib/glib-Basic-Types.html#gint"
 
229
>gint</a> row,
 
230
                                                         const <a
 
231
href="../glib/glib-Basic-Types.html#gchar"
 
232
>gchar</a> *text,
 
233
                                                         <a
 
234
href="../glib/glib-Basic-Types.html#gint"
 
235
>gint</a> scale_width,
 
236
                                                         <a
 
237
href="../glib/glib-Basic-Types.html#gint"
 
238
>gint</a> spinbutton_width,
 
239
                                                         <a
 
240
href="../glib/glib-Basic-Types.html#gdouble"
 
241
>gdouble</a> value,
 
242
                                                         <a
 
243
href="../glib/glib-Basic-Types.html#gdouble"
 
244
>gdouble</a> lower,
 
245
                                                         <a
 
246
href="../glib/glib-Basic-Types.html#gdouble"
 
247
>gdouble</a> upper,
 
248
                                                         <a
 
249
href="../glib/glib-Basic-Types.html#gdouble"
 
250
>gdouble</a> step_increment,
 
251
                                                         <a
 
252
href="../glib/glib-Basic-Types.html#gdouble"
 
253
>gdouble</a> page_increment,
 
254
                                                         <a
 
255
href="../glib/glib-Basic-Types.html#guint"
 
256
>guint</a> digits,
 
257
                                                         const <a
 
258
href="../glib/glib-Basic-Types.html#gchar"
 
259
>gchar</a> *tooltip,
 
260
                                                         const <a
 
261
href="../glib/glib-Basic-Types.html#gchar"
 
262
>gchar</a> *help_id);
127
263
#define             <a class="link" href="libgimpwidgets-GimpWidgets.html#GIMP-RANDOM-SEED-SPINBUTTON:CAPS">GIMP_RANDOM_SEED_SPINBUTTON</a>         (hbox)
128
264
#define             <a class="link" href="libgimpwidgets-GimpWidgets.html#GIMP-RANDOM-SEED-SPINBUTTON-ADJ:CAPS">GIMP_RANDOM_SEED_SPINBUTTON_ADJ</a>     (hbox)
129
265
#define             <a class="link" href="libgimpwidgets-GimpWidgets.html#GIMP-RANDOM-SEED-TOGGLE:CAPS">GIMP_RANDOM_SEED_TOGGLE</a>             (hbox)
130
 
GtkWidget*          <a class="link" href="libgimpwidgets-GimpWidgets.html#gimp-random-seed-new">gimp_random_seed_new</a>                (guint32 *seed,
131
 
                                                         gboolean *random_seed);
 
266
<a
 
267
href="../gtk/GtkWidget.html"
 
268
>GtkWidget</a>*          <a class="link" href="libgimpwidgets-GimpWidgets.html#gimp-random-seed-new">gimp_random_seed_new</a>                (<a
 
269
href="../glib/glib-Basic-Types.html#guint32"
 
270
>guint32</a> *seed,
 
271
                                                         <a
 
272
href="../glib/glib-Basic-Types.html#gboolean"
 
273
>gboolean</a> *random_seed);
132
274
#define             <a class="link" href="libgimpwidgets-GimpWidgets.html#GIMP-COORDINATES-CHAINBUTTON:CAPS">GIMP_COORDINATES_CHAINBUTTON</a>        (sizeentry)
133
 
GtkWidget*          <a class="link" href="libgimpwidgets-GimpWidgets.html#gimp-coordinates-new">gimp_coordinates_new</a>                (<a
 
275
<a
 
276
href="../gtk/GtkWidget.html"
 
277
>GtkWidget</a>*          <a class="link" href="libgimpwidgets-GimpWidgets.html#gimp-coordinates-new">gimp_coordinates_new</a>                (<a
134
278
href="../libgimpbase/libgimpbase-gimpunit.html#GimpUnit"
135
279
>GimpUnit</a> unit,
136
 
                                                         const gchar *unit_format,
137
 
                                                         gboolean menu_show_pixels,
138
 
                                                         gboolean menu_show_percent,
139
 
                                                         gint spinbutton_width,
 
280
                                                         const <a
 
281
href="../glib/glib-Basic-Types.html#gchar"
 
282
>gchar</a> *unit_format,
 
283
                                                         <a
 
284
href="../glib/glib-Basic-Types.html#gboolean"
 
285
>gboolean</a> menu_show_pixels,
 
286
                                                         <a
 
287
href="../glib/glib-Basic-Types.html#gboolean"
 
288
>gboolean</a> menu_show_percent,
 
289
                                                         <a
 
290
href="../glib/glib-Basic-Types.html#gint"
 
291
>gint</a> spinbutton_width,
140
292
                                                         <a class="link" href="GimpSizeEntry.html#GimpSizeEntryUpdatePolicy">GimpSizeEntryUpdatePolicy</a> update_policy,
141
 
                                                         gboolean chainbutton_active,
142
 
                                                         gboolean chain_constrains_ratio,
143
 
                                                         const gchar *xlabel,
144
 
                                                         gdouble x,
145
 
                                                         gdouble xres,
146
 
                                                         gdouble lower_boundary_x,
147
 
                                                         gdouble upper_boundary_x,
148
 
                                                         gdouble xsize_0,
149
 
                                                         gdouble xsize_100,
150
 
                                                         const gchar *ylabel,
151
 
                                                         gdouble y,
152
 
                                                         gdouble yres,
153
 
                                                         gdouble lower_boundary_y,
154
 
                                                         gdouble upper_boundary_y,
155
 
                                                         gdouble ysize_0,
156
 
                                                         gdouble ysize_100);
157
 
GtkWidget*          <a class="link" href="libgimpwidgets-GimpWidgets.html#gimp-pixmap-button-new">gimp_pixmap_button_new</a>              (gchar **xpm_data,
158
 
                                                         const gchar *text);
159
 
void                <a class="link" href="libgimpwidgets-GimpWidgets.html#gimp-toggle-button-sensitive-update">gimp_toggle_button_sensitive_update</a> (GtkToggleButton *toggle_button);
160
 
void                <a class="link" href="libgimpwidgets-GimpWidgets.html#gimp-toggle-button-update">gimp_toggle_button_update</a>           (GtkWidget *widget,
161
 
                                                         gpointer data);
162
 
void                <a class="link" href="libgimpwidgets-GimpWidgets.html#gimp-radio-button-update">gimp_radio_button_update</a>            (GtkWidget *widget,
163
 
                                                         gpointer data);
164
 
void                <a class="link" href="libgimpwidgets-GimpWidgets.html#gimp-int-adjustment-update">gimp_int_adjustment_update</a>          (GtkAdjustment *adjustment,
165
 
                                                         gpointer data);
166
 
void                <a class="link" href="libgimpwidgets-GimpWidgets.html#gimp-uint-adjustment-update">gimp_uint_adjustment_update</a>         (GtkAdjustment *adjustment,
167
 
                                                         gpointer data);
168
 
void                <a class="link" href="libgimpwidgets-GimpWidgets.html#gimp-float-adjustment-update">gimp_float_adjustment_update</a>        (GtkAdjustment *adjustment,
169
 
                                                         gpointer data);
170
 
void                <a class="link" href="libgimpwidgets-GimpWidgets.html#gimp-double-adjustment-update">gimp_double_adjustment_update</a>       (GtkAdjustment *adjustment,
171
 
                                                         gpointer data);
172
 
void                <a class="link" href="libgimpwidgets-GimpWidgets.html#gimp-unit-menu-update">gimp_unit_menu_update</a>               (GtkWidget *widget,
173
 
                                                         gpointer data);
174
 
GtkWidget*          <a class="link" href="libgimpwidgets-GimpWidgets.html#gimp-table-attach-aligned">gimp_table_attach_aligned</a>           (GtkTable *table,
175
 
                                                         gint column,
176
 
                                                         gint row,
177
 
                                                         const gchar *label_text,
178
 
                                                         gfloat xalign,
179
 
                                                         gfloat yalign,
180
 
                                                         GtkWidget *widget,
181
 
                                                         gint colspan,
182
 
                                                         gboolean left_align);
183
 
void                <a class="link" href="libgimpwidgets-GimpWidgets.html#gimp-label-set-attributes">gimp_label_set_attributes</a>           (GtkLabel *label,
 
293
                                                         <a
 
294
href="../glib/glib-Basic-Types.html#gboolean"
 
295
>gboolean</a> chainbutton_active,
 
296
                                                         <a
 
297
href="../glib/glib-Basic-Types.html#gboolean"
 
298
>gboolean</a> chain_constrains_ratio,
 
299
                                                         const <a
 
300
href="../glib/glib-Basic-Types.html#gchar"
 
301
>gchar</a> *xlabel,
 
302
                                                         <a
 
303
href="../glib/glib-Basic-Types.html#gdouble"
 
304
>gdouble</a> x,
 
305
                                                         <a
 
306
href="../glib/glib-Basic-Types.html#gdouble"
 
307
>gdouble</a> xres,
 
308
                                                         <a
 
309
href="../glib/glib-Basic-Types.html#gdouble"
 
310
>gdouble</a> lower_boundary_x,
 
311
                                                         <a
 
312
href="../glib/glib-Basic-Types.html#gdouble"
 
313
>gdouble</a> upper_boundary_x,
 
314
                                                         <a
 
315
href="../glib/glib-Basic-Types.html#gdouble"
 
316
>gdouble</a> xsize_0,
 
317
                                                         <a
 
318
href="../glib/glib-Basic-Types.html#gdouble"
 
319
>gdouble</a> xsize_100,
 
320
                                                         const <a
 
321
href="../glib/glib-Basic-Types.html#gchar"
 
322
>gchar</a> *ylabel,
 
323
                                                         <a
 
324
href="../glib/glib-Basic-Types.html#gdouble"
 
325
>gdouble</a> y,
 
326
                                                         <a
 
327
href="../glib/glib-Basic-Types.html#gdouble"
 
328
>gdouble</a> yres,
 
329
                                                         <a
 
330
href="../glib/glib-Basic-Types.html#gdouble"
 
331
>gdouble</a> lower_boundary_y,
 
332
                                                         <a
 
333
href="../glib/glib-Basic-Types.html#gdouble"
 
334
>gdouble</a> upper_boundary_y,
 
335
                                                         <a
 
336
href="../glib/glib-Basic-Types.html#gdouble"
 
337
>gdouble</a> ysize_0,
 
338
                                                         <a
 
339
href="../glib/glib-Basic-Types.html#gdouble"
 
340
>gdouble</a> ysize_100);
 
341
<a
 
342
href="../gtk/GtkWidget.html"
 
343
>GtkWidget</a>*          <a class="link" href="libgimpwidgets-GimpWidgets.html#gimp-pixmap-button-new">gimp_pixmap_button_new</a>              (<a
 
344
href="../glib/glib-Basic-Types.html#gchar"
 
345
>gchar</a> **xpm_data,
 
346
                                                         const <a
 
347
href="../glib/glib-Basic-Types.html#gchar"
 
348
>gchar</a> *text);
 
349
void                <a class="link" href="libgimpwidgets-GimpWidgets.html#gimp-toggle-button-sensitive-update">gimp_toggle_button_sensitive_update</a> (<a
 
350
href="../gtk/GtkToggleButton.html"
 
351
>GtkToggleButton</a> *toggle_button);
 
352
void                <a class="link" href="libgimpwidgets-GimpWidgets.html#gimp-toggle-button-update">gimp_toggle_button_update</a>           (<a
 
353
href="../gtk/GtkWidget.html"
 
354
>GtkWidget</a> *widget,
 
355
                                                         <a
 
356
href="../glib/glib-Basic-Types.html#gpointer"
 
357
>gpointer</a> data);
 
358
void                <a class="link" href="libgimpwidgets-GimpWidgets.html#gimp-radio-button-update">gimp_radio_button_update</a>            (<a
 
359
href="../gtk/GtkWidget.html"
 
360
>GtkWidget</a> *widget,
 
361
                                                         <a
 
362
href="../glib/glib-Basic-Types.html#gpointer"
 
363
>gpointer</a> data);
 
364
void                <a class="link" href="libgimpwidgets-GimpWidgets.html#gimp-int-adjustment-update">gimp_int_adjustment_update</a>          (<a
 
365
href="../gtk/GtkAdjustment.html"
 
366
>GtkAdjustment</a> *adjustment,
 
367
                                                         <a
 
368
href="../glib/glib-Basic-Types.html#gpointer"
 
369
>gpointer</a> data);
 
370
void                <a class="link" href="libgimpwidgets-GimpWidgets.html#gimp-uint-adjustment-update">gimp_uint_adjustment_update</a>         (<a
 
371
href="../gtk/GtkAdjustment.html"
 
372
>GtkAdjustment</a> *adjustment,
 
373
                                                         <a
 
374
href="../glib/glib-Basic-Types.html#gpointer"
 
375
>gpointer</a> data);
 
376
void                <a class="link" href="libgimpwidgets-GimpWidgets.html#gimp-float-adjustment-update">gimp_float_adjustment_update</a>        (<a
 
377
href="../gtk/GtkAdjustment.html"
 
378
>GtkAdjustment</a> *adjustment,
 
379
                                                         <a
 
380
href="../glib/glib-Basic-Types.html#gpointer"
 
381
>gpointer</a> data);
 
382
void                <a class="link" href="libgimpwidgets-GimpWidgets.html#gimp-double-adjustment-update">gimp_double_adjustment_update</a>       (<a
 
383
href="../gtk/GtkAdjustment.html"
 
384
>GtkAdjustment</a> *adjustment,
 
385
                                                         <a
 
386
href="../glib/glib-Basic-Types.html#gpointer"
 
387
>gpointer</a> data);
 
388
void                <a class="link" href="libgimpwidgets-GimpWidgets.html#gimp-unit-menu-update">gimp_unit_menu_update</a>               (<a
 
389
href="../gtk/GtkWidget.html"
 
390
>GtkWidget</a> *widget,
 
391
                                                         <a
 
392
href="../glib/glib-Basic-Types.html#gpointer"
 
393
>gpointer</a> data);
 
394
<a
 
395
href="../gtk/GtkWidget.html"
 
396
>GtkWidget</a>*          <a class="link" href="libgimpwidgets-GimpWidgets.html#gimp-table-attach-aligned">gimp_table_attach_aligned</a>           (<a
 
397
href="../gtk/GtkTable.html"
 
398
>GtkTable</a> *table,
 
399
                                                         <a
 
400
href="../glib/glib-Basic-Types.html#gint"
 
401
>gint</a> column,
 
402
                                                         <a
 
403
href="../glib/glib-Basic-Types.html#gint"
 
404
>gint</a> row,
 
405
                                                         const <a
 
406
href="../glib/glib-Basic-Types.html#gchar"
 
407
>gchar</a> *label_text,
 
408
                                                         <a
 
409
href="../glib/glib-Basic-Types.html#gfloat"
 
410
>gfloat</a> xalign,
 
411
                                                         <a
 
412
href="../glib/glib-Basic-Types.html#gfloat"
 
413
>gfloat</a> yalign,
 
414
                                                         <a
 
415
href="../gtk/GtkWidget.html"
 
416
>GtkWidget</a> *widget,
 
417
                                                         <a
 
418
href="../glib/glib-Basic-Types.html#gint"
 
419
>gint</a> colspan,
 
420
                                                         <a
 
421
href="../glib/glib-Basic-Types.html#gboolean"
 
422
>gboolean</a> left_align);
 
423
void                <a class="link" href="libgimpwidgets-GimpWidgets.html#gimp-label-set-attributes">gimp_label_set_attributes</a>           (<a
 
424
href="../gtk/GtkLabel.html"
 
425
>GtkLabel</a> *label,
184
426
                                                         ...);
185
427
</pre>
186
428
</div>
187
429
<div class="refsect1" lang="en">
188
 
<a name="id2699144"></a><h2>Description</h2>
 
430
<a name="id2699177"></a><h2>Description</h2>
189
431
<p>
190
432
 
191
433
</p>
192
434
</div>
193
435
<div class="refsect1" lang="en">
194
 
<a name="id2699160"></a><h2>Details</h2>
 
436
<a name="id2699193"></a><h2>Details</h2>
195
437
<div class="refsect2" lang="en">
196
 
<a name="id2699171"></a><h3>
 
438
<a name="id2699204"></a><h3>
197
439
<a name="gimp-radio-group-new"></a>gimp_radio_group_new ()</h3>
198
 
<a class="indexterm" name="id2699182"></a><pre class="programlisting">GtkWidget*          gimp_radio_group_new                (gboolean in_frame,
199
 
                                                         const gchar *frame_title,
 
440
<a class="indexterm" name="id2699215"></a><pre class="programlisting"><a
 
441
href="../gtk/GtkWidget.html"
 
442
>GtkWidget</a>*          gimp_radio_group_new                (<a
 
443
href="../glib/glib-Basic-Types.html#gboolean"
 
444
>gboolean</a> in_frame,
 
445
                                                         const <a
 
446
href="../glib/glib-Basic-Types.html#gchar"
 
447
>gchar</a> *frame_title,
200
448
                                                         ...);</pre>
201
449
<p>
202
450
Convenience function to create a group of radio buttons embedded into
203
 
a <span class="type">GtkFrame</span> or <span class="type">GtkVbox</span>.</p>
 
451
a <a
 
452
href="../gtk/GtkFrame.html"
 
453
><span class="type">GtkFrame</span></a> or <span class="type">GtkVbox</span>.</p>
204
454
<p>
205
455
 
206
456
</p>
209
459
<tbody>
210
460
<tr>
211
461
<td><p><span class="term"><em class="parameter"><code>in_frame</code></em>&#160;:</span></p></td>
212
 
<td>    <code class="literal">TRUE</code> if you want a <span class="type">GtkFrame</span> around the radio button group.
 
462
<td>    <a
 
463
href="../glib/glib-Standard-Macros.html#TRUE:CAPS"
 
464
><code class="literal">TRUE</code></a> if you want a <a
 
465
href="../gtk/GtkFrame.html"
 
466
><span class="type">GtkFrame</span></a> around the radio button group.
213
467
</td>
214
468
</tr>
215
469
<tr>
216
470
<td><p><span class="term"><em class="parameter"><code>frame_title</code></em>&#160;:</span></p></td>
217
 
<td> The title of the Frame or <code class="literal">NULL</code> if you don't want a title.
 
471
<td> The title of the Frame or <a
 
472
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
 
473
><code class="literal">NULL</code></a> if you don't want a title.
218
474
</td>
219
475
</tr>
220
476
<tr>
221
477
<td><p><span class="term"><em class="parameter"><code>...</code></em>&#160;:</span></p></td>
222
 
<td>         A <code class="literal">NULL</code>-terminated <em class="parameter"><code>va_list</code></em> describing the radio buttons.
 
478
<td>         A <a
 
479
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
 
480
><code class="literal">NULL</code></a>-terminated <em class="parameter"><code>va_list</code></em> describing the radio buttons.
223
481
</td>
224
482
</tr>
225
483
<tr>
226
484
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></p></td>
227
 
<td> A <span class="type">GtkFrame</span> or <span class="type">GtkVbox</span> (depending on <em class="parameter"><code>in_frame</code></em>).
 
485
<td> A <a
 
486
href="../gtk/GtkFrame.html"
 
487
><span class="type">GtkFrame</span></a> or <span class="type">GtkVbox</span> (depending on <em class="parameter"><code>in_frame</code></em>).
228
488
</td>
229
489
</tr>
230
490
</tbody>
232
492
</div>
233
493
<hr>
234
494
<div class="refsect2" lang="en">
235
 
<a name="id2699357"></a><h3>
 
495
<a name="id2699367"></a><h3>
236
496
<a name="gimp-radio-group-new2"></a>gimp_radio_group_new2 ()</h3>
237
 
<a class="indexterm" name="id2699368"></a><pre class="programlisting">GtkWidget*          gimp_radio_group_new2               (gboolean in_frame,
238
 
                                                         const gchar *frame_title,
239
 
                                                         GCallback radio_button_callback,
240
 
                                                         gpointer radio_button_callback_data,
241
 
                                                         gpointer initial,
 
497
<a class="indexterm" name="id2699378"></a><pre class="programlisting"><a
 
498
href="../gtk/GtkWidget.html"
 
499
>GtkWidget</a>*          gimp_radio_group_new2               (<a
 
500
href="../glib/glib-Basic-Types.html#gboolean"
 
501
>gboolean</a> in_frame,
 
502
                                                         const <a
 
503
href="../glib/glib-Basic-Types.html#gchar"
 
504
>gchar</a> *frame_title,
 
505
                                                         <a
 
506
href="../gobject/gobject-Closures.html#GCallback"
 
507
>GCallback</a> radio_button_callback,
 
508
                                                         <a
 
509
href="../glib/glib-Basic-Types.html#gpointer"
 
510
>gpointer</a> radio_button_callback_data,
 
511
                                                         <a
 
512
href="../glib/glib-Basic-Types.html#gpointer"
 
513
>gpointer</a> initial,
242
514
                                                         ...);</pre>
243
515
<p>
244
516
Convenience function to create a group of radio buttons embedded into
245
 
a <span class="type">GtkFrame</span> or <span class="type">GtkVbox</span>.</p>
 
517
a <a
 
518
href="../gtk/GtkFrame.html"
 
519
><span class="type">GtkFrame</span></a> or <span class="type">GtkVbox</span>.</p>
246
520
<p>
247
521
 
248
522
</p>
251
525
<tbody>
252
526
<tr>
253
527
<td><p><span class="term"><em class="parameter"><code>in_frame</code></em>&#160;:</span></p></td>
254
 
<td>              <code class="literal">TRUE</code> if you want a <span class="type">GtkFrame</span> around the
 
528
<td>              <a
 
529
href="../glib/glib-Standard-Macros.html#TRUE:CAPS"
 
530
><code class="literal">TRUE</code></a> if you want a <a
 
531
href="../gtk/GtkFrame.html"
 
532
><span class="type">GtkFrame</span></a> around the
255
533
                        radio button group.
256
534
</td>
257
535
</tr>
258
536
<tr>
259
537
<td><p><span class="term"><em class="parameter"><code>frame_title</code></em>&#160;:</span></p></td>
260
 
<td>           The title of the Frame or <code class="literal">NULL</code> if you don't want
 
538
<td>           The title of the Frame or <a
 
539
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
 
540
><code class="literal">NULL</code></a> if you don't want
261
541
                        a title.
262
542
</td>
263
543
</tr>
270
550
<tr>
271
551
<td><p><span class="term"><em class="parameter"><code>radio_button_callback_data</code></em>&#160;:</span></p></td>
272
552
<td>
273
 
                        The data which will be passed to <code class="function">g_signal_connect()</code>.
 
553
                        The data which will be passed to <a
 
554
href="../gobject/gobject-Signals.html#g-signal-connect"
 
555
><code class="function">g_signal_connect()</code></a>.
274
556
</td>
275
557
</tr>
276
558
<tr>
280
562
</tr>
281
563
<tr>
282
564
<td><p><span class="term"><em class="parameter"><code>...</code></em>&#160;:</span></p></td>
283
 
<td>                   A <code class="literal">NULL</code>-terminated <em class="parameter"><code>va_list</code></em> describing
 
565
<td>                   A <a
 
566
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
 
567
><code class="literal">NULL</code></a>-terminated <em class="parameter"><code>va_list</code></em> describing
284
568
                        the radio buttons.
285
569
</td>
286
570
</tr>
287
571
<tr>
288
572
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></p></td>
289
 
<td> A <span class="type">GtkFrame</span> or <span class="type">GtkVbox</span> (depending on <em class="parameter"><code>in_frame</code></em>).
 
573
<td> A <a
 
574
href="../gtk/GtkFrame.html"
 
575
><span class="type">GtkFrame</span></a> or <span class="type">GtkVbox</span> (depending on <em class="parameter"><code>in_frame</code></em>).
290
576
</td>
291
577
</tr>
292
578
</tbody>
294
580
</div>
295
581
<hr>
296
582
<div class="refsect2" lang="en">
297
 
<a name="id2699627"></a><h3>
 
583
<a name="id2699611"></a><h3>
298
584
<a name="gimp-radio-group-set-active"></a>gimp_radio_group_set_active ()</h3>
299
 
<a class="indexterm" name="id2699638"></a><pre class="programlisting">void                gimp_radio_group_set_active         (GtkRadioButton *radio_button,
300
 
                                                         gpointer item_data);</pre>
 
585
<a class="indexterm" name="id2699622"></a><pre class="programlisting">void                gimp_radio_group_set_active         (<a
 
586
href="../gtk/GtkRadioButton.html"
 
587
>GtkRadioButton</a> *radio_button,
 
588
                                                         <a
 
589
href="../glib/glib-Basic-Types.html#gpointer"
 
590
>gpointer</a> item_data);</pre>
301
591
<p>
302
 
Calls <code class="function">gtk_toggle_button_set_active()</code> with the radio button that was
 
592
Calls <a
 
593
href="../gtk/GtkToggleButton.html#gtk-toggle-button-set-active"
 
594
><code class="function">gtk_toggle_button_set_active()</code></a> with the radio button that was
303
595
created with a matching <em class="parameter"><code>item_data</code></em>.</p>
304
596
<p>
305
597
 
309
601
<tbody>
310
602
<tr>
311
603
<td><p><span class="term"><em class="parameter"><code>radio_button</code></em>&#160;:</span></p></td>
312
 
<td> Pointer to a <span class="type">GtkRadioButton</span>.
 
604
<td> Pointer to a <a
 
605
href="../gtk/GtkRadioButton.html"
 
606
><span class="type">GtkRadioButton</span></a>.
313
607
</td>
314
608
</tr>
315
609
<tr>
322
616
</div>
323
617
<hr>
324
618
<div class="refsect2" lang="en">
325
 
<a name="id2699741"></a><h3>
 
619
<a name="id2699714"></a><h3>
326
620
<a name="gimp-int-radio-group-new"></a>gimp_int_radio_group_new ()</h3>
327
 
<a class="indexterm" name="id2699752"></a><pre class="programlisting">GtkWidget*          gimp_int_radio_group_new            (gboolean in_frame,
328
 
                                                         const gchar *frame_title,
329
 
                                                         GCallback radio_button_callback,
330
 
                                                         gpointer radio_button_callback_data,
331
 
                                                         gint initial,
 
621
<a class="indexterm" name="id2699724"></a><pre class="programlisting"><a
 
622
href="../gtk/GtkWidget.html"
 
623
>GtkWidget</a>*          gimp_int_radio_group_new            (<a
 
624
href="../glib/glib-Basic-Types.html#gboolean"
 
625
>gboolean</a> in_frame,
 
626
                                                         const <a
 
627
href="../glib/glib-Basic-Types.html#gchar"
 
628
>gchar</a> *frame_title,
 
629
                                                         <a
 
630
href="../gobject/gobject-Closures.html#GCallback"
 
631
>GCallback</a> radio_button_callback,
 
632
                                                         <a
 
633
href="../glib/glib-Basic-Types.html#gpointer"
 
634
>gpointer</a> radio_button_callback_data,
 
635
                                                         <a
 
636
href="../glib/glib-Basic-Types.html#gint"
 
637
>gint</a> initial,
332
638
                                                         ...);</pre>
333
639
<p>
334
640
Convenience function to create a group of radio buttons embedded into
335
 
a <span class="type">GtkFrame</span> or <span class="type">GtkVbox</span>. This function does the same thing as
 
641
a <a
 
642
href="../gtk/GtkFrame.html"
 
643
><span class="type">GtkFrame</span></a> or <span class="type">GtkVbox</span>. This function does the same thing as
336
644
<a class="link" href="libgimpwidgets-GimpWidgets.html#gimp-radio-group-new2"><code class="function">gimp_radio_group_new2()</code></a>, but it takes integers as <em class="parameter"><code>item_data</code></em> instead of
337
645
pointers, since that is a very common case (mapping an enum to a radio
338
646
group).</p>
344
652
<tbody>
345
653
<tr>
346
654
<td><p><span class="term"><em class="parameter"><code>in_frame</code></em>&#160;:</span></p></td>
347
 
<td>              <code class="literal">TRUE</code> if you want a <span class="type">GtkFrame</span> around the
 
655
<td>              <a
 
656
href="../glib/glib-Standard-Macros.html#TRUE:CAPS"
 
657
><code class="literal">TRUE</code></a> if you want a <a
 
658
href="../gtk/GtkFrame.html"
 
659
><span class="type">GtkFrame</span></a> around the
348
660
                        radio button group.
349
661
</td>
350
662
</tr>
351
663
<tr>
352
664
<td><p><span class="term"><em class="parameter"><code>frame_title</code></em>&#160;:</span></p></td>
353
 
<td>           The title of the Frame or <code class="literal">NULL</code> if you don't want
 
665
<td>           The title of the Frame or <a
 
666
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
 
667
><code class="literal">NULL</code></a> if you don't want
354
668
                        a title.
355
669
</td>
356
670
</tr>
363
677
<tr>
364
678
<td><p><span class="term"><em class="parameter"><code>radio_button_callback_data</code></em>&#160;:</span></p></td>
365
679
<td>
366
 
                        The data which will be passed to <code class="function">g_signal_connect()</code>.
 
680
                        The data which will be passed to <a
 
681
href="../gobject/gobject-Signals.html#g-signal-connect"
 
682
><code class="function">g_signal_connect()</code></a>.
367
683
</td>
368
684
</tr>
369
685
<tr>
373
689
</tr>
374
690
<tr>
375
691
<td><p><span class="term"><em class="parameter"><code>...</code></em>&#160;:</span></p></td>
376
 
<td>                   A <code class="literal">NULL</code>-terminated <em class="parameter"><code>va_list</code></em> describing
 
692
<td>                   A <a
 
693
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
 
694
><code class="literal">NULL</code></a>-terminated <em class="parameter"><code>va_list</code></em> describing
377
695
                        the radio buttons.
378
696
</td>
379
697
</tr>
380
698
<tr>
381
699
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></p></td>
382
 
<td> A <span class="type">GtkFrame</span> or <span class="type">GtkVbox</span> (depending on <em class="parameter"><code>in_frame</code></em>).
 
700
<td> A <a
 
701
href="../gtk/GtkFrame.html"
 
702
><span class="type">GtkFrame</span></a> or <span class="type">GtkVbox</span> (depending on <em class="parameter"><code>in_frame</code></em>).
383
703
</td>
384
704
</tr>
385
705
</tbody>
387
707
</div>
388
708
<hr>
389
709
<div class="refsect2" lang="en">
390
 
<a name="id2700027"></a><h3>
 
710
<a name="id2699974"></a><h3>
391
711
<a name="gimp-int-radio-group-set-active"></a>gimp_int_radio_group_set_active ()</h3>
392
 
<a class="indexterm" name="id2700040"></a><pre class="programlisting">void                gimp_int_radio_group_set_active     (GtkRadioButton *radio_button,
393
 
                                                         gint item_data);</pre>
 
712
<a class="indexterm" name="id2699986"></a><pre class="programlisting">void                gimp_int_radio_group_set_active     (<a
 
713
href="../gtk/GtkRadioButton.html"
 
714
>GtkRadioButton</a> *radio_button,
 
715
                                                         <a
 
716
href="../glib/glib-Basic-Types.html#gint"
 
717
>gint</a> item_data);</pre>
394
718
<p>
395
 
Calls <code class="function">gtk_toggle_button_set_active()</code> with the radio button that was created
 
719
Calls <a
 
720
href="../gtk/GtkToggleButton.html#gtk-toggle-button-set-active"
 
721
><code class="function">gtk_toggle_button_set_active()</code></a> with the radio button that was created
396
722
with a matching <em class="parameter"><code>item_data</code></em>. This function does the same thing as
397
723
<a class="link" href="libgimpwidgets-GimpWidgets.html#gimp-radio-group-set-active"><code class="function">gimp_radio_group_set_active()</code></a>, but takes integers as <em class="parameter"><code>item_data</code></em> instead
398
724
of pointers.</p>
404
730
<tbody>
405
731
<tr>
406
732
<td><p><span class="term"><em class="parameter"><code>radio_button</code></em>&#160;:</span></p></td>
407
 
<td> Pointer to a <span class="type">GtkRadioButton</span>.
 
733
<td> Pointer to a <a
 
734
href="../gtk/GtkRadioButton.html"
 
735
><span class="type">GtkRadioButton</span></a>.
408
736
</td>
409
737
</tr>
410
738
<tr>
417
745
</div>
418
746
<hr>
419
747
<div class="refsect2" lang="en">
420
 
<a name="id2700159"></a><h3>
 
748
<a name="id2700093"></a><h3>
421
749
<a name="gimp-spin-button-new"></a>gimp_spin_button_new ()</h3>
422
 
<a class="indexterm" name="id2700170"></a><pre class="programlisting">GtkWidget*          gimp_spin_button_new                (GtkObject **adjustment,
423
 
                                                         gdouble value,
424
 
                                                         gdouble lower,
425
 
                                                         gdouble upper,
426
 
                                                         gdouble step_increment,
427
 
                                                         gdouble page_increment,
428
 
                                                         gdouble page_size,
429
 
                                                         gdouble climb_rate,
430
 
                                                         guint digits);</pre>
 
750
<a class="indexterm" name="id2700103"></a><pre class="programlisting"><a
 
751
href="../gtk/GtkWidget.html"
 
752
>GtkWidget</a>*          gimp_spin_button_new                (<a
 
753
href="../gtk/GtkObject.html"
 
754
>GtkObject</a> **adjustment,
 
755
                                                         <a
 
756
href="../glib/glib-Basic-Types.html#gdouble"
 
757
>gdouble</a> value,
 
758
                                                         <a
 
759
href="../glib/glib-Basic-Types.html#gdouble"
 
760
>gdouble</a> lower,
 
761
                                                         <a
 
762
href="../glib/glib-Basic-Types.html#gdouble"
 
763
>gdouble</a> upper,
 
764
                                                         <a
 
765
href="../glib/glib-Basic-Types.html#gdouble"
 
766
>gdouble</a> step_increment,
 
767
                                                         <a
 
768
href="../glib/glib-Basic-Types.html#gdouble"
 
769
>gdouble</a> page_increment,
 
770
                                                         <a
 
771
href="../glib/glib-Basic-Types.html#gdouble"
 
772
>gdouble</a> page_size,
 
773
                                                         <a
 
774
href="../glib/glib-Basic-Types.html#gdouble"
 
775
>gdouble</a> climb_rate,
 
776
                                                         <a
 
777
href="../glib/glib-Basic-Types.html#guint"
 
778
>guint</a> digits);</pre>
431
779
<p>
432
 
This function is a shortcut for <code class="function">gtk_adjustment_new()</code> and a
433
 
subsequent <code class="function">gtk_spin_button_new()</code>. It also calls
434
 
<code class="function">gtk_spin_button_set_numeric()</code> so that non-numeric text cannot be
 
780
This function is a shortcut for <a
 
781
href="../gtk/GtkAdjustment.html#gtk-adjustment-new"
 
782
><code class="function">gtk_adjustment_new()</code></a> and a
 
783
subsequent <a
 
784
href="../gtk/GtkSpinButton.html#gtk-spin-button-new"
 
785
><code class="function">gtk_spin_button_new()</code></a>. It also calls
 
786
<a
 
787
href="../gtk/GtkSpinButton.html#gtk-spin-button-set-numeric"
 
788
><code class="function">gtk_spin_button_set_numeric()</code></a> so that non-numeric text cannot be
435
789
entered.</p>
436
790
<p>
437
791
 
441
795
<tbody>
442
796
<tr>
443
797
<td><p><span class="term"><em class="parameter"><code>adjustment</code></em>&#160;:</span></p></td>
444
 
<td>     Returns the spinbutton's <span class="type">GtkAdjustment</span>.
 
798
<td>     Returns the spinbutton's <a
 
799
href="../gtk/GtkAdjustment.html"
 
800
><span class="type">GtkAdjustment</span></a>.
445
801
</td>
446
802
</tr>
447
803
<tr>
486
842
</tr>
487
843
<tr>
488
844
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></p></td>
489
 
<td> A <span class="type">GtkSpinbutton</span> and it's <span class="type">GtkAdjustment</span>.
 
845
<td> A <span class="type">GtkSpinbutton</span> and it's <a
 
846
href="../gtk/GtkAdjustment.html"
 
847
><span class="type">GtkAdjustment</span></a>.
490
848
</td>
491
849
</tr>
492
850
</tbody>
494
852
</div>
495
853
<hr>
496
854
<div class="refsect2" lang="en">
497
 
<a name="id2700456"></a><h3>
 
855
<a name="id2700363"></a><h3>
498
856
<a name="GIMP-SCALE-ENTRY-LABEL:CAPS"></a>GIMP_SCALE_ENTRY_LABEL()</h3>
499
 
<a class="indexterm" name="id2700467"></a><pre class="programlisting">#define             GIMP_SCALE_ENTRY_LABEL(adj)</pre>
 
857
<a class="indexterm" name="id2700373"></a><pre class="programlisting">#define             GIMP_SCALE_ENTRY_LABEL(adj)</pre>
500
858
<p>
501
 
Returns the scale_entry's <span class="type">GtkLabel</span>.
 
859
Returns the scale_entry's <a
 
860
href="../gtk/GtkLabel.html"
 
861
><span class="type">GtkLabel</span></a>.
502
862
</p>
503
863
<div class="variablelist"><table border="0">
504
864
<col align="left" valign="top">
505
865
<tbody><tr>
506
866
<td><p><span class="term"><em class="parameter"><code>adj</code></em>&#160;:</span></p></td>
507
 
<td>The <span class="type">GtkAdjustment</span> returned by <a class="link" href="libgimpwidgets-GimpWidgets.html#gimp-scale-entry-new"><code class="function">gimp_scale_entry_new()</code></a>.
 
867
<td>The <a
 
868
href="../gtk/GtkAdjustment.html"
 
869
><span class="type">GtkAdjustment</span></a> returned by <a class="link" href="libgimpwidgets-GimpWidgets.html#gimp-scale-entry-new"><code class="function">gimp_scale_entry_new()</code></a>.
508
870
 
509
871
 
510
872
</td>
513
875
</div>
514
876
<hr>
515
877
<div class="refsect2" lang="en">
516
 
<a name="id2700525"></a><h3>
 
878
<a name="id2700425"></a><h3>
517
879
<a name="GIMP-SCALE-ENTRY-SCALE:CAPS"></a>GIMP_SCALE_ENTRY_SCALE()</h3>
518
 
<a class="indexterm" name="id2700536"></a><pre class="programlisting">#define             GIMP_SCALE_ENTRY_SCALE(adj)</pre>
 
880
<a class="indexterm" name="id2700436"></a><pre class="programlisting">#define             GIMP_SCALE_ENTRY_SCALE(adj)</pre>
519
881
<p>
520
 
Returns the scale_entry's <span class="type">GtkHScale</span>.
 
882
Returns the scale_entry's <a
 
883
href="../gtk/GtkHScale.html"
 
884
><span class="type">GtkHScale</span></a>.
521
885
</p>
522
886
<div class="variablelist"><table border="0">
523
887
<col align="left" valign="top">
524
888
<tbody><tr>
525
889
<td><p><span class="term"><em class="parameter"><code>adj</code></em>&#160;:</span></p></td>
526
 
<td>The <span class="type">GtkAdjustment</span> returned by <a class="link" href="libgimpwidgets-GimpWidgets.html#gimp-scale-entry-new"><code class="function">gimp_scale_entry_new()</code></a>.
 
890
<td>The <a
 
891
href="../gtk/GtkAdjustment.html"
 
892
><span class="type">GtkAdjustment</span></a> returned by <a class="link" href="libgimpwidgets-GimpWidgets.html#gimp-scale-entry-new"><code class="function">gimp_scale_entry_new()</code></a>.
527
893
 
528
894
 
529
895
</td>
532
898
</div>
533
899
<hr>
534
900
<div class="refsect2" lang="en">
535
 
<a name="id2700594"></a><h3>
 
901
<a name="id2700488"></a><h3>
536
902
<a name="GIMP-SCALE-ENTRY-SCALE-ADJ:CAPS"></a>GIMP_SCALE_ENTRY_SCALE_ADJ()</h3>
537
 
<a class="indexterm" name="id2700608"></a><pre class="programlisting">#define             GIMP_SCALE_ENTRY_SCALE_ADJ(adj)</pre>
 
903
<a class="indexterm" name="id2700500"></a><pre class="programlisting">#define             GIMP_SCALE_ENTRY_SCALE_ADJ(adj)</pre>
538
904
<p>
539
 
Returns the <span class="type">GtkAdjustment</span> of the scale_entry's <span class="type">GtkHScale</span>.
 
905
Returns the <a
 
906
href="../gtk/GtkAdjustment.html"
 
907
><span class="type">GtkAdjustment</span></a> of the scale_entry's <a
 
908
href="../gtk/GtkHScale.html"
 
909
><span class="type">GtkHScale</span></a>.
540
910
</p>
541
911
<div class="variablelist"><table border="0">
542
912
<col align="left" valign="top">
543
913
<tbody><tr>
544
914
<td><p><span class="term"><em class="parameter"><code>adj</code></em>&#160;:</span></p></td>
545
 
<td>The <span class="type">GtkAdjustment</span> returned by <a class="link" href="libgimpwidgets-GimpWidgets.html#gimp-scale-entry-new"><code class="function">gimp_scale_entry_new()</code></a>.
 
915
<td>The <a
 
916
href="../gtk/GtkAdjustment.html"
 
917
><span class="type">GtkAdjustment</span></a> returned by <a class="link" href="libgimpwidgets-GimpWidgets.html#gimp-scale-entry-new"><code class="function">gimp_scale_entry_new()</code></a>.
546
918
 
547
919
 
548
920
</td>
551
923
</div>
552
924
<hr>
553
925
<div class="refsect2" lang="en">
554
 
<a name="id2700653"></a><h3>
 
926
<a name="id2700559"></a><h3>
555
927
<a name="GIMP-SCALE-ENTRY-SPINBUTTON:CAPS"></a>GIMP_SCALE_ENTRY_SPINBUTTON()</h3>
556
 
<a class="indexterm" name="id2700665"></a><pre class="programlisting">#define             GIMP_SCALE_ENTRY_SPINBUTTON(adj)</pre>
 
928
<a class="indexterm" name="id2700571"></a><pre class="programlisting">#define             GIMP_SCALE_ENTRY_SPINBUTTON(adj)</pre>
557
929
<p>
558
 
Returns the scale_entry's <span class="type">GtkSpinButton</span>.
 
930
Returns the scale_entry's <a
 
931
href="../gtk/GtkSpinButton.html"
 
932
><span class="type">GtkSpinButton</span></a>.
559
933
</p>
560
934
<div class="variablelist"><table border="0">
561
935
<col align="left" valign="top">
562
936
<tbody><tr>
563
937
<td><p><span class="term"><em class="parameter"><code>adj</code></em>&#160;:</span></p></td>
564
 
<td>The <span class="type">GtkAdjustment</span> returned by <a class="link" href="libgimpwidgets-GimpWidgets.html#gimp-scale-entry-new"><code class="function">gimp_scale_entry_new()</code></a>.
 
938
<td>The <a
 
939
href="../gtk/GtkAdjustment.html"
 
940
><span class="type">GtkAdjustment</span></a> returned by <a class="link" href="libgimpwidgets-GimpWidgets.html#gimp-scale-entry-new"><code class="function">gimp_scale_entry_new()</code></a>.
565
941
 
566
942
 
567
943
</td>
570
946
</div>
571
947
<hr>
572
948
<div class="refsect2" lang="en">
573
 
<a name="id2700717"></a><h3>
 
949
<a name="id2700623"></a><h3>
574
950
<a name="GIMP-SCALE-ENTRY-SPINBUTTON-ADJ:CAPS"></a>GIMP_SCALE_ENTRY_SPINBUTTON_ADJ()</h3>
575
 
<a class="indexterm" name="id2700731"></a><pre class="programlisting">#define             GIMP_SCALE_ENTRY_SPINBUTTON_ADJ(adj)</pre>
 
951
<a class="indexterm" name="id2700637"></a><pre class="programlisting">#define             GIMP_SCALE_ENTRY_SPINBUTTON_ADJ(adj)</pre>
576
952
<p>
577
 
Returns the <span class="type">GtkAdjustment</span> of the scale_entry's <span class="type">GtkSpinButton</span>.
 
953
Returns the <a
 
954
href="../gtk/GtkAdjustment.html"
 
955
><span class="type">GtkAdjustment</span></a> of the scale_entry's <a
 
956
href="../gtk/GtkSpinButton.html"
 
957
><span class="type">GtkSpinButton</span></a>.
578
958
</p>
579
959
<div class="variablelist"><table border="0">
580
960
<col align="left" valign="top">
581
961
<tbody><tr>
582
962
<td><p><span class="term"><em class="parameter"><code>adj</code></em>&#160;:</span></p></td>
583
 
<td>The <span class="type">GtkAdjustment</span> returned by <a class="link" href="libgimpwidgets-GimpWidgets.html#gimp-scale-entry-new"><code class="function">gimp_scale_entry_new()</code></a>.
 
963
<td>The <a
 
964
href="../gtk/GtkAdjustment.html"
 
965
><span class="type">GtkAdjustment</span></a> returned by <a class="link" href="libgimpwidgets-GimpWidgets.html#gimp-scale-entry-new"><code class="function">gimp_scale_entry_new()</code></a>.
584
966
 
585
967
 
586
968
</td>
589
971
</div>
590
972
<hr>
591
973
<div class="refsect2" lang="en">
592
 
<a name="id2700790"></a><h3>
 
974
<a name="id2700696"></a><h3>
593
975
<a name="gimp-scale-entry-new"></a>gimp_scale_entry_new ()</h3>
594
 
<a class="indexterm" name="id2700800"></a><pre class="programlisting">GtkObject*          gimp_scale_entry_new                (GtkTable *table,
595
 
                                                         gint column,
596
 
                                                         gint row,
597
 
                                                         const gchar *text,
598
 
                                                         gint scale_width,
599
 
                                                         gint spinbutton_width,
600
 
                                                         gdouble value,
601
 
                                                         gdouble lower,
602
 
                                                         gdouble upper,
603
 
                                                         gdouble step_increment,
604
 
                                                         gdouble page_increment,
605
 
                                                         guint digits,
606
 
                                                         gboolean constrain,
607
 
                                                         gdouble unconstrained_lower,
608
 
                                                         gdouble unconstrained_upper,
609
 
                                                         const gchar *tooltip,
610
 
                                                         const gchar *help_id);</pre>
 
976
<a class="indexterm" name="id2700706"></a><pre class="programlisting"><a
 
977
href="../gtk/GtkObject.html"
 
978
>GtkObject</a>*          gimp_scale_entry_new                (<a
 
979
href="../gtk/GtkTable.html"
 
980
>GtkTable</a> *table,
 
981
                                                         <a
 
982
href="../glib/glib-Basic-Types.html#gint"
 
983
>gint</a> column,
 
984
                                                         <a
 
985
href="../glib/glib-Basic-Types.html#gint"
 
986
>gint</a> row,
 
987
                                                         const <a
 
988
href="../glib/glib-Basic-Types.html#gchar"
 
989
>gchar</a> *text,
 
990
                                                         <a
 
991
href="../glib/glib-Basic-Types.html#gint"
 
992
>gint</a> scale_width,
 
993
                                                         <a
 
994
href="../glib/glib-Basic-Types.html#gint"
 
995
>gint</a> spinbutton_width,
 
996
                                                         <a
 
997
href="../glib/glib-Basic-Types.html#gdouble"
 
998
>gdouble</a> value,
 
999
                                                         <a
 
1000
href="../glib/glib-Basic-Types.html#gdouble"
 
1001
>gdouble</a> lower,
 
1002
                                                         <a
 
1003
href="../glib/glib-Basic-Types.html#gdouble"
 
1004
>gdouble</a> upper,
 
1005
                                                         <a
 
1006
href="../glib/glib-Basic-Types.html#gdouble"
 
1007
>gdouble</a> step_increment,
 
1008
                                                         <a
 
1009
href="../glib/glib-Basic-Types.html#gdouble"
 
1010
>gdouble</a> page_increment,
 
1011
                                                         <a
 
1012
href="../glib/glib-Basic-Types.html#guint"
 
1013
>guint</a> digits,
 
1014
                                                         <a
 
1015
href="../glib/glib-Basic-Types.html#gboolean"
 
1016
>gboolean</a> constrain,
 
1017
                                                         <a
 
1018
href="../glib/glib-Basic-Types.html#gdouble"
 
1019
>gdouble</a> unconstrained_lower,
 
1020
                                                         <a
 
1021
href="../glib/glib-Basic-Types.html#gdouble"
 
1022
>gdouble</a> unconstrained_upper,
 
1023
                                                         const <a
 
1024
href="../glib/glib-Basic-Types.html#gchar"
 
1025
>gchar</a> *tooltip,
 
1026
                                                         const <a
 
1027
href="../glib/glib-Basic-Types.html#gchar"
 
1028
>gchar</a> *help_id);</pre>
611
1029
<p>
612
 
This function creates a <span class="type">GtkLabel</span>, a <span class="type">GtkHScale</span> and a <span class="type">GtkSpinButton</span> and
613
 
attaches them to a 3-column <span class="type">GtkTable</span>.</p>
 
1030
This function creates a <a
 
1031
href="../gtk/GtkLabel.html"
 
1032
><span class="type">GtkLabel</span></a>, a <a
 
1033
href="../gtk/GtkHScale.html"
 
1034
><span class="type">GtkHScale</span></a> and a <a
 
1035
href="../gtk/GtkSpinButton.html"
 
1036
><span class="type">GtkSpinButton</span></a> and
 
1037
attaches them to a 3-column <a
 
1038
href="../gtk/GtkTable.html"
 
1039
><span class="type">GtkTable</span></a>.</p>
614
1040
<p>
615
1041
 
616
1042
</p>
619
1045
<tbody>
620
1046
<tr>
621
1047
<td><p><span class="term"><em class="parameter"><code>table</code></em>&#160;:</span></p></td>
622
 
<td>               The <span class="type">GtkTable</span> the widgets will be attached to.
 
1048
<td>               The <a
 
1049
href="../gtk/GtkTable.html"
 
1050
><span class="type">GtkTable</span></a> the widgets will be attached to.
623
1051
</td>
624
1052
</tr>
625
1053
<tr>
634
1062
</tr>
635
1063
<tr>
636
1064
<td><p><span class="term"><em class="parameter"><code>text</code></em>&#160;:</span></p></td>
637
 
<td>                The text for the <span class="type">GtkLabel</span> which will appear
638
 
                      left of the <span class="type">GtkHScale</span>.
 
1065
<td>                The text for the <a
 
1066
href="../gtk/GtkLabel.html"
 
1067
><span class="type">GtkLabel</span></a> which will appear
 
1068
                      left of the <a
 
1069
href="../gtk/GtkHScale.html"
 
1070
><span class="type">GtkHScale</span></a>.
639
1071
</td>
640
1072
</tr>
641
1073
<tr>
642
1074
<td><p><span class="term"><em class="parameter"><code>scale_width</code></em>&#160;:</span></p></td>
643
 
<td>         The minimum horizontal size of the <span class="type">GtkHScale</span>.
 
1075
<td>         The minimum horizontal size of the <a
 
1076
href="../gtk/GtkHScale.html"
 
1077
><span class="type">GtkHScale</span></a>.
644
1078
</td>
645
1079
</tr>
646
1080
<tr>
647
1081
<td><p><span class="term"><em class="parameter"><code>spinbutton_width</code></em>&#160;:</span></p></td>
648
 
<td>    The minimum horizontal size of the <span class="type">GtkSpinButton</span>.
 
1082
<td>    The minimum horizontal size of the <a
 
1083
href="../gtk/GtkSpinButton.html"
 
1084
><span class="type">GtkSpinButton</span></a>.
649
1085
</td>
650
1086
</tr>
651
1087
<tr>
680
1116
</tr>
681
1117
<tr>
682
1118
<td><p><span class="term"><em class="parameter"><code>constrain</code></em>&#160;:</span></p></td>
683
 
<td>           <code class="literal">TRUE</code> if the range of possible values of the
684
 
                      <span class="type">GtkSpinButton</span> should be the same as of the <span class="type">GtkHScale</span>.
 
1119
<td>           <a
 
1120
href="../glib/glib-Standard-Macros.html#TRUE:CAPS"
 
1121
><code class="literal">TRUE</code></a> if the range of possible values of the
 
1122
                      <a
 
1123
href="../gtk/GtkSpinButton.html"
 
1124
><span class="type">GtkSpinButton</span></a> should be the same as of the <a
 
1125
href="../gtk/GtkHScale.html"
 
1126
><span class="type">GtkHScale</span></a>.
685
1127
</td>
686
1128
</tr>
687
1129
<tr>
688
1130
<td><p><span class="term"><em class="parameter"><code>unconstrained_lower</code></em>&#160;:</span></p></td>
689
1131
<td> The spinbutton's lower boundary
690
 
                      if <em class="parameter"><code>constrain</code></em> == <code class="literal">FALSE</code>.
 
1132
                      if <em class="parameter"><code>constrain</code></em> == <a
 
1133
href="../glib/glib-Standard-Macros.html#FALSE:CAPS"
 
1134
><code class="literal">FALSE</code></a>.
691
1135
</td>
692
1136
</tr>
693
1137
<tr>
694
1138
<td><p><span class="term"><em class="parameter"><code>unconstrained_upper</code></em>&#160;:</span></p></td>
695
1139
<td> The spinbutton's upper boundary
696
 
                      if <em class="parameter"><code>constrain</code></em> == <code class="literal">FALSE</code>.
 
1140
                      if <em class="parameter"><code>constrain</code></em> == <a
 
1141
href="../glib/glib-Standard-Macros.html#FALSE:CAPS"
 
1142
><code class="literal">FALSE</code></a>.
697
1143
</td>
698
1144
</tr>
699
1145
<tr>
708
1154
</tr>
709
1155
<tr>
710
1156
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></p></td>
711
 
<td> The <span class="type">GtkSpinButton</span>'s <span class="type">GtkAdjustment</span>.
 
1157
<td> The <a
 
1158
href="../gtk/GtkSpinButton.html"
 
1159
><span class="type">GtkSpinButton</span></a>'s <a
 
1160
href="../gtk/GtkAdjustment.html"
 
1161
><span class="type">GtkAdjustment</span></a>.
712
1162
</td>
713
1163
</tr>
714
1164
</tbody>
716
1166
</div>
717
1167
<hr>
718
1168
<div class="refsect2" lang="en">
719
 
<a name="id2701300"></a><h3>
 
1169
<a name="id2701206"></a><h3>
720
1170
<a name="gimp-scale-entry-set-sensitive"></a>gimp_scale_entry_set_sensitive ()</h3>
721
 
<a class="indexterm" name="id2701313"></a><pre class="programlisting">void                gimp_scale_entry_set_sensitive      (GtkObject *adjustment,
722
 
                                                         gboolean sensitive);</pre>
 
1171
<a class="indexterm" name="id2701219"></a><pre class="programlisting">void                gimp_scale_entry_set_sensitive      (<a
 
1172
href="../gtk/GtkObject.html"
 
1173
>GtkObject</a> *adjustment,
 
1174
                                                         <a
 
1175
href="../glib/glib-Basic-Types.html#gboolean"
 
1176
>gboolean</a> sensitive);</pre>
723
1177
<p>
724
 
Sets the sensitivity of the scale_entry's <span class="type">GtkLabel</span>, <span class="type">GtkHScale</span> and
 
1178
Sets the sensitivity of the scale_entry's <a
 
1179
href="../gtk/GtkLabel.html"
 
1180
><span class="type">GtkLabel</span></a>, <a
 
1181
href="../gtk/GtkHScale.html"
 
1182
><span class="type">GtkHScale</span></a> and
725
1183
<span class="type">GtkSpinbutton</span>.</p>
726
1184
<p>
727
1185
 
731
1189
<tbody>
732
1190
<tr>
733
1191
<td><p><span class="term"><em class="parameter"><code>adjustment</code></em>&#160;:</span></p></td>
734
 
<td> a <span class="type">GtkAdjustment</span> returned by <a class="link" href="libgimpwidgets-GimpWidgets.html#gimp-scale-entry-new"><code class="function">gimp_scale_entry_new()</code></a>
 
1192
<td> a <a
 
1193
href="../gtk/GtkAdjustment.html"
 
1194
><span class="type">GtkAdjustment</span></a> returned by <a class="link" href="libgimpwidgets-GimpWidgets.html#gimp-scale-entry-new"><code class="function">gimp_scale_entry_new()</code></a>
735
1195
</td>
736
1196
</tr>
737
1197
<tr>
738
1198
<td><p><span class="term"><em class="parameter"><code>sensitive</code></em>&#160;:</span></p></td>
739
1199
<td>  a boolean value with the same semantics as the <em class="parameter"><code>sensitive</code></em>
740
 
             parameter of <code class="function">gtk_widget_set_sensitive()</code>
 
1200
             parameter of <a
 
1201
href="../gtk/GtkWidget.html#gtk-widget-set-sensitive"
 
1202
><code class="function">gtk_widget_set_sensitive()</code></a>
741
1203
</td>
742
1204
</tr>
743
1205
</tbody>
745
1207
</div>
746
1208
<hr>
747
1209
<div class="refsect2" lang="en">
748
 
<a name="id2701425"></a><h3>
 
1210
<a name="id2701331"></a><h3>
749
1211
<a name="gimp-scale-entry-set-logarithmic"></a>gimp_scale_entry_set_logarithmic ()</h3>
750
 
<a class="indexterm" name="id2701439"></a><pre class="programlisting">void                gimp_scale_entry_set_logarithmic    (GtkObject *adjustment,
751
 
                                                         gboolean logarithmic);</pre>
 
1212
<a class="indexterm" name="id2701346"></a><pre class="programlisting">void                gimp_scale_entry_set_logarithmic    (<a
 
1213
href="../gtk/GtkObject.html"
 
1214
>GtkObject</a> *adjustment,
 
1215
                                                         <a
 
1216
href="../glib/glib-Basic-Types.html#gboolean"
 
1217
>gboolean</a> logarithmic);</pre>
752
1218
<p>
753
1219
Sets whether the scale_entry's scale widget will behave in a linear
754
1220
or logharithmic fashion. Useful when an entry has to attend large
762
1228
<tbody>
763
1229
<tr>
764
1230
<td><p><span class="term"><em class="parameter"><code>adjustment</code></em>&#160;:</span></p></td>
765
 
<td>  a  <span class="type">GtkAdjustment</span> as returned by <a class="link" href="libgimpwidgets-GimpWidgets.html#gimp-scale-entry-new"><code class="function">gimp_scale_entry_new()</code></a>
 
1231
<td>  a  <a
 
1232
href="../gtk/GtkAdjustment.html"
 
1233
><span class="type">GtkAdjustment</span></a> as returned by <a class="link" href="libgimpwidgets-GimpWidgets.html#gimp-scale-entry-new"><code class="function">gimp_scale_entry_new()</code></a>
766
1234
</td>
767
1235
</tr>
768
1236
<tr>
778
1246
</div>
779
1247
<hr>
780
1248
<div class="refsect2" lang="en">
781
 
<a name="id2701529"></a><h3>
 
1249
<a name="id2701435"></a><h3>
782
1250
<a name="gimp-scale-entry-get-logarithmic"></a>gimp_scale_entry_get_logarithmic ()</h3>
783
 
<a class="indexterm" name="id2701544"></a><pre class="programlisting">gboolean            gimp_scale_entry_get_logarithmic    (GtkObject *adjustment);</pre>
 
1251
<a class="indexterm" name="id2701450"></a><pre class="programlisting"><a
 
1252
href="../glib/glib-Basic-Types.html#gboolean"
 
1253
>gboolean</a>            gimp_scale_entry_get_logarithmic    (<a
 
1254
href="../gtk/GtkObject.html"
 
1255
>GtkObject</a> *adjustment);</pre>
784
1256
<p>
785
1257
</p>
786
1258
<p>
791
1263
<tbody>
792
1264
<tr>
793
1265
<td><p><span class="term"><em class="parameter"><code>adjustment</code></em>&#160;:</span></p></td>
794
 
<td> a  <span class="type">GtkAdjustment</span> as returned by <a class="link" href="libgimpwidgets-GimpWidgets.html#gimp-scale-entry-new"><code class="function">gimp_scale_entry_new()</code></a>
 
1266
<td> a  <a
 
1267
href="../gtk/GtkAdjustment.html"
 
1268
><span class="type">GtkAdjustment</span></a> as returned by <a class="link" href="libgimpwidgets-GimpWidgets.html#gimp-scale-entry-new"><code class="function">gimp_scale_entry_new()</code></a>
795
1269
</td>
796
1270
</tr>
797
1271
<tr>
798
1272
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></p></td>
799
 
<td> <code class="literal">TRUE</code> if the the entry's scale widget will behave in
800
 
              logharithmic fashion, <code class="literal">FALSE</code> for linear behaviour.
 
1273
<td> <a
 
1274
href="../glib/glib-Standard-Macros.html#TRUE:CAPS"
 
1275
><code class="literal">TRUE</code></a> if the the entry's scale widget will behave in
 
1276
              logharithmic fashion, <a
 
1277
href="../glib/glib-Standard-Macros.html#FALSE:CAPS"
 
1278
><code class="literal">FALSE</code></a> for linear behaviour.
801
1279
 
802
1280
</td>
803
1281
</tr>
808
1286
</div>
809
1287
<hr>
810
1288
<div class="refsect2" lang="en">
811
 
<a name="id2701636"></a><h3>
 
1289
<a name="id2701543"></a><h3>
812
1290
<a name="gimp-color-scale-entry-new"></a>gimp_color_scale_entry_new ()</h3>
813
 
<a class="indexterm" name="id2701648"></a><pre class="programlisting">GtkObject*          gimp_color_scale_entry_new          (GtkTable *table,
814
 
                                                         gint column,
815
 
                                                         gint row,
816
 
                                                         const gchar *text,
817
 
                                                         gint scale_width,
818
 
                                                         gint spinbutton_width,
819
 
                                                         gdouble value,
820
 
                                                         gdouble lower,
821
 
                                                         gdouble upper,
822
 
                                                         gdouble step_increment,
823
 
                                                         gdouble page_increment,
824
 
                                                         guint digits,
825
 
                                                         const gchar *tooltip,
826
 
                                                         const gchar *help_id);</pre>
 
1291
<a class="indexterm" name="id2701554"></a><pre class="programlisting"><a
 
1292
href="../gtk/GtkObject.html"
 
1293
>GtkObject</a>*          gimp_color_scale_entry_new          (<a
 
1294
href="../gtk/GtkTable.html"
 
1295
>GtkTable</a> *table,
 
1296
                                                         <a
 
1297
href="../glib/glib-Basic-Types.html#gint"
 
1298
>gint</a> column,
 
1299
                                                         <a
 
1300
href="../glib/glib-Basic-Types.html#gint"
 
1301
>gint</a> row,
 
1302
                                                         const <a
 
1303
href="../glib/glib-Basic-Types.html#gchar"
 
1304
>gchar</a> *text,
 
1305
                                                         <a
 
1306
href="../glib/glib-Basic-Types.html#gint"
 
1307
>gint</a> scale_width,
 
1308
                                                         <a
 
1309
href="../glib/glib-Basic-Types.html#gint"
 
1310
>gint</a> spinbutton_width,
 
1311
                                                         <a
 
1312
href="../glib/glib-Basic-Types.html#gdouble"
 
1313
>gdouble</a> value,
 
1314
                                                         <a
 
1315
href="../glib/glib-Basic-Types.html#gdouble"
 
1316
>gdouble</a> lower,
 
1317
                                                         <a
 
1318
href="../glib/glib-Basic-Types.html#gdouble"
 
1319
>gdouble</a> upper,
 
1320
                                                         <a
 
1321
href="../glib/glib-Basic-Types.html#gdouble"
 
1322
>gdouble</a> step_increment,
 
1323
                                                         <a
 
1324
href="../glib/glib-Basic-Types.html#gdouble"
 
1325
>gdouble</a> page_increment,
 
1326
                                                         <a
 
1327
href="../glib/glib-Basic-Types.html#guint"
 
1328
>guint</a> digits,
 
1329
                                                         const <a
 
1330
href="../glib/glib-Basic-Types.html#gchar"
 
1331
>gchar</a> *tooltip,
 
1332
                                                         const <a
 
1333
href="../glib/glib-Basic-Types.html#gchar"
 
1334
>gchar</a> *help_id);</pre>
827
1335
<p>
828
 
This function creates a <span class="type">GtkLabel</span>, a <a class="link" href="GimpColorScale.html" title="GimpColorScale"><span class="type">GimpColorScale</span></a> and a
829
 
<span class="type">GtkSpinButton</span> and attaches them to a 3-column <span class="type">GtkTable</span>.</p>
 
1336
This function creates a <a
 
1337
href="../gtk/GtkLabel.html"
 
1338
><span class="type">GtkLabel</span></a>, a <a class="link" href="GimpColorScale.html" title="GimpColorScale"><span class="type">GimpColorScale</span></a> and a
 
1339
<a
 
1340
href="../gtk/GtkSpinButton.html"
 
1341
><span class="type">GtkSpinButton</span></a> and attaches them to a 3-column <a
 
1342
href="../gtk/GtkTable.html"
 
1343
><span class="type">GtkTable</span></a>.</p>
830
1344
<p>
831
1345
 
832
1346
</p>
835
1349
<tbody>
836
1350
<tr>
837
1351
<td><p><span class="term"><em class="parameter"><code>table</code></em>&#160;:</span></p></td>
838
 
<td>               The <span class="type">GtkTable</span> the widgets will be attached to.
 
1352
<td>               The <a
 
1353
href="../gtk/GtkTable.html"
 
1354
><span class="type">GtkTable</span></a> the widgets will be attached to.
839
1355
</td>
840
1356
</tr>
841
1357
<tr>
850
1366
</tr>
851
1367
<tr>
852
1368
<td><p><span class="term"><em class="parameter"><code>text</code></em>&#160;:</span></p></td>
853
 
<td>                The text for the <span class="type">GtkLabel</span> which will appear
854
 
                      left of the <span class="type">GtkHScale</span>.
 
1369
<td>                The text for the <a
 
1370
href="../gtk/GtkLabel.html"
 
1371
><span class="type">GtkLabel</span></a> which will appear
 
1372
                      left of the <a
 
1373
href="../gtk/GtkHScale.html"
 
1374
><span class="type">GtkHScale</span></a>.
855
1375
</td>
856
1376
</tr>
857
1377
<tr>
858
1378
<td><p><span class="term"><em class="parameter"><code>scale_width</code></em>&#160;:</span></p></td>
859
 
<td>         The minimum horizontal size of the <span class="type">GtkHScale</span>.
 
1379
<td>         The minimum horizontal size of the <a
 
1380
href="../gtk/GtkHScale.html"
 
1381
><span class="type">GtkHScale</span></a>.
860
1382
</td>
861
1383
</tr>
862
1384
<tr>
863
1385
<td><p><span class="term"><em class="parameter"><code>spinbutton_width</code></em>&#160;:</span></p></td>
864
 
<td>    The minimum horizontal size of the <span class="type">GtkSpinButton</span>.
 
1386
<td>    The minimum horizontal size of the <a
 
1387
href="../gtk/GtkSpinButton.html"
 
1388
><span class="type">GtkSpinButton</span></a>.
865
1389
</td>
866
1390
</tr>
867
1391
<tr>
906
1430
</tr>
907
1431
<tr>
908
1432
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></p></td>
909
 
<td> The <span class="type">GtkSpinButton</span>'s <span class="type">GtkAdjustment</span>.
 
1433
<td> The <a
 
1434
href="../gtk/GtkSpinButton.html"
 
1435
><span class="type">GtkSpinButton</span></a>'s <a
 
1436
href="../gtk/GtkAdjustment.html"
 
1437
><span class="type">GtkAdjustment</span></a>.
910
1438
</td>
911
1439
</tr>
912
1440
</tbody>
914
1442
</div>
915
1443
<hr>
916
1444
<div class="refsect2" lang="en">
917
 
<a name="id2702039"></a><h3>
 
1445
<a name="id2701950"></a><h3>
918
1446
<a name="GIMP-RANDOM-SEED-SPINBUTTON:CAPS"></a>GIMP_RANDOM_SEED_SPINBUTTON()</h3>
919
 
<a class="indexterm" name="id2702051"></a><pre class="programlisting">#define             GIMP_RANDOM_SEED_SPINBUTTON(hbox)</pre>
 
1447
<a class="indexterm" name="id2701965"></a><pre class="programlisting">#define             GIMP_RANDOM_SEED_SPINBUTTON(hbox)</pre>
920
1448
<p>
921
 
Returns the random_seed's <span class="type">GtkSpinButton</span>.
 
1449
Returns the random_seed's <a
 
1450
href="../gtk/GtkSpinButton.html"
 
1451
><span class="type">GtkSpinButton</span></a>.
922
1452
</p>
923
1453
<div class="variablelist"><table border="0">
924
1454
<col align="left" valign="top">
925
1455
<tbody><tr>
926
1456
<td><p><span class="term"><em class="parameter"><code>hbox</code></em>&#160;:</span></p></td>
927
 
<td>The <span class="type">GtkHBox</span> returned by <a class="link" href="libgimpwidgets-GimpWidgets.html#gimp-random-seed-new"><code class="function">gimp_random_seed_new()</code></a>.
 
1457
<td>The <a
 
1458
href="../gtk/GtkHBox.html"
 
1459
><span class="type">GtkHBox</span></a> returned by <a class="link" href="libgimpwidgets-GimpWidgets.html#gimp-random-seed-new"><code class="function">gimp_random_seed_new()</code></a>.
928
1460
 
929
1461
 
930
1462
</td>
933
1465
</div>
934
1466
<hr>
935
1467
<div class="refsect2" lang="en">
936
 
<a name="id2702103"></a><h3>
 
1468
<a name="id2702025"></a><h3>
937
1469
<a name="GIMP-RANDOM-SEED-SPINBUTTON-ADJ:CAPS"></a>GIMP_RANDOM_SEED_SPINBUTTON_ADJ()</h3>
938
 
<a class="indexterm" name="id2702117"></a><pre class="programlisting">#define             GIMP_RANDOM_SEED_SPINBUTTON_ADJ(hbox)</pre>
 
1470
<a class="indexterm" name="id2702040"></a><pre class="programlisting">#define             GIMP_RANDOM_SEED_SPINBUTTON_ADJ(hbox)</pre>
939
1471
<p>
940
 
Returns the <span class="type">GtkAdjustment</span> of the random_seed's <span class="type">GtkSpinButton</span>.
 
1472
Returns the <a
 
1473
href="../gtk/GtkAdjustment.html"
 
1474
><span class="type">GtkAdjustment</span></a> of the random_seed's <a
 
1475
href="../gtk/GtkSpinButton.html"
 
1476
><span class="type">GtkSpinButton</span></a>.
941
1477
</p>
942
1478
<div class="variablelist"><table border="0">
943
1479
<col align="left" valign="top">
944
1480
<tbody><tr>
945
1481
<td><p><span class="term"><em class="parameter"><code>hbox</code></em>&#160;:</span></p></td>
946
 
<td>The <span class="type">GtkHBox</span> returned by <a class="link" href="libgimpwidgets-GimpWidgets.html#gimp-random-seed-new"><code class="function">gimp_random_seed_new()</code></a>.
 
1482
<td>The <a
 
1483
href="../gtk/GtkHBox.html"
 
1484
><span class="type">GtkHBox</span></a> returned by <a class="link" href="libgimpwidgets-GimpWidgets.html#gimp-random-seed-new"><code class="function">gimp_random_seed_new()</code></a>.
947
1485
 
948
1486
 
949
1487
</td>
952
1490
</div>
953
1491
<hr>
954
1492
<div class="refsect2" lang="en">
955
 
<a name="id2702176"></a><h3>
 
1493
<a name="id2702108"></a><h3>
956
1494
<a name="GIMP-RANDOM-SEED-TOGGLE:CAPS"></a>GIMP_RANDOM_SEED_TOGGLE()</h3>
957
 
<a class="indexterm" name="id2702188"></a><pre class="programlisting">#define             GIMP_RANDOM_SEED_TOGGLE(hbox)</pre>
 
1495
<a class="indexterm" name="id2702123"></a><pre class="programlisting">#define             GIMP_RANDOM_SEED_TOGGLE(hbox)</pre>
958
1496
<p>
959
1497
 
960
1498
</p>
971
1509
</div>
972
1510
<hr>
973
1511
<div class="refsect2" lang="en">
974
 
<a name="id2702220"></a><h3>
 
1512
<a name="id2702158"></a><h3>
975
1513
<a name="gimp-random-seed-new"></a>gimp_random_seed_new ()</h3>
976
 
<a class="indexterm" name="id2702230"></a><pre class="programlisting">GtkWidget*          gimp_random_seed_new                (guint32 *seed,
977
 
                                                         gboolean *random_seed);</pre>
 
1514
<a class="indexterm" name="id2702172"></a><pre class="programlisting"><a
 
1515
href="../gtk/GtkWidget.html"
 
1516
>GtkWidget</a>*          gimp_random_seed_new                (<a
 
1517
href="../glib/glib-Basic-Types.html#guint32"
 
1518
>guint32</a> *seed,
 
1519
                                                         <a
 
1520
href="../glib/glib-Basic-Types.html#gboolean"
 
1521
>gboolean</a> *random_seed);</pre>
978
1522
<p>
979
1523
Creates a widget that allows the user to control how the random number
980
1524
generator is initialized.</p>
997
1541
</tr>
998
1542
<tr>
999
1543
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></p></td>
1000
 
<td> A <span class="type">GtkHBox</span> containing a <span class="type">GtkSpinButton</span> for the seed and
1001
 
         a <span class="type">GtkButton</span> for setting a random seed.
 
1544
<td> A <a
 
1545
href="../gtk/GtkHBox.html"
 
1546
><span class="type">GtkHBox</span></a> containing a <a
 
1547
href="../gtk/GtkSpinButton.html"
 
1548
><span class="type">GtkSpinButton</span></a> for the seed and
 
1549
         a <a
 
1550
href="../gtk/GtkButton.html"
 
1551
><span class="type">GtkButton</span></a> for setting a random seed.
1002
1552
</td>
1003
1553
</tr>
1004
1554
</tbody>
1006
1556
</div>
1007
1557
<hr>
1008
1558
<div class="refsect2" lang="en">
1009
 
<a name="id2702327"></a><h3>
 
1559
<a name="id2702280"></a><h3>
1010
1560
<a name="GIMP-COORDINATES-CHAINBUTTON:CAPS"></a>GIMP_COORDINATES_CHAINBUTTON()</h3>
1011
 
<a class="indexterm" name="id2702339"></a><pre class="programlisting">#define             GIMP_COORDINATES_CHAINBUTTON(sizeentry)</pre>
 
1561
<a class="indexterm" name="id2702294"></a><pre class="programlisting">#define             GIMP_COORDINATES_CHAINBUTTON(sizeentry)</pre>
1012
1562
<p>
1013
1563
Returns the <a class="link" href="GimpChainButton.html" title="GimpChainButton"><span class="type">GimpChainButton</span></a> which is attached to the <a class="link" href="GimpSizeEntry.html" title="GimpSizeEntry"><span class="type">GimpSizeEntry</span></a>.
1014
1564
</p>
1025
1575
</div>
1026
1576
<hr>
1027
1577
<div class="refsect2" lang="en">
1028
 
<a name="id2702398"></a><h3>
 
1578
<a name="id2702362"></a><h3>
1029
1579
<a name="gimp-coordinates-new"></a>gimp_coordinates_new ()</h3>
1030
 
<a class="indexterm" name="id2702409"></a><pre class="programlisting">GtkWidget*          gimp_coordinates_new                (<a
 
1580
<a class="indexterm" name="id2702376"></a><pre class="programlisting"><a
 
1581
href="../gtk/GtkWidget.html"
 
1582
>GtkWidget</a>*          gimp_coordinates_new                (<a
1031
1583
href="../libgimpbase/libgimpbase-gimpunit.html#GimpUnit"
1032
1584
>GimpUnit</a> unit,
1033
 
                                                         const gchar *unit_format,
1034
 
                                                         gboolean menu_show_pixels,
1035
 
                                                         gboolean menu_show_percent,
1036
 
                                                         gint spinbutton_width,
 
1585
                                                         const <a
 
1586
href="../glib/glib-Basic-Types.html#gchar"
 
1587
>gchar</a> *unit_format,
 
1588
                                                         <a
 
1589
href="../glib/glib-Basic-Types.html#gboolean"
 
1590
>gboolean</a> menu_show_pixels,
 
1591
                                                         <a
 
1592
href="../glib/glib-Basic-Types.html#gboolean"
 
1593
>gboolean</a> menu_show_percent,
 
1594
                                                         <a
 
1595
href="../glib/glib-Basic-Types.html#gint"
 
1596
>gint</a> spinbutton_width,
1037
1597
                                                         <a class="link" href="GimpSizeEntry.html#GimpSizeEntryUpdatePolicy">GimpSizeEntryUpdatePolicy</a> update_policy,
1038
 
                                                         gboolean chainbutton_active,
1039
 
                                                         gboolean chain_constrains_ratio,
1040
 
                                                         const gchar *xlabel,
1041
 
                                                         gdouble x,
1042
 
                                                         gdouble xres,
1043
 
                                                         gdouble lower_boundary_x,
1044
 
                                                         gdouble upper_boundary_x,
1045
 
                                                         gdouble xsize_0,
1046
 
                                                         gdouble xsize_100,
1047
 
                                                         const gchar *ylabel,
1048
 
                                                         gdouble y,
1049
 
                                                         gdouble yres,
1050
 
                                                         gdouble lower_boundary_y,
1051
 
                                                         gdouble upper_boundary_y,
1052
 
                                                         gdouble ysize_0,
1053
 
                                                         gdouble ysize_100);</pre>
 
1598
                                                         <a
 
1599
href="../glib/glib-Basic-Types.html#gboolean"
 
1600
>gboolean</a> chainbutton_active,
 
1601
                                                         <a
 
1602
href="../glib/glib-Basic-Types.html#gboolean"
 
1603
>gboolean</a> chain_constrains_ratio,
 
1604
                                                         const <a
 
1605
href="../glib/glib-Basic-Types.html#gchar"
 
1606
>gchar</a> *xlabel,
 
1607
                                                         <a
 
1608
href="../glib/glib-Basic-Types.html#gdouble"
 
1609
>gdouble</a> x,
 
1610
                                                         <a
 
1611
href="../glib/glib-Basic-Types.html#gdouble"
 
1612
>gdouble</a> xres,
 
1613
                                                         <a
 
1614
href="../glib/glib-Basic-Types.html#gdouble"
 
1615
>gdouble</a> lower_boundary_x,
 
1616
                                                         <a
 
1617
href="../glib/glib-Basic-Types.html#gdouble"
 
1618
>gdouble</a> upper_boundary_x,
 
1619
                                                         <a
 
1620
href="../glib/glib-Basic-Types.html#gdouble"
 
1621
>gdouble</a> xsize_0,
 
1622
                                                         <a
 
1623
href="../glib/glib-Basic-Types.html#gdouble"
 
1624
>gdouble</a> xsize_100,
 
1625
                                                         const <a
 
1626
href="../glib/glib-Basic-Types.html#gchar"
 
1627
>gchar</a> *ylabel,
 
1628
                                                         <a
 
1629
href="../glib/glib-Basic-Types.html#gdouble"
 
1630
>gdouble</a> y,
 
1631
                                                         <a
 
1632
href="../glib/glib-Basic-Types.html#gdouble"
 
1633
>gdouble</a> yres,
 
1634
                                                         <a
 
1635
href="../glib/glib-Basic-Types.html#gdouble"
 
1636
>gdouble</a> lower_boundary_y,
 
1637
                                                         <a
 
1638
href="../glib/glib-Basic-Types.html#gdouble"
 
1639
>gdouble</a> upper_boundary_y,
 
1640
                                                         <a
 
1641
href="../glib/glib-Basic-Types.html#gdouble"
 
1642
>gdouble</a> ysize_0,
 
1643
                                                         <a
 
1644
href="../glib/glib-Basic-Types.html#gdouble"
 
1645
>gdouble</a> ysize_100);</pre>
1054
1646
<p>
1055
1647
Convenience function that creates a <a class="link" href="GimpSizeEntry.html" title="GimpSizeEntry"><span class="type">GimpSizeEntry</span></a> with two fields for x/y
1056
1648
coordinates/sizes with a <a class="link" href="GimpChainButton.html" title="GimpChainButton"><span class="type">GimpChainButton</span></a> attached to constrain either the
1074
1666
</tr>
1075
1667
<tr>
1076
1668
<td><p><span class="term"><em class="parameter"><code>menu_show_pixels</code></em>&#160;:</span></p></td>
1077
 
<td>       <code class="literal">TRUE</code> if the <a class="link" href="GimpUnitMenu.html" title="GimpUnitMenu"><span class="type">GimpUnitMenu</span></a> should contain an item
 
1669
<td>       <a
 
1670
href="../glib/glib-Standard-Macros.html#TRUE:CAPS"
 
1671
><code class="literal">TRUE</code></a> if the <a class="link" href="GimpUnitMenu.html" title="GimpUnitMenu"><span class="type">GimpUnitMenu</span></a> should contain an item
1078
1672
                         for GIMP_UNIT_PIXEL.
1079
1673
</td>
1080
1674
</tr>
1081
1675
<tr>
1082
1676
<td><p><span class="term"><em class="parameter"><code>menu_show_percent</code></em>&#160;:</span></p></td>
1083
 
<td>      <code class="literal">TRUE</code> if the <a class="link" href="GimpUnitMenu.html" title="GimpUnitMenu"><span class="type">GimpUnitMenu</span></a> should contain an item
 
1677
<td>      <a
 
1678
href="../glib/glib-Standard-Macros.html#TRUE:CAPS"
 
1679
><code class="literal">TRUE</code></a> if the <a class="link" href="GimpUnitMenu.html" title="GimpUnitMenu"><span class="type">GimpUnitMenu</span></a> should contain an item
1084
1680
                         for GIMP_UNIT_PERCENT.
1085
1681
</td>
1086
1682
</tr>
1087
1683
<tr>
1088
1684
<td><p><span class="term"><em class="parameter"><code>spinbutton_width</code></em>&#160;:</span></p></td>
1089
1685
<td>       The horizontal size of the <a class="link" href="GimpSizeEntry.html" title="GimpSizeEntry"><span class="type">GimpSizeEntry</span></a>'s
1090
 
                          <span class="type">GtkSpinButton</span>'s.
 
1686
                          <a
 
1687
href="../gtk/GtkSpinButton.html"
 
1688
><span class="type">GtkSpinButton</span></a>'s.
1091
1689
</td>
1092
1690
</tr>
1093
1691
<tr>
1097
1695
</tr>
1098
1696
<tr>
1099
1697
<td><p><span class="term"><em class="parameter"><code>chainbutton_active</code></em>&#160;:</span></p></td>
1100
 
<td>     <code class="literal">TRUE</code> if the attached <a class="link" href="GimpChainButton.html" title="GimpChainButton"><span class="type">GimpChainButton</span></a> should be
 
1698
<td>     <a
 
1699
href="../glib/glib-Standard-Macros.html#TRUE:CAPS"
 
1700
><code class="literal">TRUE</code></a> if the attached <a class="link" href="GimpChainButton.html" title="GimpChainButton"><span class="type">GimpChainButton</span></a> should be
1101
1701
                         active.
1102
1702
</td>
1103
1703
</tr>
1104
1704
<tr>
1105
1705
<td><p><span class="term"><em class="parameter"><code>chain_constrains_ratio</code></em>&#160;:</span></p></td>
1106
 
<td> <code class="literal">TRUE</code> if the chainbutton should constrain the
1107
 
                         fields' aspect ratio. If <code class="literal">FALSE</code>, the values will
 
1706
<td> <a
 
1707
href="../glib/glib-Standard-Macros.html#TRUE:CAPS"
 
1708
><code class="literal">TRUE</code></a> if the chainbutton should constrain the
 
1709
                         fields' aspect ratio. If <a
 
1710
href="../glib/glib-Standard-Macros.html#FALSE:CAPS"
 
1711
><code class="literal">FALSE</code></a>, the values will
1108
1712
                         be constrained.
1109
1713
</td>
1110
1714
</tr>
1188
1792
</div>
1189
1793
<hr>
1190
1794
<div class="refsect2" lang="en">
1191
 
<a name="id2703008"></a><h3>
 
1795
<a name="id2703037"></a><h3>
1192
1796
<a name="gimp-pixmap-button-new"></a>gimp_pixmap_button_new ()</h3>
1193
 
<a class="indexterm" name="id2703024"></a><pre class="programlisting">GtkWidget*          gimp_pixmap_button_new              (gchar **xpm_data,
1194
 
                                                         const gchar *text);</pre>
 
1797
<a class="indexterm" name="id2703053"></a><pre class="programlisting"><a
 
1798
href="../gtk/GtkWidget.html"
 
1799
>GtkWidget</a>*          gimp_pixmap_button_new              (<a
 
1800
href="../glib/glib-Basic-Types.html#gchar"
 
1801
>gchar</a> **xpm_data,
 
1802
                                                         const <a
 
1803
href="../glib/glib-Basic-Types.html#gchar"
 
1804
>gchar</a> *text);</pre>
1195
1805
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
1196
1806
<h3 class="title">Warning</h3>
1197
1807
<p><code class="literal">gimp_pixmap_button_new</code> is deprecated and should not be used in newly-written code.</p>
1198
1808
</div>
1199
1809
<p>
1200
 
Convenience function that creates a <span class="type">GtkButton</span> with a <a class="link" href="GimpPixmap.html" title="GimpPixmap"><span class="type">GimpPixmap</span></a>
1201
 
and an optional <span class="type">GtkLabel</span>.</p>
 
1810
Convenience function that creates a <a
 
1811
href="../gtk/GtkButton.html"
 
1812
><span class="type">GtkButton</span></a> with a <a class="link" href="GimpPixmap.html" title="GimpPixmap"><span class="type">GimpPixmap</span></a>
 
1813
and an optional <a
 
1814
href="../gtk/GtkLabel.html"
 
1815
><span class="type">GtkLabel</span></a>.</p>
1202
1816
<p>
1203
1817
 
1204
1818
</p>
1217
1831
</tr>
1218
1832
<tr>
1219
1833
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></p></td>
1220
 
<td> The new <span class="type">GtkButton</span>.
 
1834
<td> The new <a
 
1835
href="../gtk/GtkButton.html"
 
1836
><span class="type">GtkButton</span></a>.
1221
1837
</td>
1222
1838
</tr>
1223
1839
</tbody>
1225
1841
</div>
1226
1842
<hr>
1227
1843
<div class="refsect2" lang="en">
1228
 
<a name="id2703159"></a><h3>
 
1844
<a name="id2703188"></a><h3>
1229
1845
<a name="gimp-toggle-button-sensitive-update"></a>gimp_toggle_button_sensitive_update ()</h3>
1230
 
<a class="indexterm" name="id2703174"></a><pre class="programlisting">void                gimp_toggle_button_sensitive_update (GtkToggleButton *toggle_button);</pre>
 
1846
<a class="indexterm" name="id2703203"></a><pre class="programlisting">void                gimp_toggle_button_sensitive_update (<a
 
1847
href="../gtk/GtkToggleButton.html"
 
1848
>GtkToggleButton</a> *toggle_button);</pre>
1231
1849
<p>
1232
 
If you attached a pointer to a <span class="type">GtkWidget</span> with <code class="function">g_object_set_data()</code> and
1233
 
the "set_sensitive" key to the <span class="type">GtkToggleButton</span>, the sensitive state of
 
1850
If you attached a pointer to a <a
 
1851
href="../gtk/GtkWidget.html"
 
1852
><span class="type">GtkWidget</span></a> with <a
 
1853
href="../gobject/gobject-The-Base-Object-Type.html#g-object-set-data"
 
1854
><code class="function">g_object_set_data()</code></a> and
 
1855
the "set_sensitive" key to the <a
 
1856
href="../gtk/GtkToggleButton.html"
 
1857
><span class="type">GtkToggleButton</span></a>, the sensitive state of
1234
1858
the attached widget will be set according to the toggle button's
1235
1859
"active" state.
1236
1860
</p>
1249
1873
<col align="left" valign="top">
1250
1874
<tbody><tr>
1251
1875
<td><p><span class="term"><em class="parameter"><code>toggle_button</code></em>&#160;:</span></p></td>
1252
 
<td> The <span class="type">GtkToggleButton</span> the "set_sensitive" and
 
1876
<td> The <a
 
1877
href="../gtk/GtkToggleButton.html"
 
1878
><span class="type">GtkToggleButton</span></a> the "set_sensitive" and
1253
1879
                "inverse_sensitive" lists are attached to.
1254
1880
</td>
1255
1881
</tr></tbody>
1257
1883
</div>
1258
1884
<hr>
1259
1885
<div class="refsect2" lang="en">
1260
 
<a name="id2703271"></a><h3>
 
1886
<a name="id2703300"></a><h3>
1261
1887
<a name="gimp-toggle-button-update"></a>gimp_toggle_button_update ()</h3>
1262
 
<a class="indexterm" name="id2703286"></a><pre class="programlisting">void                gimp_toggle_button_update           (GtkWidget *widget,
1263
 
                                                         gpointer data);</pre>
 
1888
<a class="indexterm" name="id2703315"></a><pre class="programlisting">void                gimp_toggle_button_update           (<a
 
1889
href="../gtk/GtkWidget.html"
 
1890
>GtkWidget</a> *widget,
 
1891
                                                         <a
 
1892
href="../glib/glib-Basic-Types.html#gpointer"
 
1893
>gpointer</a> data);</pre>
1264
1894
<p>
1265
1895
Note that this function calls <a class="link" href="libgimpwidgets-GimpWidgets.html#gimp-toggle-button-sensitive-update"><code class="function">gimp_toggle_button_sensitive_update()</code></a>.</p>
1266
1896
<p>
1271
1901
<tbody>
1272
1902
<tr>
1273
1903
<td><p><span class="term"><em class="parameter"><code>widget</code></em>&#160;:</span></p></td>
1274
 
<td> A <span class="type">GtkToggleButton</span>.
 
1904
<td> A <a
 
1905
href="../gtk/GtkToggleButton.html"
 
1906
><span class="type">GtkToggleButton</span></a>.
1275
1907
</td>
1276
1908
</tr>
1277
1909
<tr>
1278
1910
<td><p><span class="term"><em class="parameter"><code>data</code></em>&#160;:</span></p></td>
1279
 
<td>   A pointer to a <span class="type">gint</span> variable which will store the value of
1280
 
         <code class="function">gtk_toggle_button_get_active()</code>.
 
1911
<td>   A pointer to a <a
 
1912
href="../glib/glib-Basic-Types.html#gint"
 
1913
><span class="type">gint</span></a> variable which will store the value of
 
1914
         <a
 
1915
href="../gtk/GtkToggleButton.html#gtk-toggle-button-get-active"
 
1916
><code class="function">gtk_toggle_button_get_active()</code></a>.
1281
1917
</td>
1282
1918
</tr>
1283
1919
</tbody>
1285
1921
</div>
1286
1922
<hr>
1287
1923
<div class="refsect2" lang="en">
1288
 
<a name="id2703392"></a><h3>
 
1924
<a name="id2703422"></a><h3>
1289
1925
<a name="gimp-radio-button-update"></a>gimp_radio_button_update ()</h3>
1290
 
<a class="indexterm" name="id2703406"></a><pre class="programlisting">void                gimp_radio_button_update            (GtkWidget *widget,
1291
 
                                                         gpointer data);</pre>
 
1926
<a class="indexterm" name="id2703436"></a><pre class="programlisting">void                gimp_radio_button_update            (<a
 
1927
href="../gtk/GtkWidget.html"
 
1928
>GtkWidget</a> *widget,
 
1929
                                                         <a
 
1930
href="../glib/glib-Basic-Types.html#gpointer"
 
1931
>gpointer</a> data);</pre>
1292
1932
<p>
1293
1933
Note that this function calls <a class="link" href="libgimpwidgets-GimpWidgets.html#gimp-toggle-button-sensitive-update"><code class="function">gimp_toggle_button_sensitive_update()</code></a>.</p>
1294
1934
<p>
1299
1939
<tbody>
1300
1940
<tr>
1301
1941
<td><p><span class="term"><em class="parameter"><code>widget</code></em>&#160;:</span></p></td>
1302
 
<td> A <span class="type">GtkRadioButton</span>.
 
1942
<td> A <a
 
1943
href="../gtk/GtkRadioButton.html"
 
1944
><span class="type">GtkRadioButton</span></a>.
1303
1945
</td>
1304
1946
</tr>
1305
1947
<tr>
1306
1948
<td><p><span class="term"><em class="parameter"><code>data</code></em>&#160;:</span></p></td>
1307
 
<td>   A pointer to a <span class="type">gint</span> variable which will store the value of
 
1949
<td>   A pointer to a <a
 
1950
href="../glib/glib-Basic-Types.html#gint"
 
1951
><span class="type">gint</span></a> variable which will store the value of
1308
1952
         GPOINTER_TO_INT (g_object_get_data (<em class="parameter"><code>widget</code></em>, "gimp-item-data")).
1309
1953
</td>
1310
1954
</tr>
1313
1957
</div>
1314
1958
<hr>
1315
1959
<div class="refsect2" lang="en">
1316
 
<a name="id2703510"></a><h3>
 
1960
<a name="id2703540"></a><h3>
1317
1961
<a name="gimp-int-adjustment-update"></a>gimp_int_adjustment_update ()</h3>
1318
 
<a class="indexterm" name="id2703525"></a><pre class="programlisting">void                gimp_int_adjustment_update          (GtkAdjustment *adjustment,
1319
 
                                                         gpointer data);</pre>
 
1962
<a class="indexterm" name="id2703554"></a><pre class="programlisting">void                gimp_int_adjustment_update          (<a
 
1963
href="../gtk/GtkAdjustment.html"
 
1964
>GtkAdjustment</a> *adjustment,
 
1965
                                                         <a
 
1966
href="../glib/glib-Basic-Types.html#gpointer"
 
1967
>gpointer</a> data);</pre>
1320
1968
<p>
1321
 
Note that the <span class="type">GtkAdjustment</span>'s value (which is a <span class="type">gdouble</span>) will be
 
1969
Note that the <a
 
1970
href="../gtk/GtkAdjustment.html"
 
1971
><span class="type">GtkAdjustment</span></a>'s value (which is a <a
 
1972
href="../glib/glib-Basic-Types.html#gdouble"
 
1973
><span class="type">gdouble</span></a>) will be
1322
1974
rounded with <a
1323
1975
href="../libgimpmath/libgimpmath-GimpMath.html#RINT:CAPS"
1324
1976
><code class="function">RINT()</code></a>.</p>
1330
1982
<tbody>
1331
1983
<tr>
1332
1984
<td><p><span class="term"><em class="parameter"><code>adjustment</code></em>&#160;:</span></p></td>
1333
 
<td> A <span class="type">GtkAdjustment</span>.
 
1985
<td> A <a
 
1986
href="../gtk/GtkAdjustment.html"
 
1987
><span class="type">GtkAdjustment</span></a>.
1334
1988
</td>
1335
1989
</tr>
1336
1990
<tr>
1337
1991
<td><p><span class="term"><em class="parameter"><code>data</code></em>&#160;:</span></p></td>
1338
 
<td>       A pointer to a <span class="type">gint</span> variable which will store the
 
1992
<td>       A pointer to a <a
 
1993
href="../glib/glib-Basic-Types.html#gint"
 
1994
><span class="type">gint</span></a> variable which will store the
1339
1995
             <em class="parameter"><code>adjustment</code></em>'s value.
1340
1996
</td>
1341
1997
</tr>
1344
2000
</div>
1345
2001
<hr>
1346
2002
<div class="refsect2" lang="en">
1347
 
<a name="id2703641"></a><h3>
 
2003
<a name="id2703671"></a><h3>
1348
2004
<a name="gimp-uint-adjustment-update"></a>gimp_uint_adjustment_update ()</h3>
1349
 
<a class="indexterm" name="id2703656"></a><pre class="programlisting">void                gimp_uint_adjustment_update         (GtkAdjustment *adjustment,
1350
 
                                                         gpointer data);</pre>
 
2005
<a class="indexterm" name="id2703685"></a><pre class="programlisting">void                gimp_uint_adjustment_update         (<a
 
2006
href="../gtk/GtkAdjustment.html"
 
2007
>GtkAdjustment</a> *adjustment,
 
2008
                                                         <a
 
2009
href="../glib/glib-Basic-Types.html#gpointer"
 
2010
>gpointer</a> data);</pre>
1351
2011
<p>
1352
 
Note that the <span class="type">GtkAdjustment</span>'s value (which is a <span class="type">gdouble</span>) will be rounded
1353
 
with (<span class="type">guint</span>) (value + 0.5).</p>
 
2012
Note that the <a
 
2013
href="../gtk/GtkAdjustment.html"
 
2014
><span class="type">GtkAdjustment</span></a>'s value (which is a <a
 
2015
href="../glib/glib-Basic-Types.html#gdouble"
 
2016
><span class="type">gdouble</span></a>) will be rounded
 
2017
with (<a
 
2018
href="../glib/glib-Basic-Types.html#guint"
 
2019
><span class="type">guint</span></a>) (value + 0.5).</p>
1354
2020
<p>
1355
2021
 
1356
2022
</p>
1359
2025
<tbody>
1360
2026
<tr>
1361
2027
<td><p><span class="term"><em class="parameter"><code>adjustment</code></em>&#160;:</span></p></td>
1362
 
<td> A <span class="type">GtkAdjustment</span>.
 
2028
<td> A <a
 
2029
href="../gtk/GtkAdjustment.html"
 
2030
><span class="type">GtkAdjustment</span></a>.
1363
2031
</td>
1364
2032
</tr>
1365
2033
<tr>
1366
2034
<td><p><span class="term"><em class="parameter"><code>data</code></em>&#160;:</span></p></td>
1367
 
<td>       A pointer to a <span class="type">guint</span> variable which will store the
 
2035
<td>       A pointer to a <a
 
2036
href="../glib/glib-Basic-Types.html#guint"
 
2037
><span class="type">guint</span></a> variable which will store the
1368
2038
             <em class="parameter"><code>adjustment</code></em>'s value.
1369
2039
</td>
1370
2040
</tr>
1373
2043
</div>
1374
2044
<hr>
1375
2045
<div class="refsect2" lang="en">
1376
 
<a name="id2703771"></a><h3>
 
2046
<a name="id2703800"></a><h3>
1377
2047
<a name="gimp-float-adjustment-update"></a>gimp_float_adjustment_update ()</h3>
1378
 
<a class="indexterm" name="id2703785"></a><pre class="programlisting">void                gimp_float_adjustment_update        (GtkAdjustment *adjustment,
1379
 
                                                         gpointer data);</pre>
 
2048
<a class="indexterm" name="id2703814"></a><pre class="programlisting">void                gimp_float_adjustment_update        (<a
 
2049
href="../gtk/GtkAdjustment.html"
 
2050
>GtkAdjustment</a> *adjustment,
 
2051
                                                         <a
 
2052
href="../glib/glib-Basic-Types.html#gpointer"
 
2053
>gpointer</a> data);</pre>
1380
2054
<p>
1381
2055
</p>
1382
2056
<p>
1387
2061
<tbody>
1388
2062
<tr>
1389
2063
<td><p><span class="term"><em class="parameter"><code>adjustment</code></em>&#160;:</span></p></td>
1390
 
<td> A <span class="type">GtkAdjustment</span>.
 
2064
<td> A <a
 
2065
href="../gtk/GtkAdjustment.html"
 
2066
><span class="type">GtkAdjustment</span></a>.
1391
2067
</td>
1392
2068
</tr>
1393
2069
<tr>
1394
2070
<td><p><span class="term"><em class="parameter"><code>data</code></em>&#160;:</span></p></td>
1395
 
<td>       A pointer to a <span class="type">gfloat</span> varaiable which will store the
 
2071
<td>       A pointer to a <a
 
2072
href="../glib/glib-Basic-Types.html#gfloat"
 
2073
><span class="type">gfloat</span></a> varaiable which will store the
1396
2074
             <em class="parameter"><code>adjustment</code></em>'s value.
1397
2075
</td>
1398
2076
</tr>
1401
2079
</div>
1402
2080
<hr>
1403
2081
<div class="refsect2" lang="en">
1404
 
<a name="id2703878"></a><h3>
 
2082
<a name="id2703907"></a><h3>
1405
2083
<a name="gimp-double-adjustment-update"></a>gimp_double_adjustment_update ()</h3>
1406
 
<a class="indexterm" name="id2703892"></a><pre class="programlisting">void                gimp_double_adjustment_update       (GtkAdjustment *adjustment,
1407
 
                                                         gpointer data);</pre>
 
2084
<a class="indexterm" name="id2703922"></a><pre class="programlisting">void                gimp_double_adjustment_update       (<a
 
2085
href="../gtk/GtkAdjustment.html"
 
2086
>GtkAdjustment</a> *adjustment,
 
2087
                                                         <a
 
2088
href="../glib/glib-Basic-Types.html#gpointer"
 
2089
>gpointer</a> data);</pre>
1408
2090
<p>
1409
2091
</p>
1410
2092
<p>
1415
2097
<tbody>
1416
2098
<tr>
1417
2099
<td><p><span class="term"><em class="parameter"><code>adjustment</code></em>&#160;:</span></p></td>
1418
 
<td> A <span class="type">GtkAdjustment</span>.
 
2100
<td> A <a
 
2101
href="../gtk/GtkAdjustment.html"
 
2102
><span class="type">GtkAdjustment</span></a>.
1419
2103
</td>
1420
2104
</tr>
1421
2105
<tr>
1422
2106
<td><p><span class="term"><em class="parameter"><code>data</code></em>&#160;:</span></p></td>
1423
 
<td>       A pointer to a <span class="type">gdouble</span> variable which will store the
 
2107
<td>       A pointer to a <a
 
2108
href="../glib/glib-Basic-Types.html#gdouble"
 
2109
><span class="type">gdouble</span></a> variable which will store the
1424
2110
             <em class="parameter"><code>adjustment</code></em>'s value.
1425
2111
</td>
1426
2112
</tr>
1429
2115
</div>
1430
2116
<hr>
1431
2117
<div class="refsect2" lang="en">
1432
 
<a name="id2703985"></a><h3>
 
2118
<a name="id2704015"></a><h3>
1433
2119
<a name="gimp-unit-menu-update"></a>gimp_unit_menu_update ()</h3>
1434
 
<a class="indexterm" name="id2703999"></a><pre class="programlisting">void                gimp_unit_menu_update               (GtkWidget *widget,
1435
 
                                                         gpointer data);</pre>
 
2120
<a class="indexterm" name="id2704029"></a><pre class="programlisting">void                gimp_unit_menu_update               (<a
 
2121
href="../gtk/GtkWidget.html"
 
2122
>GtkWidget</a> *widget,
 
2123
                                                         <a
 
2124
href="../glib/glib-Basic-Types.html#gpointer"
 
2125
>gpointer</a> data);</pre>
1436
2126
<p>
1437
2127
This callback can set the number of decimal digits of an arbitrary number
1438
 
of <span class="type">GtkSpinButton</span>'s. To use this functionality, attach the spinbuttons
1439
 
as list of data pointers attached with <code class="function">g_object_set_data()</code> with the
 
2128
of <a
 
2129
href="../gtk/GtkSpinButton.html"
 
2130
><span class="type">GtkSpinButton</span></a>'s. To use this functionality, attach the spinbuttons
 
2131
as list of data pointers attached with <a
 
2132
href="../gobject/gobject-The-Base-Object-Type.html#g-object-set-data"
 
2133
><code class="function">g_object_set_data()</code></a> with the
1440
2134
"set_digits" key.
1441
2135
</p>
1442
2136
<p>
1466
2160
</div>
1467
2161
<hr>
1468
2162
<div class="refsect2" lang="en">
1469
 
<a name="id2704120"></a><h3>
 
2163
<a name="id2704150"></a><h3>
1470
2164
<a name="gimp-table-attach-aligned"></a>gimp_table_attach_aligned ()</h3>
1471
 
<a class="indexterm" name="id2704135"></a><pre class="programlisting">GtkWidget*          gimp_table_attach_aligned           (GtkTable *table,
1472
 
                                                         gint column,
1473
 
                                                         gint row,
1474
 
                                                         const gchar *label_text,
1475
 
                                                         gfloat xalign,
1476
 
                                                         gfloat yalign,
1477
 
                                                         GtkWidget *widget,
1478
 
                                                         gint colspan,
1479
 
                                                         gboolean left_align);</pre>
 
2165
<a class="indexterm" name="id2704164"></a><pre class="programlisting"><a
 
2166
href="../gtk/GtkWidget.html"
 
2167
>GtkWidget</a>*          gimp_table_attach_aligned           (<a
 
2168
href="../gtk/GtkTable.html"
 
2169
>GtkTable</a> *table,
 
2170
                                                         <a
 
2171
href="../glib/glib-Basic-Types.html#gint"
 
2172
>gint</a> column,
 
2173
                                                         <a
 
2174
href="../glib/glib-Basic-Types.html#gint"
 
2175
>gint</a> row,
 
2176
                                                         const <a
 
2177
href="../glib/glib-Basic-Types.html#gchar"
 
2178
>gchar</a> *label_text,
 
2179
                                                         <a
 
2180
href="../glib/glib-Basic-Types.html#gfloat"
 
2181
>gfloat</a> xalign,
 
2182
                                                         <a
 
2183
href="../glib/glib-Basic-Types.html#gfloat"
 
2184
>gfloat</a> yalign,
 
2185
                                                         <a
 
2186
href="../gtk/GtkWidget.html"
 
2187
>GtkWidget</a> *widget,
 
2188
                                                         <a
 
2189
href="../glib/glib-Basic-Types.html#gint"
 
2190
>gint</a> colspan,
 
2191
                                                         <a
 
2192
href="../glib/glib-Basic-Types.html#gboolean"
 
2193
>gboolean</a> left_align);</pre>
1480
2194
<p>
1481
 
Note that the <em class="parameter"><code>label_text</code></em> can be <code class="literal">NULL</code> and that the widget will be
 
2195
Note that the <em class="parameter"><code>label_text</code></em> can be <a
 
2196
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
 
2197
><code class="literal">NULL</code></a> and that the widget will be
1482
2198
attached starting at (<em class="parameter"><code>column</code></em> + 1) in this case, too.</p>
1483
2199
<p>
1484
2200
 
1488
2204
<tbody>
1489
2205
<tr>
1490
2206
<td><p><span class="term"><em class="parameter"><code>table</code></em>&#160;:</span></p></td>
1491
 
<td>      The <span class="type">GtkTable</span> the widgets will be attached to.
 
2207
<td>      The <a
 
2208
href="../gtk/GtkTable.html"
 
2209
><span class="type">GtkTable</span></a> the widgets will be attached to.
1492
2210
</td>
1493
2211
</tr>
1494
2212
<tr>
1503
2221
</tr>
1504
2222
<tr>
1505
2223
<td><p><span class="term"><em class="parameter"><code>label_text</code></em>&#160;:</span></p></td>
1506
 
<td> The text for the <span class="type">GtkLabel</span> which will be attached left of
 
2224
<td> The text for the <a
 
2225
href="../gtk/GtkLabel.html"
 
2226
><span class="type">GtkLabel</span></a> which will be attached left of
1507
2227
             the widget.
1508
2228
</td>
1509
2229
</tr>
1510
2230
<tr>
1511
2231
<td><p><span class="term"><em class="parameter"><code>xalign</code></em>&#160;:</span></p></td>
1512
 
<td>     The horizontal alignment of the <span class="type">GtkLabel</span>.
 
2232
<td>     The horizontal alignment of the <a
 
2233
href="../gtk/GtkLabel.html"
 
2234
><span class="type">GtkLabel</span></a>.
1513
2235
</td>
1514
2236
</tr>
1515
2237
<tr>
1516
2238
<td><p><span class="term"><em class="parameter"><code>yalign</code></em>&#160;:</span></p></td>
1517
 
<td>     The vertival alignment of the <span class="type">GtkLabel</span>.
 
2239
<td>     The vertival alignment of the <a
 
2240
href="../gtk/GtkLabel.html"
 
2241
><span class="type">GtkLabel</span></a>.
1518
2242
</td>
1519
2243
</tr>
1520
2244
<tr>
1521
2245
<td><p><span class="term"><em class="parameter"><code>widget</code></em>&#160;:</span></p></td>
1522
 
<td>     The <span class="type">GtkWidget</span> to attach right of the label.
 
2246
<td>     The <a
 
2247
href="../gtk/GtkWidget.html"
 
2248
><span class="type">GtkWidget</span></a> to attach right of the label.
1523
2249
</td>
1524
2250
</tr>
1525
2251
<tr>
1529
2255
</tr>
1530
2256
<tr>
1531
2257
<td><p><span class="term"><em class="parameter"><code>left_align</code></em>&#160;:</span></p></td>
1532
 
<td> <code class="literal">TRUE</code> if the widget should be left-aligned.
 
2258
<td> <a
 
2259
href="../glib/glib-Standard-Macros.html#TRUE:CAPS"
 
2260
><code class="literal">TRUE</code></a> if the widget should be left-aligned.
1533
2261
</td>
1534
2262
</tr>
1535
2263
<tr>
1536
2264
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></p></td>
1537
 
<td> The created <span class="type">GtkLabel</span>.
 
2265
<td> The created <a
 
2266
href="../gtk/GtkLabel.html"
 
2267
><span class="type">GtkLabel</span></a>.
1538
2268
</td>
1539
2269
</tr>
1540
2270
</tbody>
1542
2272
</div>
1543
2273
<hr>
1544
2274
<div class="refsect2" lang="en">
1545
 
<a name="id2704444"></a><h3>
 
2275
<a name="id2704473"></a><h3>
1546
2276
<a name="gimp-label-set-attributes"></a>gimp_label_set_attributes ()</h3>
1547
 
<a class="indexterm" name="id2704460"></a><pre class="programlisting">void                gimp_label_set_attributes           (GtkLabel *label,
 
2277
<a class="indexterm" name="id2704490"></a><pre class="programlisting">void                gimp_label_set_attributes           (<a
 
2278
href="../gtk/GtkLabel.html"
 
2279
>GtkLabel</a> *label,
1548
2280
                                                         ...);</pre>
1549
2281
<p>
1550
 
Sets Pango attributes on a <span class="type">GtkLabel</span> in a more convenient way than
1551
 
<code class="function">gtk_label_set_attributes()</code>.
 
2282
Sets Pango attributes on a <a
 
2283
href="../gtk/GtkLabel.html"
 
2284
><span class="type">GtkLabel</span></a> in a more convenient way than
 
2285
<a
 
2286
href="../gtk/GtkLabel.html#gtk-label-set-attributes"
 
2287
><code class="function">gtk_label_set_attributes()</code></a>.
1552
2288
</p>
1553
2289
<p>
1554
2290
This function is useful if you want to change the font attributes
1555
 
of a <span class="type">GtkLabel</span>. This is an alternative to using PangoMarkup which
 
2291
of a <a
 
2292
href="../gtk/GtkLabel.html"
 
2293
><span class="type">GtkLabel</span></a>. This is an alternative to using PangoMarkup which
1556
2294
is slow to parse and akward to handle in an i18n-friendly way.
1557
2295
</p>
1558
2296
<p>
1567
2305
<tbody>
1568
2306
<tr>
1569
2307
<td><p><span class="term"><em class="parameter"><code>label</code></em>&#160;:</span></p></td>
1570
 
<td> a <span class="type">GtkLabel</span>
 
2308
<td> a <a
 
2309
href="../gtk/GtkLabel.html"
 
2310
><span class="type">GtkLabel</span></a>
1571
2311
</td>
1572
2312
</tr>
1573
2313
<tr>