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

« back to all changes in this revision

Viewing changes to devel-docs/libgimp/html/libgimp-GimpItemComboBox.html

  • Committer: Bazaar Package Importer
  • Author(s): Pedro Fragoso
  • Date: 2009-03-17 03:00:24 UTC
  • mfrom: (1.1.20 upstream)
  • Revision ID: james.westby@ubuntu.com-20090317030024-gnp1dhd0hnt80f4h
Tags: 2.6.6-0ubuntu1
* New upstream release (LP: #344052)
* debian/patches/04_from_bugzilla_572403.patch:
  - Dropped, the fix is in the tarball

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
<link rel="up" href="libgimpui.html" title="Part II. GIMP User Interface Library">
9
9
<link rel="prev" href="GimpZoomPreview.html" title="GimpZoomPreview">
10
10
<link rel="next" href="GimpImageComboBox.html" title="gimpimagecombobox">
11
 
<meta name="generator" content="GTK-Doc V1.10 (XML mode)">
 
11
<meta name="generator" content="GTK-Doc V1.11 (XML mode)">
12
12
<link rel="stylesheet" href="style.css" type="text/css">
13
13
<link rel="part" href="libgimp.html" title="Part I. GIMP Library">
14
14
<link rel="chapter" href="libgimp-general.html" title="Functions not Related to Specific Images">
32
32
<th width="100%" align="center">GIMP Library Reference Manual</th>
33
33
<td><a accesskey="n" href="GimpImageComboBox.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
34
34
</tr>
35
 
<tr><td colspan="5" class="shortcuts"><nobr><a href="#libgimp-GimpItemComboBox.synopsis" class="shortcut">Top</a>
36
 
                   | 
37
 
                  <a href="#libgimp-GimpItemComboBox.description" class="shortcut">Description</a>
38
 
                   | 
39
 
                  <a href="#libgimp-GimpItemComboBox.object-hierarchy" class="shortcut">Object Hierarchy</a>
40
 
                   | 
41
 
                  <a href="#libgimp-GimpItemComboBox.implemented-interfaces" class="shortcut">Implemented Interfaces</a></nobr></td></tr>
 
35
<tr><td colspan="5" class="shortcuts">
 
36
<a href="#libgimp-GimpItemComboBox.synopsis" class="shortcut">Top</a>
 
37
                 | 
 
38
                <a href="#libgimp-GimpItemComboBox.description" class="shortcut">Description</a>
 
39
                 | 
 
40
                <a href="#libgimp-GimpItemComboBox.object-hierarchy" class="shortcut">Object Hierarchy</a>
 
41
                 | 
 
42
                <a href="#libgimp-GimpItemComboBox.implemented-interfaces" class="shortcut">Implemented Interfaces</a>
 
43
</td></tr>
42
44
</table>
43
45
<div class="refentry" lang="en">
44
46
<a name="libgimp-GimpItemComboBox"></a><div class="titlepage"></div>
53
55
<a name="libgimp-GimpItemComboBox.synopsis"></a><h2>Synopsis</h2>
54
56
<a name="GimpDrawableComboBox"></a><a name="GimpChannelComboBox"></a><a name="GimpLayerComboBox"></a><a name="GimpVectorsComboBox"></a><pre class="synopsis">
55
57
<a
56
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
57
 
>gboolean</a>            (<a class="link" href="libgimp-GimpItemComboBox.html#GimpItemConstraintFunc" title="GimpItemConstraintFunc ()">*GimpItemConstraintFunc</a>)           (gint32 image_id,
58
 
                                                         gint32 item_id,
59
 
                                                         <a
60
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
 
58
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
 
59
>gboolean</a>            (<a class="link" href="libgimp-GimpItemComboBox.html#GimpItemConstraintFunc" title="GimpItemConstraintFunc ()">*GimpItemConstraintFunc</a>)           (<a
 
60
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"
 
61
>gint32</a> image_id,
 
62
                                                         <a
 
63
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"
 
64
>gint32</a> item_id,
 
65
                                                         <a
 
66
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"
61
67
>gpointer</a> data);
62
68
                    <a class="link" href="libgimp-GimpItemComboBox.html#GimpDrawableComboBox-struct" title="GimpDrawableComboBox">GimpDrawableComboBox</a>;
63
69
typedef             <a class="link" href="libgimp-GimpItemComboBox.html#GimpDrawableConstraintFunc" title="GimpDrawableConstraintFunc">GimpDrawableConstraintFunc</a>;
64
70
<a
65
71
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
66
 
>GtkWidget</a>*          <a class="link" href="libgimp-GimpItemComboBox.html#gimp-drawable-combo-box-new" title="gimp_drawable_combo_box_new ()">gimp_drawable_combo_box_new</a>         (<a class="link" href="libgimp-GimpItemComboBox.html#GimpDrawableConstraintFunc" title="GimpDrawableConstraintFunc">GimpDrawableConstraintFunc</a> constraint,
 
72
>GtkWidget</a> *         <a class="link" href="libgimp-GimpItemComboBox.html#gimp-drawable-combo-box-new" title="gimp_drawable_combo_box_new ()">gimp_drawable_combo_box_new</a>         (<a class="link" href="libgimp-GimpItemComboBox.html#GimpDrawableConstraintFunc" title="GimpDrawableConstraintFunc">GimpDrawableConstraintFunc</a> constraint,
67
73
                                                         <a
68
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
 
74
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"
69
75
>gpointer</a> data);
70
76
                    <a class="link" href="libgimp-GimpItemComboBox.html#GimpChannelComboBox-struct" title="GimpChannelComboBox">GimpChannelComboBox</a>;
71
77
<a
72
78
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
73
 
>GtkWidget</a>*          <a class="link" href="libgimp-GimpItemComboBox.html#gimp-channel-combo-box-new" title="gimp_channel_combo_box_new ()">gimp_channel_combo_box_new</a>          (<a class="link" href="libgimp-GimpItemComboBox.html#GimpDrawableConstraintFunc" title="GimpDrawableConstraintFunc">GimpDrawableConstraintFunc</a> constraint,
 
79
>GtkWidget</a> *         <a class="link" href="libgimp-GimpItemComboBox.html#gimp-channel-combo-box-new" title="gimp_channel_combo_box_new ()">gimp_channel_combo_box_new</a>          (<a class="link" href="libgimp-GimpItemComboBox.html#GimpDrawableConstraintFunc" title="GimpDrawableConstraintFunc">GimpDrawableConstraintFunc</a> constraint,
74
80
                                                         <a
75
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
 
81
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"
76
82
>gpointer</a> data);
77
83
                    <a class="link" href="libgimp-GimpItemComboBox.html#GimpLayerComboBox-struct" title="GimpLayerComboBox">GimpLayerComboBox</a>;
78
84
<a
79
85
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
80
 
>GtkWidget</a>*          <a class="link" href="libgimp-GimpItemComboBox.html#gimp-layer-combo-box-new" title="gimp_layer_combo_box_new ()">gimp_layer_combo_box_new</a>            (<a class="link" href="libgimp-GimpItemComboBox.html#GimpDrawableConstraintFunc" title="GimpDrawableConstraintFunc">GimpDrawableConstraintFunc</a> constraint,
 
86
>GtkWidget</a> *         <a class="link" href="libgimp-GimpItemComboBox.html#gimp-layer-combo-box-new" title="gimp_layer_combo_box_new ()">gimp_layer_combo_box_new</a>            (<a class="link" href="libgimp-GimpItemComboBox.html#GimpDrawableConstraintFunc" title="GimpDrawableConstraintFunc">GimpDrawableConstraintFunc</a> constraint,
81
87
                                                         <a
82
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
 
88
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"
83
89
>gpointer</a> data);
84
90
                    <a class="link" href="libgimp-GimpItemComboBox.html#GimpVectorsComboBox-struct" title="GimpVectorsComboBox">GimpVectorsComboBox</a>;
85
91
typedef             <a class="link" href="libgimp-GimpItemComboBox.html#GimpVectorsConstraintFunc" title="GimpVectorsConstraintFunc">GimpVectorsConstraintFunc</a>;
86
92
<a
87
93
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
88
 
>GtkWidget</a>*          <a class="link" href="libgimp-GimpItemComboBox.html#gimp-vectors-combo-box-new" title="gimp_vectors_combo_box_new ()">gimp_vectors_combo_box_new</a>          (<a class="link" href="libgimp-GimpItemComboBox.html#GimpVectorsConstraintFunc" title="GimpVectorsConstraintFunc">GimpVectorsConstraintFunc</a> constraint,
 
94
>GtkWidget</a> *         <a class="link" href="libgimp-GimpItemComboBox.html#gimp-vectors-combo-box-new" title="gimp_vectors_combo_box_new ()">gimp_vectors_combo_box_new</a>          (<a class="link" href="libgimp-GimpItemComboBox.html#GimpVectorsConstraintFunc" title="GimpVectorsConstraintFunc">GimpVectorsConstraintFunc</a> constraint,
89
95
                                                         <a
90
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
 
96
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"
91
97
>gpointer</a> data);
92
98
</pre>
93
99
</div>
95
101
<a name="libgimp-GimpItemComboBox.object-hierarchy"></a><h2>Object Hierarchy</h2>
96
102
<pre class="synopsis">
97
103
  <a
98
 
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"
 
104
href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"
99
105
>GObject</a>
100
106
   +----<a
101
 
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned"
 
107
href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GInitiallyUnowned"
102
108
>GInitiallyUnowned</a>
103
109
         +----<a
104
110
href="/usr/share/gtk-doc/html/gtk/GtkObject.html"
122
128
</pre>
123
129
<pre class="synopsis">
124
130
  <a
125
 
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"
 
131
href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"
126
132
>GObject</a>
127
133
   +----<a
128
 
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned"
 
134
href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GInitiallyUnowned"
129
135
>GInitiallyUnowned</a>
130
136
         +----<a
131
137
href="/usr/share/gtk-doc/html/gtk/GtkObject.html"
149
155
</pre>
150
156
<pre class="synopsis">
151
157
  <a
152
 
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"
 
158
href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"
153
159
>GObject</a>
154
160
   +----<a
155
 
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned"
 
161
href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GInitiallyUnowned"
156
162
>GInitiallyUnowned</a>
157
163
         +----<a
158
164
href="/usr/share/gtk-doc/html/gtk/GtkObject.html"
176
182
</pre>
177
183
<pre class="synopsis">
178
184
  <a
179
 
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"
 
185
href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"
180
186
>GObject</a>
181
187
   +----<a
182
 
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned"
 
188
href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GInitiallyUnowned"
183
189
>GInitiallyUnowned</a>
184
190
         +----<a
185
191
href="/usr/share/gtk-doc/html/gtk/GtkObject.html"
244
250
<div class="refsect1" lang="en">
245
251
<a name="libgimp-GimpItemComboBox.description"></a><h2>Description</h2>
246
252
<p>
247
 
 
248
253
</p>
249
254
</div>
250
255
<div class="refsect1" lang="en">
252
257
<div class="refsect2" lang="en">
253
258
<a name="GimpItemConstraintFunc"></a><h3>GimpItemConstraintFunc ()</h3>
254
259
<pre class="programlisting"><a
255
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
256
 
>gboolean</a>            (*GimpItemConstraintFunc)           (gint32 image_id,
257
 
                                                         gint32 item_id,
258
 
                                                         <a
259
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
 
260
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
 
261
>gboolean</a>            (*GimpItemConstraintFunc)           (<a
 
262
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"
 
263
>gint32</a> image_id,
 
264
                                                         <a
 
265
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"
 
266
>gint32</a> item_id,
 
267
                                                         <a
 
268
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"
260
269
>gpointer</a> data);</pre>
261
270
<p>
262
 
 
263
271
</p>
264
272
<div class="variablelist"><table border="0">
265
273
<col align="left" valign="top">
282
290
<tr>
283
291
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
284
292
<td>
285
 
 
286
 
 
287
293
</td>
288
294
</tr>
289
295
</tbody>
294
300
<a name="GimpDrawableComboBox-struct"></a><h3>GimpDrawableComboBox</h3>
295
301
<pre class="programlisting">typedef struct _GimpDrawableComboBox GimpDrawableComboBox;</pre>
296
302
<p>
297
 
 
298
303
</p>
299
304
</div>
300
305
<hr>
303
308
<pre class="programlisting">typedef GimpItemConstraintFunc GimpDrawableConstraintFunc;
304
309
</pre>
305
310
<p>
306
 
 
307
311
</p>
308
312
</div>
309
313
<hr>
311
315
<a name="gimp-drawable-combo-box-new"></a><h3>gimp_drawable_combo_box_new ()</h3>
312
316
<pre class="programlisting"><a
313
317
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
314
 
>GtkWidget</a>*          gimp_drawable_combo_box_new         (<a class="link" href="libgimp-GimpItemComboBox.html#GimpDrawableConstraintFunc" title="GimpDrawableConstraintFunc">GimpDrawableConstraintFunc</a> constraint,
 
318
>GtkWidget</a> *         gimp_drawable_combo_box_new         (<a class="link" href="libgimp-GimpItemComboBox.html#GimpDrawableConstraintFunc" title="GimpDrawableConstraintFunc">GimpDrawableConstraintFunc</a> constraint,
315
319
                                                         <a
316
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
 
320
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"
317
321
>gpointer</a> data);</pre>
318
322
<p>
319
323
Creates a new <a
321
325
><span class="type">GimpIntComboBox</span></a> filled with all currently opened
322
326
drawables. If a <em class="parameter"><code>constraint</code></em> function is specified, it is called for
323
327
each drawable and only if the function returns <a
324
 
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"
 
328
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE--CAPS"
325
329
><code class="literal">TRUE</code></a>, the drawable
326
330
is added to the combobox.
327
331
</p>
337
341
><code class="function">gimp_int_combo_box_get_active()</code></a> to retrieve the ID
338
342
of the selected drawable.</p>
339
343
<p>
340
 
 
341
344
</p>
342
345
<div class="variablelist"><table border="0">
343
346
<col align="left" valign="top">
345
348
<tr>
346
349
<td><p><span class="term"><em class="parameter"><code>constraint</code></em> :</span></p></td>
347
350
<td> a <a class="link" href="libgimp-GimpItemComboBox.html#GimpDrawableConstraintFunc" title="GimpDrawableConstraintFunc"><span class="type">GimpDrawableConstraintFunc</span></a> or <a
348
 
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"
 
351
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL--CAPS"
349
352
><code class="literal">NULL</code></a>
350
353
</td>
351
354
</tr>
364
367
</tr>
365
368
</tbody>
366
369
</table></div>
367
 
<p class="since">Since  GIMP 2.2
368
 
</p>
 
370
<p class="since">Since GIMP 2.2</p>
369
371
</div>
370
372
<hr>
371
373
<div class="refsect2" lang="en">
372
374
<a name="GimpChannelComboBox-struct"></a><h3>GimpChannelComboBox</h3>
373
375
<pre class="programlisting">typedef struct _GimpChannelComboBox GimpChannelComboBox;</pre>
374
376
<p>
375
 
 
376
377
</p>
377
378
</div>
378
379
<hr>
380
381
<a name="gimp-channel-combo-box-new"></a><h3>gimp_channel_combo_box_new ()</h3>
381
382
<pre class="programlisting"><a
382
383
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
383
 
>GtkWidget</a>*          gimp_channel_combo_box_new          (<a class="link" href="libgimp-GimpItemComboBox.html#GimpDrawableConstraintFunc" title="GimpDrawableConstraintFunc">GimpDrawableConstraintFunc</a> constraint,
 
384
>GtkWidget</a> *         gimp_channel_combo_box_new          (<a class="link" href="libgimp-GimpItemComboBox.html#GimpDrawableConstraintFunc" title="GimpDrawableConstraintFunc">GimpDrawableConstraintFunc</a> constraint,
384
385
                                                         <a
385
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
 
386
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"
386
387
>gpointer</a> data);</pre>
387
388
<p>
388
389
Creates a new <a
390
391
><span class="type">GimpIntComboBox</span></a> filled with all currently opened
391
392
channels. See <a class="link" href="libgimp-GimpItemComboBox.html#gimp-drawable-combo-box-new" title="gimp_drawable_combo_box_new ()"><code class="function">gimp_drawable_combo_box_new()</code></a> for more information.</p>
392
393
<p>
393
 
 
394
394
</p>
395
395
<div class="variablelist"><table border="0">
396
396
<col align="left" valign="top">
398
398
<tr>
399
399
<td><p><span class="term"><em class="parameter"><code>constraint</code></em> :</span></p></td>
400
400
<td> a <a class="link" href="libgimp-GimpItemComboBox.html#GimpDrawableConstraintFunc" title="GimpDrawableConstraintFunc"><span class="type">GimpDrawableConstraintFunc</span></a> or <a
401
 
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"
 
401
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL--CAPS"
402
402
><code class="literal">NULL</code></a>
403
403
</td>
404
404
</tr>
417
417
</tr>
418
418
</tbody>
419
419
</table></div>
420
 
<p class="since">Since  GIMP 2.2
421
 
</p>
 
420
<p class="since">Since GIMP 2.2</p>
422
421
</div>
423
422
<hr>
424
423
<div class="refsect2" lang="en">
425
424
<a name="GimpLayerComboBox-struct"></a><h3>GimpLayerComboBox</h3>
426
425
<pre class="programlisting">typedef struct _GimpLayerComboBox GimpLayerComboBox;</pre>
427
426
<p>
428
 
 
429
427
</p>
430
428
</div>
431
429
<hr>
433
431
<a name="gimp-layer-combo-box-new"></a><h3>gimp_layer_combo_box_new ()</h3>
434
432
<pre class="programlisting"><a
435
433
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
436
 
>GtkWidget</a>*          gimp_layer_combo_box_new            (<a class="link" href="libgimp-GimpItemComboBox.html#GimpDrawableConstraintFunc" title="GimpDrawableConstraintFunc">GimpDrawableConstraintFunc</a> constraint,
 
434
>GtkWidget</a> *         gimp_layer_combo_box_new            (<a class="link" href="libgimp-GimpItemComboBox.html#GimpDrawableConstraintFunc" title="GimpDrawableConstraintFunc">GimpDrawableConstraintFunc</a> constraint,
437
435
                                                         <a
438
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
 
436
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"
439
437
>gpointer</a> data);</pre>
440
438
<p>
441
439
Creates a new <a
443
441
><span class="type">GimpIntComboBox</span></a> filled with all currently opened
444
442
layers. See <a class="link" href="libgimp-GimpItemComboBox.html#gimp-drawable-combo-box-new" title="gimp_drawable_combo_box_new ()"><code class="function">gimp_drawable_combo_box_new()</code></a> for more information.</p>
445
443
<p>
446
 
 
447
444
</p>
448
445
<div class="variablelist"><table border="0">
449
446
<col align="left" valign="top">
451
448
<tr>
452
449
<td><p><span class="term"><em class="parameter"><code>constraint</code></em> :</span></p></td>
453
450
<td> a <a class="link" href="libgimp-GimpItemComboBox.html#GimpDrawableConstraintFunc" title="GimpDrawableConstraintFunc"><span class="type">GimpDrawableConstraintFunc</span></a> or <a
454
 
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"
 
451
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL--CAPS"
455
452
><code class="literal">NULL</code></a>
456
453
</td>
457
454
</tr>
470
467
</tr>
471
468
</tbody>
472
469
</table></div>
473
 
<p class="since">Since  GIMP 2.2
474
 
</p>
 
470
<p class="since">Since GIMP 2.2</p>
475
471
</div>
476
472
<hr>
477
473
<div class="refsect2" lang="en">
478
474
<a name="GimpVectorsComboBox-struct"></a><h3>GimpVectorsComboBox</h3>
479
475
<pre class="programlisting">typedef struct _GimpVectorsComboBox GimpVectorsComboBox;</pre>
480
476
<p>
481
 
 
482
477
</p>
483
478
</div>
484
479
<hr>
487
482
<pre class="programlisting">typedef GimpItemConstraintFunc GimpVectorsConstraintFunc;
488
483
</pre>
489
484
<p>
490
 
 
491
485
</p>
492
486
</div>
493
487
<hr>
495
489
<a name="gimp-vectors-combo-box-new"></a><h3>gimp_vectors_combo_box_new ()</h3>
496
490
<pre class="programlisting"><a
497
491
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
498
 
>GtkWidget</a>*          gimp_vectors_combo_box_new          (<a class="link" href="libgimp-GimpItemComboBox.html#GimpVectorsConstraintFunc" title="GimpVectorsConstraintFunc">GimpVectorsConstraintFunc</a> constraint,
 
492
>GtkWidget</a> *         gimp_vectors_combo_box_new          (<a class="link" href="libgimp-GimpItemComboBox.html#GimpVectorsConstraintFunc" title="GimpVectorsConstraintFunc">GimpVectorsConstraintFunc</a> constraint,
499
493
                                                         <a
500
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
 
494
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"
501
495
>gpointer</a> data);</pre>
502
496
<p>
503
497
Creates a new <a
505
499
><span class="type">GimpIntComboBox</span></a> filled with all currently opened
506
500
vectors objects. If a <em class="parameter"><code>constraint</code></em> function is specified, it is called for
507
501
each vectors object and only if the function returns <a
508
 
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"
 
502
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE--CAPS"
509
503
><code class="literal">TRUE</code></a>, the vectors
510
504
object is added to the combobox.
511
505
</p>
521
515
><code class="function">gimp_int_combo_box_get_active()</code></a> to retrieve the ID
522
516
of the selected vectors object.</p>
523
517
<p>
524
 
 
525
518
</p>
526
519
<div class="variablelist"><table border="0">
527
520
<col align="left" valign="top">
529
522
<tr>
530
523
<td><p><span class="term"><em class="parameter"><code>constraint</code></em> :</span></p></td>
531
524
<td> a <a class="link" href="libgimp-GimpItemComboBox.html#GimpVectorsConstraintFunc" title="GimpVectorsConstraintFunc"><span class="type">GimpVectorsConstraintFunc</span></a> or <a
532
 
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"
 
525
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL--CAPS"
533
526
><code class="literal">NULL</code></a>
534
527
</td>
535
528
</tr>
548
541
</tr>
549
542
</tbody>
550
543
</table></div>
551
 
<p class="since">Since  GIMP 2.4
552
 
</p>
 
544
<p class="since">Since GIMP 2.4</p>
553
545
</div>
554
546
</div>
555
547
</div>
556
548
<div class="footer">
557
549
<hr>
558
 
          Generated by GTK-Doc V1.10</div>
 
550
          Generated by GTK-Doc V1.11</div>
559
551
</body>
560
552
</html>