~ubuntu-branches/ubuntu/jaunty/gimp/jaunty-security

« back to all changes in this revision

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

  • Committer: Bazaar Package Importer
  • Author(s): Pedro Fragoso
  • Date: 2008-08-22 11:50:05 UTC
  • mfrom: (0.1.1 upstream)
  • mto: This revision was merged to the branch mainline in revision 34.
  • Revision ID: james.westby@ubuntu.com-20080822115005-yxj5svf3v9x1mkr7
Tags: upstream-2.4.7
Import upstream version 2.4.7

Show diffs side-by-side

added added

removed removed

Lines of Context:
49
49
<div class="refsynopsisdiv">
50
50
<a name="libgimpwidgets-GimpEnumWidgets.synopsis"></a><h2>Synopsis</h2>
51
51
<pre class="synopsis">
52
 
<a
53
 
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
54
 
>GtkWidget</a>*          <a class="link" href="libgimpwidgets-GimpEnumWidgets.html#gimp-enum-radio-box-new" title="gimp_enum_radio_box_new ()">gimp_enum_radio_box_new</a>             (<a
55
 
href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#GType"
56
 
>GType</a> enum_type,
57
 
                                                         <a
58
 
href="/usr/share/gtk-doc/html/gobject/gobject-Closures.html#GCallback"
59
 
>GCallback</a> callback,
60
 
                                                         <a
61
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
62
 
>gpointer</a> callback_data,
63
 
                                                         <a
64
 
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
65
 
>GtkWidget</a> **first_button);
66
 
<a
67
 
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
68
 
>GtkWidget</a>*          <a class="link" href="libgimpwidgets-GimpEnumWidgets.html#gimp-enum-radio-box-new-with-range" title="gimp_enum_radio_box_new_with_range ()">gimp_enum_radio_box_new_with_range</a>  (<a
69
 
href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#GType"
70
 
>GType</a> enum_type,
71
 
                                                         <a
72
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
73
 
>gint</a> minimum,
74
 
                                                         <a
75
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
76
 
>gint</a> maximum,
77
 
                                                         <a
78
 
href="/usr/share/gtk-doc/html/gobject/gobject-Closures.html#GCallback"
79
 
>GCallback</a> callback,
80
 
                                                         <a
81
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
82
 
>gpointer</a> callback_data,
83
 
                                                         <a
84
 
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
85
 
>GtkWidget</a> **first_button);
86
 
<a
87
 
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
88
 
>GtkWidget</a>*          <a class="link" href="libgimpwidgets-GimpEnumWidgets.html#gimp-enum-radio-frame-new" title="gimp_enum_radio_frame_new ()">gimp_enum_radio_frame_new</a>           (<a
89
 
href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#GType"
90
 
>GType</a> enum_type,
91
 
                                                         <a
92
 
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
93
 
>GtkWidget</a> *label_widget,
94
 
                                                         <a
95
 
href="/usr/share/gtk-doc/html/gobject/gobject-Closures.html#GCallback"
96
 
>GCallback</a> callback,
97
 
                                                         <a
98
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
99
 
>gpointer</a> callback_data,
100
 
                                                         <a
101
 
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
102
 
>GtkWidget</a> **first_button);
103
 
<a
104
 
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
105
 
>GtkWidget</a>*          <a class="link" href="libgimpwidgets-GimpEnumWidgets.html#gimp-enum-radio-frame-new-with-range" title="gimp_enum_radio_frame_new_with_range ()">gimp_enum_radio_frame_new_with_range</a>
106
 
                                                        (<a
107
 
href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#GType"
108
 
>GType</a> enum_type,
109
 
                                                         <a
110
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
111
 
>gint</a> minimum,
112
 
                                                         <a
113
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
114
 
>gint</a> maximum,
115
 
                                                         <a
116
 
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
117
 
>GtkWidget</a> *label_widget,
118
 
                                                         <a
119
 
href="/usr/share/gtk-doc/html/gobject/gobject-Closures.html#GCallback"
120
 
>GCallback</a> callback,
121
 
                                                         <a
122
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
123
 
>gpointer</a> callback_data,
124
 
                                                         <a
125
 
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
126
 
>GtkWidget</a> **first_button);
127
 
<a
128
 
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
129
 
>GtkWidget</a>*          <a class="link" href="libgimpwidgets-GimpEnumWidgets.html#gimp-enum-stock-box-new" title="gimp_enum_stock_box_new ()">gimp_enum_stock_box_new</a>             (<a
130
 
href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#GType"
131
 
>GType</a> enum_type,
132
 
                                                         const <a
133
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
134
 
>gchar</a> *stock_prefix,
135
 
                                                         <a
136
 
href="/usr/share/gtk-doc/html/gtk/gtk-Themeable-Stock-Images.html#GtkIconSize"
137
 
>GtkIconSize</a> icon_size,
138
 
                                                         <a
139
 
href="/usr/share/gtk-doc/html/gobject/gobject-Closures.html#GCallback"
140
 
>GCallback</a> callback,
141
 
                                                         <a
142
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
143
 
>gpointer</a> callback_data,
144
 
                                                         <a
145
 
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
146
 
>GtkWidget</a> **first_button);
147
 
<a
148
 
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
149
 
>GtkWidget</a>*          <a class="link" href="libgimpwidgets-GimpEnumWidgets.html#gimp-enum-stock-box-new-with-range" title="gimp_enum_stock_box_new_with_range ()">gimp_enum_stock_box_new_with_range</a>  (<a
150
 
href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#GType"
151
 
>GType</a> enum_type,
152
 
                                                         <a
153
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
154
 
>gint</a> minimum,
155
 
                                                         <a
156
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
157
 
>gint</a> maximum,
158
 
                                                         const <a
159
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
160
 
>gchar</a> *stock_prefix,
161
 
                                                         <a
162
 
href="/usr/share/gtk-doc/html/gtk/gtk-Themeable-Stock-Images.html#GtkIconSize"
163
 
>GtkIconSize</a> icon_size,
164
 
                                                         <a
165
 
href="/usr/share/gtk-doc/html/gobject/gobject-Closures.html#GCallback"
166
 
>GCallback</a> callback,
167
 
                                                         <a
168
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
169
 
>gpointer</a> callback_data,
170
 
                                                         <a
171
 
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
172
 
>GtkWidget</a> **first_button);
 
52
GtkWidget*          <a class="link" href="libgimpwidgets-GimpEnumWidgets.html#gimp-enum-radio-box-new" title="gimp_enum_radio_box_new ()">gimp_enum_radio_box_new</a>             (GType enum_type,
 
53
                                                         GCallback callback,
 
54
                                                         gpointer callback_data,
 
55
                                                         GtkWidget **first_button);
 
56
GtkWidget*          <a class="link" href="libgimpwidgets-GimpEnumWidgets.html#gimp-enum-radio-box-new-with-range" title="gimp_enum_radio_box_new_with_range ()">gimp_enum_radio_box_new_with_range</a>  (GType enum_type,
 
57
                                                         gint minimum,
 
58
                                                         gint maximum,
 
59
                                                         GCallback callback,
 
60
                                                         gpointer callback_data,
 
61
                                                         GtkWidget **first_button);
 
62
GtkWidget*          <a class="link" href="libgimpwidgets-GimpEnumWidgets.html#gimp-enum-radio-frame-new" title="gimp_enum_radio_frame_new ()">gimp_enum_radio_frame_new</a>           (GType enum_type,
 
63
                                                         GtkWidget *label_widget,
 
64
                                                         GCallback callback,
 
65
                                                         gpointer callback_data,
 
66
                                                         GtkWidget **first_button);
 
67
GtkWidget*          <a class="link" href="libgimpwidgets-GimpEnumWidgets.html#gimp-enum-radio-frame-new-with-range" title="gimp_enum_radio_frame_new_with_range ()">gimp_enum_radio_frame_new_with_range</a>
 
68
                                                        (GType enum_type,
 
69
                                                         gint minimum,
 
70
                                                         gint maximum,
 
71
                                                         GtkWidget *label_widget,
 
72
                                                         GCallback callback,
 
73
                                                         gpointer callback_data,
 
74
                                                         GtkWidget **first_button);
 
75
GtkWidget*          <a class="link" href="libgimpwidgets-GimpEnumWidgets.html#gimp-enum-stock-box-new" title="gimp_enum_stock_box_new ()">gimp_enum_stock_box_new</a>             (GType enum_type,
 
76
                                                         const gchar *stock_prefix,
 
77
                                                         GtkIconSize icon_size,
 
78
                                                         GCallback callback,
 
79
                                                         gpointer callback_data,
 
80
                                                         GtkWidget **first_button);
 
81
GtkWidget*          <a class="link" href="libgimpwidgets-GimpEnumWidgets.html#gimp-enum-stock-box-new-with-range" title="gimp_enum_stock_box_new_with_range ()">gimp_enum_stock_box_new_with_range</a>  (GType enum_type,
 
82
                                                         gint minimum,
 
83
                                                         gint maximum,
 
84
                                                         const gchar *stock_prefix,
 
85
                                                         GtkIconSize icon_size,
 
86
                                                         GCallback callback,
 
87
                                                         gpointer callback_data,
 
88
                                                         GtkWidget **first_button);
173
89
void                <a class="link" href="libgimpwidgets-GimpEnumWidgets.html#gimp-enum-stock-box-set-child-padding" title="gimp_enum_stock_box_set_child_padding ()">gimp_enum_stock_box_set_child_padding</a>
174
 
                                                        (<a
175
 
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
176
 
>GtkWidget</a> *stock_box,
177
 
                                                         <a
178
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
179
 
>gint</a> xpad,
180
 
                                                         <a
181
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
182
 
>gint</a> ypad);
 
90
                                                        (GtkWidget *stock_box,
 
91
                                                         gint xpad,
 
92
                                                         gint ypad);
183
93
</pre>
184
94
</div>
185
95
<div class="refsect1" lang="en">
192
102
<a name="libgimpwidgets-GimpEnumWidgets.details"></a><h2>Details</h2>
193
103
<div class="refsect2" lang="en">
194
104
<a name="gimp-enum-radio-box-new"></a><h3>gimp_enum_radio_box_new ()</h3>
195
 
<pre class="programlisting"><a
196
 
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
197
 
>GtkWidget</a>*          gimp_enum_radio_box_new             (<a
198
 
href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#GType"
199
 
>GType</a> enum_type,
200
 
                                                         <a
201
 
href="/usr/share/gtk-doc/html/gobject/gobject-Closures.html#GCallback"
202
 
>GCallback</a> callback,
203
 
                                                         <a
204
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
205
 
>gpointer</a> callback_data,
206
 
                                                         <a
207
 
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
208
 
>GtkWidget</a> **first_button);</pre>
 
105
<pre class="programlisting">GtkWidget*          gimp_enum_radio_box_new             (GType enum_type,
 
106
                                                         GCallback callback,
 
107
                                                         gpointer callback_data,
 
108
                                                         GtkWidget **first_button);</pre>
209
109
<p>
210
110
Creates a new group of <span class="type">GtkRadioButtons</span> representing the enum
211
111
values.  A group of radiobuttons is a good way to represent enums
219
119
<tbody>
220
120
<tr>
221
121
<td><p><span class="term"><em class="parameter"><code>enum_type</code></em> :</span></p></td>
222
 
<td> the <a
223
 
href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#GType"
224
 
><span class="type">GType</span></a> of an enum.
 
122
<td> the <span class="type">GType</span> of an enum.
225
123
</td>
226
124
</tr>
227
125
<tr>
228
126
<td><p><span class="term"><em class="parameter"><code>callback</code></em> :</span></p></td>
229
127
<td> a callback to connect to the "toggled" signal of each
230
 
           <a
231
 
href="/usr/share/gtk-doc/html/gtk/GtkRadioButton.html"
232
 
><span class="type">GtkRadioButton</span></a> that is created.
 
128
           <span class="type">GtkRadioButton</span> that is created.
233
129
</td>
234
130
</tr>
235
131
<tr>
244
140
</tr>
245
141
<tr>
246
142
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
247
 
<td> a new <a
248
 
href="/usr/share/gtk-doc/html/gtk/GtkVBox.html"
249
 
><span class="type">GtkVBox</span></a> holding a group of <span class="type">GtkRadioButtons</span>.
 
143
<td> a new <span class="type">GtkVBox</span> holding a group of <span class="type">GtkRadioButtons</span>.
250
144
 
251
145
</td>
252
146
</tr>
258
152
<hr>
259
153
<div class="refsect2" lang="en">
260
154
<a name="gimp-enum-radio-box-new-with-range"></a><h3>gimp_enum_radio_box_new_with_range ()</h3>
261
 
<pre class="programlisting"><a
262
 
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
263
 
>GtkWidget</a>*          gimp_enum_radio_box_new_with_range  (<a
264
 
href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#GType"
265
 
>GType</a> enum_type,
266
 
                                                         <a
267
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
268
 
>gint</a> minimum,
269
 
                                                         <a
270
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
271
 
>gint</a> maximum,
272
 
                                                         <a
273
 
href="/usr/share/gtk-doc/html/gobject/gobject-Closures.html#GCallback"
274
 
>GCallback</a> callback,
275
 
                                                         <a
276
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
277
 
>gpointer</a> callback_data,
278
 
                                                         <a
279
 
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
280
 
>GtkWidget</a> **first_button);</pre>
 
155
<pre class="programlisting">GtkWidget*          gimp_enum_radio_box_new_with_range  (GType enum_type,
 
156
                                                         gint minimum,
 
157
                                                         gint maximum,
 
158
                                                         GCallback callback,
 
159
                                                         gpointer callback_data,
 
160
                                                         GtkWidget **first_button);</pre>
281
161
<p>
282
162
Just like <a class="link" href="libgimpwidgets-GimpEnumWidgets.html#gimp-enum-radio-box-new" title="gimp_enum_radio_box_new ()"><code class="function">gimp_enum_radio_box_new()</code></a>, this function creates a group
283
163
of radio buttons, but it allows to limit the range of available
290
170
<tbody>
291
171
<tr>
292
172
<td><p><span class="term"><em class="parameter"><code>enum_type</code></em> :</span></p></td>
293
 
<td> the <a
294
 
href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#GType"
295
 
><span class="type">GType</span></a> of an enum.
 
173
<td> the <span class="type">GType</span> of an enum.
296
174
</td>
297
175
</tr>
298
176
<tr>
308
186
<tr>
309
187
<td><p><span class="term"><em class="parameter"><code>callback</code></em> :</span></p></td>
310
188
<td> a callback to connect to the "toggled" signal of each
311
 
           <a
312
 
href="/usr/share/gtk-doc/html/gtk/GtkRadioButton.html"
313
 
><span class="type">GtkRadioButton</span></a> that is created.
 
189
           <span class="type">GtkRadioButton</span> that is created.
314
190
</td>
315
191
</tr>
316
192
<tr>
325
201
</tr>
326
202
<tr>
327
203
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
328
 
<td> a new <a
329
 
href="/usr/share/gtk-doc/html/gtk/GtkVBox.html"
330
 
><span class="type">GtkVBox</span></a> holding a group of <span class="type">GtkRadioButtons</span>.
 
204
<td> a new <span class="type">GtkVBox</span> holding a group of <span class="type">GtkRadioButtons</span>.
331
205
 
332
206
</td>
333
207
</tr>
339
213
<hr>
340
214
<div class="refsect2" lang="en">
341
215
<a name="gimp-enum-radio-frame-new"></a><h3>gimp_enum_radio_frame_new ()</h3>
342
 
<pre class="programlisting"><a
343
 
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
344
 
>GtkWidget</a>*          gimp_enum_radio_frame_new           (<a
345
 
href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#GType"
346
 
>GType</a> enum_type,
347
 
                                                         <a
348
 
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
349
 
>GtkWidget</a> *label_widget,
350
 
                                                         <a
351
 
href="/usr/share/gtk-doc/html/gobject/gobject-Closures.html#GCallback"
352
 
>GCallback</a> callback,
353
 
                                                         <a
354
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
355
 
>gpointer</a> callback_data,
356
 
                                                         <a
357
 
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
358
 
>GtkWidget</a> **first_button);</pre>
 
216
<pre class="programlisting">GtkWidget*          gimp_enum_radio_frame_new           (GType enum_type,
 
217
                                                         GtkWidget *label_widget,
 
218
                                                         GCallback callback,
 
219
                                                         gpointer callback_data,
 
220
                                                         GtkWidget **first_button);</pre>
359
221
<p>
360
222
Calls <a class="link" href="libgimpwidgets-GimpEnumWidgets.html#gimp-enum-radio-box-new" title="gimp_enum_radio_box_new ()"><code class="function">gimp_enum_radio_box_new()</code></a> and puts the resulting vbox into a
361
 
<a
362
 
href="/usr/share/gtk-doc/html/gtk/GtkFrame.html"
363
 
><span class="type">GtkFrame</span></a>.</p>
 
223
<span class="type">GtkFrame</span>.</p>
364
224
<p>
365
225
 
366
226
</p>
369
229
<tbody>
370
230
<tr>
371
231
<td><p><span class="term"><em class="parameter"><code>enum_type</code></em> :</span></p></td>
372
 
<td> the <a
373
 
href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#GType"
374
 
><span class="type">GType</span></a> of an enum.
 
232
<td> the <span class="type">GType</span> of an enum.
375
233
</td>
376
234
</tr>
377
235
<tr>
383
241
<tr>
384
242
<td><p><span class="term"><em class="parameter"><code>callback</code></em> :</span></p></td>
385
243
<td> a callback to connect to the "toggled" signal of each
386
 
           <a
387
 
href="/usr/share/gtk-doc/html/gtk/GtkRadioButton.html"
388
 
><span class="type">GtkRadioButton</span></a> that is created.
 
244
           <span class="type">GtkRadioButton</span> that is created.
389
245
</td>
390
246
</tr>
391
247
<tr>
400
256
</tr>
401
257
<tr>
402
258
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
403
 
<td> a new <a
404
 
href="/usr/share/gtk-doc/html/gtk/GtkFrame.html"
405
 
><span class="type">GtkFrame</span></a> holding a group of <span class="type">GtkRadioButtons</span>.
 
259
<td> a new <span class="type">GtkFrame</span> holding a group of <span class="type">GtkRadioButtons</span>.
406
260
 
407
261
</td>
408
262
</tr>
414
268
<hr>
415
269
<div class="refsect2" lang="en">
416
270
<a name="gimp-enum-radio-frame-new-with-range"></a><h3>gimp_enum_radio_frame_new_with_range ()</h3>
417
 
<pre class="programlisting"><a
418
 
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
419
 
>GtkWidget</a>*          gimp_enum_radio_frame_new_with_range
420
 
                                                        (<a
421
 
href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#GType"
422
 
>GType</a> enum_type,
423
 
                                                         <a
424
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
425
 
>gint</a> minimum,
426
 
                                                         <a
427
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
428
 
>gint</a> maximum,
429
 
                                                         <a
430
 
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
431
 
>GtkWidget</a> *label_widget,
432
 
                                                         <a
433
 
href="/usr/share/gtk-doc/html/gobject/gobject-Closures.html#GCallback"
434
 
>GCallback</a> callback,
435
 
                                                         <a
436
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
437
 
>gpointer</a> callback_data,
438
 
                                                         <a
439
 
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
440
 
>GtkWidget</a> **first_button);</pre>
 
271
<pre class="programlisting">GtkWidget*          gimp_enum_radio_frame_new_with_range
 
272
                                                        (GType enum_type,
 
273
                                                         gint minimum,
 
274
                                                         gint maximum,
 
275
                                                         GtkWidget *label_widget,
 
276
                                                         GCallback callback,
 
277
                                                         gpointer callback_data,
 
278
                                                         GtkWidget **first_button);</pre>
441
279
<p>
442
280
Calls <a class="link" href="libgimpwidgets-GimpEnumWidgets.html#gimp-enum-radio-box-new-with-range" title="gimp_enum_radio_box_new_with_range ()"><code class="function">gimp_enum_radio_box_new_with_range()</code></a> and puts the resulting
443
 
vbox into a <a
444
 
href="/usr/share/gtk-doc/html/gtk/GtkFrame.html"
445
 
><span class="type">GtkFrame</span></a>.</p>
 
281
vbox into a <span class="type">GtkFrame</span>.</p>
446
282
<p>
447
283
 
448
284
</p>
451
287
<tbody>
452
288
<tr>
453
289
<td><p><span class="term"><em class="parameter"><code>enum_type</code></em> :</span></p></td>
454
 
<td> the <a
455
 
href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#GType"
456
 
><span class="type">GType</span></a> of an enum.
 
290
<td> the <span class="type">GType</span> of an enum.
457
291
</td>
458
292
</tr>
459
293
<tr>
474
308
<tr>
475
309
<td><p><span class="term"><em class="parameter"><code>callback</code></em> :</span></p></td>
476
310
<td> a callback to connect to the "toggled" signal of each
477
 
           <a
478
 
href="/usr/share/gtk-doc/html/gtk/GtkRadioButton.html"
479
 
><span class="type">GtkRadioButton</span></a> that is created.
 
311
           <span class="type">GtkRadioButton</span> that is created.
480
312
</td>
481
313
</tr>
482
314
<tr>
491
323
</tr>
492
324
<tr>
493
325
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
494
 
<td> a new <a
495
 
href="/usr/share/gtk-doc/html/gtk/GtkFrame.html"
496
 
><span class="type">GtkFrame</span></a> holding a group of <span class="type">GtkRadioButtons</span>.
 
326
<td> a new <span class="type">GtkFrame</span> holding a group of <span class="type">GtkRadioButtons</span>.
497
327
 
498
328
</td>
499
329
</tr>
505
335
<hr>
506
336
<div class="refsect2" lang="en">
507
337
<a name="gimp-enum-stock-box-new"></a><h3>gimp_enum_stock_box_new ()</h3>
508
 
<pre class="programlisting"><a
509
 
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
510
 
>GtkWidget</a>*          gimp_enum_stock_box_new             (<a
511
 
href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#GType"
512
 
>GType</a> enum_type,
513
 
                                                         const <a
514
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
515
 
>gchar</a> *stock_prefix,
516
 
                                                         <a
517
 
href="/usr/share/gtk-doc/html/gtk/gtk-Themeable-Stock-Images.html#GtkIconSize"
518
 
>GtkIconSize</a> icon_size,
519
 
                                                         <a
520
 
href="/usr/share/gtk-doc/html/gobject/gobject-Closures.html#GCallback"
521
 
>GCallback</a> callback,
522
 
                                                         <a
523
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
524
 
>gpointer</a> callback_data,
525
 
                                                         <a
526
 
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
527
 
>GtkWidget</a> **first_button);</pre>
 
338
<pre class="programlisting">GtkWidget*          gimp_enum_stock_box_new             (GType enum_type,
 
339
                                                         const gchar *stock_prefix,
 
340
                                                         GtkIconSize icon_size,
 
341
                                                         GCallback callback,
 
342
                                                         gpointer callback_data,
 
343
                                                         GtkWidget **first_button);</pre>
528
344
<p>
529
345
Creates a horizontal box of radio buttons with stock icons.  The
530
346
stock_id for each icon is created by appending the enum_value's
537
353
<tbody>
538
354
<tr>
539
355
<td><p><span class="term"><em class="parameter"><code>enum_type</code></em> :</span></p></td>
540
 
<td> the <a
541
 
href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#GType"
542
 
><span class="type">GType</span></a> of an enum.
 
356
<td> the <span class="type">GType</span> of an enum.
543
357
</td>
544
358
</tr>
545
359
<tr>
555
369
<tr>
556
370
<td><p><span class="term"><em class="parameter"><code>callback</code></em> :</span></p></td>
557
371
<td> a callback to connect to the "toggled" signal of each
558
 
           <a
559
 
href="/usr/share/gtk-doc/html/gtk/GtkRadioButton.html"
560
 
><span class="type">GtkRadioButton</span></a> that is created.
 
372
           <span class="type">GtkRadioButton</span> that is created.
561
373
</td>
562
374
</tr>
563
375
<tr>
584
396
<hr>
585
397
<div class="refsect2" lang="en">
586
398
<a name="gimp-enum-stock-box-new-with-range"></a><h3>gimp_enum_stock_box_new_with_range ()</h3>
587
 
<pre class="programlisting"><a
588
 
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
589
 
>GtkWidget</a>*          gimp_enum_stock_box_new_with_range  (<a
590
 
href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#GType"
591
 
>GType</a> enum_type,
592
 
                                                         <a
593
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
594
 
>gint</a> minimum,
595
 
                                                         <a
596
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
597
 
>gint</a> maximum,
598
 
                                                         const <a
599
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
600
 
>gchar</a> *stock_prefix,
601
 
                                                         <a
602
 
href="/usr/share/gtk-doc/html/gtk/gtk-Themeable-Stock-Images.html#GtkIconSize"
603
 
>GtkIconSize</a> icon_size,
604
 
                                                         <a
605
 
href="/usr/share/gtk-doc/html/gobject/gobject-Closures.html#GCallback"
606
 
>GCallback</a> callback,
607
 
                                                         <a
608
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
609
 
>gpointer</a> callback_data,
610
 
                                                         <a
611
 
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
612
 
>GtkWidget</a> **first_button);</pre>
 
399
<pre class="programlisting">GtkWidget*          gimp_enum_stock_box_new_with_range  (GType enum_type,
 
400
                                                         gint minimum,
 
401
                                                         gint maximum,
 
402
                                                         const gchar *stock_prefix,
 
403
                                                         GtkIconSize icon_size,
 
404
                                                         GCallback callback,
 
405
                                                         gpointer callback_data,
 
406
                                                         GtkWidget **first_button);</pre>
613
407
<p>
614
408
Just like <a class="link" href="libgimpwidgets-GimpEnumWidgets.html#gimp-enum-stock-box-new" title="gimp_enum_stock_box_new ()"><code class="function">gimp_enum_stock_box_new()</code></a>, this function creates a group
615
409
of radio buttons, but it allows to limit the range of available
622
416
<tbody>
623
417
<tr>
624
418
<td><p><span class="term"><em class="parameter"><code>enum_type</code></em> :</span></p></td>
625
 
<td> the <a
626
 
href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#GType"
627
 
><span class="type">GType</span></a> of an enum.
 
419
<td> the <span class="type">GType</span> of an enum.
628
420
</td>
629
421
</tr>
630
422
<tr>
650
442
<tr>
651
443
<td><p><span class="term"><em class="parameter"><code>callback</code></em> :</span></p></td>
652
444
<td> a callback to connect to the "toggled" signal of each
653
 
           <a
654
 
href="/usr/share/gtk-doc/html/gtk/GtkRadioButton.html"
655
 
><span class="type">GtkRadioButton</span></a> that is created.
 
445
           <span class="type">GtkRadioButton</span> that is created.
656
446
</td>
657
447
</tr>
658
448
<tr>
680
470
<div class="refsect2" lang="en">
681
471
<a name="gimp-enum-stock-box-set-child-padding"></a><h3>gimp_enum_stock_box_set_child_padding ()</h3>
682
472
<pre class="programlisting">void                gimp_enum_stock_box_set_child_padding
683
 
                                                        (<a
684
 
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
685
 
>GtkWidget</a> *stock_box,
686
 
                                                         <a
687
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
688
 
>gint</a> xpad,
689
 
                                                         <a
690
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
691
 
>gint</a> ypad);</pre>
 
473
                                                        (GtkWidget *stock_box,
 
474
                                                         gint xpad,
 
475
                                                         gint ypad);</pre>
692
476
<p>
693
477
Sets the padding of all buttons in a box created by
694
478
<a class="link" href="libgimpwidgets-GimpEnumWidgets.html#gimp-enum-stock-box-new" title="gimp_enum_stock_box_new ()"><code class="function">gimp_enum_stock_box_new()</code></a>.</p>