~ubuntu-branches/ubuntu/trusty/gimp/trusty

« back to all changes in this revision

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

  • Committer: Bazaar Package Importer
  • Author(s): Ari Pollak
  • Date: 2009-08-14 09:57:17 UTC
  • mto: (1.1.21 upstream) (0.1.5 squeeze)
  • mto: This revision was merged to the branch mainline in revision 48.
  • Revision ID: james.westby@ubuntu.com-20090814095717-37dh2xqy5t0rurpk
Import upstream version 2.6.7

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
<head>
4
4
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5
5
<title>GimpIntComboBox</title>
6
 
<meta name="generator" content="DocBook XSL Stylesheets V1.73.2">
7
 
<link rel="start" href="index.html" title="GIMP Widgets Library Reference Manual">
 
6
<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
 
7
<link rel="home" href="index.html" title="GIMP Widgets Library Reference Manual">
8
8
<link rel="up" href="libgimpwidgets-widgets.html" title="Part I. GIMP Widgets">
9
9
<link rel="prev" href="libgimpwidgets-GimpHintBox.html" title="GimpHintBox">
10
10
<link rel="next" href="GimpIntStore.html" title="GimpIntStore">
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="libgimpwidgets-widgets.html" title="Part I. GIMP Widgets">
14
14
<link rel="chapter" href="libgimpwidgets-hierarchy.html" title="Object Hierarchy">
34
34
<th width="100%" align="center">GIMP Widgets Library Reference Manual</th>
35
35
<td><a accesskey="n" href="GimpIntStore.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
36
36
</tr>
37
 
<tr><td colspan="5" class="shortcuts"><nobr><a href="#GimpIntComboBox.synopsis" class="shortcut">Top</a>
38
 
                   | 
39
 
                  <a href="#GimpIntComboBox.description" class="shortcut">Description</a>
40
 
                   | 
41
 
                  <a href="#GimpIntComboBox.object-hierarchy" class="shortcut">Object Hierarchy</a>
42
 
                   | 
43
 
                  <a href="#GimpIntComboBox.implemented-interfaces" class="shortcut">Implemented Interfaces</a>
44
 
                   | 
45
 
                  <a href="#GimpIntComboBox.properties" class="shortcut">Properties</a></nobr></td></tr>
 
37
<tr><td colspan="5" class="shortcuts">
 
38
<a href="#GimpIntComboBox.synopsis" class="shortcut">Top</a>
 
39
                 | 
 
40
                <a href="#GimpIntComboBox.description" class="shortcut">Description</a>
 
41
                 | 
 
42
                <a href="#GimpIntComboBox.object-hierarchy" class="shortcut">Object Hierarchy</a>
 
43
                 | 
 
44
                <a href="#GimpIntComboBox.implemented-interfaces" class="shortcut">Implemented Interfaces</a>
 
45
                 | 
 
46
                <a href="#GimpIntComboBox.properties" class="shortcut">Properties</a>
 
47
</td></tr>
46
48
</table>
47
 
<div class="refentry" lang="en">
 
49
<div class="refentry" title="GimpIntComboBox">
48
50
<a name="GimpIntComboBox"></a><div class="titlepage"></div>
49
51
<div class="refnamediv"><table width="100%"><tr>
50
52
<td valign="top">
53
55
</td>
54
56
<td valign="top" align="right"><img src="gimp-int-combo-box.png"></td>
55
57
</tr></table></div>
56
 
<div class="refsynopsisdiv">
 
58
<div class="refsynopsisdiv" title="Synopsis">
57
59
<a name="GimpIntComboBox.synopsis"></a><h2>Synopsis</h2>
58
60
<pre class="synopsis">
59
61
                    <a class="link" href="GimpIntComboBox.html#GimpIntComboBox-struct" title="GimpIntComboBox">GimpIntComboBox</a>;
66
68
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"
67
69
>gpointer</a> data);
68
70
<a
69
 
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
70
 
>GtkWidget</a>*          <a class="link" href="GimpIntComboBox.html#gimp-int-combo-box-new" title="gimp_int_combo_box_new ()">gimp_int_combo_box_new</a>              (const <a
 
71
href="http://library.gnome.org/devel/gtk/unstable/GtkWidget.html"
 
72
>GtkWidget</a> *         <a class="link" href="GimpIntComboBox.html#gimp-int-combo-box-new" title="gimp_int_combo_box_new ()">gimp_int_combo_box_new</a>              (const <a
71
73
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
72
74
>gchar</a> *first_label,
73
75
                                                         <a
75
77
>gint</a> first_value,
76
78
                                                         ...);
77
79
<a
78
 
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
79
 
>GtkWidget</a>*          <a class="link" href="GimpIntComboBox.html#gimp-int-combo-box-new-valist" title="gimp_int_combo_box_new_valist ()">gimp_int_combo_box_new_valist</a>       (const <a
 
80
href="http://library.gnome.org/devel/gtk/unstable/GtkWidget.html"
 
81
>GtkWidget</a> *         <a class="link" href="GimpIntComboBox.html#gimp-int-combo-box-new-valist" title="gimp_int_combo_box_new_valist ()">gimp_int_combo_box_new_valist</a>       (const <a
80
82
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
81
83
>gchar</a> *first_label,
82
84
                                                         <a
84
86
>gint</a> first_value,
85
87
                                                         va_list values);
86
88
<a
87
 
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
88
 
>GtkWidget</a>*          <a class="link" href="GimpIntComboBox.html#gimp-int-combo-box-new-array" title="gimp_int_combo_box_new_array ()">gimp_int_combo_box_new_array</a>        (<a
 
89
href="http://library.gnome.org/devel/gtk/unstable/GtkWidget.html"
 
90
>GtkWidget</a> *         <a class="link" href="GimpIntComboBox.html#gimp-int-combo-box-new-array" title="gimp_int_combo_box_new_array ()">gimp_int_combo_box_new_array</a>        (<a
89
91
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
90
92
>gint</a> n_values,
91
93
                                                         const <a
129
131
>GDestroyNotify</a> destroy);
130
132
</pre>
131
133
</div>
132
 
<div class="refsect1" lang="en">
 
134
<div class="refsect1" title="Object Hierarchy">
133
135
<a name="GimpIntComboBox.object-hierarchy"></a><h2>Object Hierarchy</h2>
134
136
<pre class="synopsis">
135
137
  <a
139
141
href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GInitiallyUnowned"
140
142
>GInitiallyUnowned</a>
141
143
         +----<a
142
 
href="/usr/share/gtk-doc/html/gtk/GtkObject.html"
 
144
href="http://library.gnome.org/devel/gtk/unstable/GtkObject.html"
143
145
>GtkObject</a>
144
146
               +----<a
145
 
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
 
147
href="http://library.gnome.org/devel/gtk/unstable/GtkWidget.html"
146
148
>GtkWidget</a>
147
149
                     +----<a
148
 
href="/usr/share/gtk-doc/html/gtk/GtkContainer.html"
 
150
href="http://library.gnome.org/devel/gtk/unstable/GtkContainer.html"
149
151
>GtkContainer</a>
150
152
                           +----<a
151
 
href="/usr/share/gtk-doc/html/gtk/GtkBin.html"
 
153
href="http://library.gnome.org/devel/gtk/unstable/GtkBin.html"
152
154
>GtkBin</a>
153
155
                                 +----<a
154
 
href="/usr/share/gtk-doc/html/gtk/GtkComboBox.html"
 
156
href="http://library.gnome.org/devel/gtk/unstable/GtkComboBox.html"
155
157
>GtkComboBox</a>
156
158
                                       +----GimpIntComboBox
157
159
                                             +----<a class="link" href="GimpEnumComboBox.html" title="GimpEnumComboBox">GimpEnumComboBox</a>
158
160
</pre>
159
161
</div>
160
 
<div class="refsect1" lang="en">
 
162
<div class="refsect1" title="Implemented Interfaces">
161
163
<a name="GimpIntComboBox.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
162
164
<p>
163
165
GimpIntComboBox implements
164
 
 AtkImplementorIface,  <a
165
 
href="/usr/share/gtk-doc/html/gtk/gtk-gtkbuildable.html#GtkBuildable"
166
 
>GtkBuildable</a>,  <a
167
 
href="/usr/share/gtk-doc/html/gtk/GtkCellEditable.html"
 
166
 <a
 
167
href="http://library.gnome.org/devel/gtk/unstable/gtk-gtkbuildable.html#GtkBuildable"
 
168
>GtkBuildable</a>,  AtkImplementorIface,  <a
 
169
href="http://library.gnome.org/devel/gtk/unstable/GtkCellEditable.html"
168
170
>GtkCellEditable</a> and  <a
169
 
href="/usr/share/gtk-doc/html/gtk/GtkCellLayout.html"
 
171
href="http://library.gnome.org/devel/gtk/unstable/GtkCellLayout.html"
170
172
>GtkCellLayout</a>.</p>
171
173
</div>
172
 
<div class="refsect1" lang="en">
 
174
<div class="refsect1" title="Properties">
173
175
<a name="GimpIntComboBox.properties"></a><h2>Properties</h2>
174
176
<pre class="synopsis">
175
177
  "<a class="link" href="GimpIntComboBox.html#GimpIntComboBox--ellipsize" title='The "ellipsize" property'>ellipsize</a>"                <a
177
179
>PangoEllipsizeMode</a>    : Read / Write
178
180
</pre>
179
181
</div>
180
 
<div class="refsect1" lang="en">
 
182
<div class="refsect1" title="Description">
181
183
<a name="GimpIntComboBox.description"></a><h2>Description</h2>
182
184
<p>
183
185
A widget providing a popup menu of integer values (e.g. enums).
184
186
</p>
185
187
</div>
186
 
<div class="refsect1" lang="en">
 
188
<div class="refsect1" title="Details">
187
189
<a name="GimpIntComboBox.details"></a><h2>Details</h2>
188
 
<div class="refsect2" lang="en">
 
190
<div class="refsect2" title="GimpIntComboBox">
189
191
<a name="GimpIntComboBox-struct"></a><h3>GimpIntComboBox</h3>
190
192
<pre class="programlisting">typedef struct _GimpIntComboBox GimpIntComboBox;</pre>
191
193
<p>
192
 
 
193
194
</p>
194
195
</div>
195
196
<hr>
196
 
<div class="refsect2" lang="en">
 
197
<div class="refsect2" title="GimpIntSensitivityFunc ()">
197
198
<a name="GimpIntSensitivityFunc"></a><h3>GimpIntSensitivityFunc ()</h3>
198
199
<pre class="programlisting"><a
199
200
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
204
205
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"
205
206
>gpointer</a> data);</pre>
206
207
<p>
207
 
 
208
208
</p>
209
209
<div class="variablelist"><table border="0">
210
210
<col align="left" valign="top">
222
222
<tr>
223
223
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
224
224
<td>
225
 
 
226
 
 
227
225
</td>
228
226
</tr>
229
227
</tbody>
230
228
</table></div>
231
229
</div>
232
230
<hr>
233
 
<div class="refsect2" lang="en">
 
231
<div class="refsect2" title="gimp_int_combo_box_new ()">
234
232
<a name="gimp-int-combo-box-new"></a><h3>gimp_int_combo_box_new ()</h3>
235
233
<pre class="programlisting"><a
236
 
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
237
 
>GtkWidget</a>*          gimp_int_combo_box_new              (const <a
 
234
href="http://library.gnome.org/devel/gtk/unstable/GtkWidget.html"
 
235
>GtkWidget</a> *         gimp_int_combo_box_new              (const <a
238
236
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
239
237
>gchar</a> *first_label,
240
238
                                                         <a
244
242
<p>
245
243
Creates a GtkComboBox that has integer values associated with each
246
244
item. The items to fill the combo box with are specified as a <a
247
 
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"
 
245
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL--CAPS"
248
246
><code class="literal">NULL</code></a>
249
247
terminated list of label/value pairs.
250
248
</p>
252
250
If you need to construct an empty <a class="link" href="GimpIntComboBox.html" title="GimpIntComboBox"><span class="type">GimpIntComboBox</span></a>, it's best to use
253
251
g_object_new (GIMP_TYPE_INT_COMBO_BOX, NULL).</p>
254
252
<p>
255
 
 
256
253
</p>
257
254
<div class="variablelist"><table border="0">
258
255
<col align="left" valign="top">
270
267
<tr>
271
268
<td><p><span class="term"><em class="parameter"><code>...</code></em> :</span></p></td>
272
269
<td> a <a
273
 
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"
 
270
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL--CAPS"
274
271
><code class="literal">NULL</code></a> terminated list of more label, value pairs
275
272
</td>
276
273
</tr>
282
279
</tr>
283
280
</tbody>
284
281
</table></div>
285
 
<p class="since">Since  GIMP 2.2
286
 
</p>
 
282
<p class="since">Since GIMP 2.2</p>
287
283
</div>
288
284
<hr>
289
 
<div class="refsect2" lang="en">
 
285
<div class="refsect2" title="gimp_int_combo_box_new_valist ()">
290
286
<a name="gimp-int-combo-box-new-valist"></a><h3>gimp_int_combo_box_new_valist ()</h3>
291
287
<pre class="programlisting"><a
292
 
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
293
 
>GtkWidget</a>*          gimp_int_combo_box_new_valist       (const <a
 
288
href="http://library.gnome.org/devel/gtk/unstable/GtkWidget.html"
 
289
>GtkWidget</a> *         gimp_int_combo_box_new_valist       (const <a
294
290
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
295
291
>gchar</a> *first_label,
296
292
                                                         <a
301
297
A variant of <a class="link" href="GimpIntComboBox.html#gimp-int-combo-box-new" title="gimp_int_combo_box_new ()"><code class="function">gimp_int_combo_box_new()</code></a> that takes a va_list of
302
298
label/value pairs. Probably only useful for language bindings.</p>
303
299
<p>
304
 
 
305
300
</p>
306
301
<div class="variablelist"><table border="0">
307
302
<col align="left" valign="top">
329
324
</tr>
330
325
</tbody>
331
326
</table></div>
332
 
<p class="since">Since  GIMP 2.2
333
 
</p>
 
327
<p class="since">Since GIMP 2.2</p>
334
328
</div>
335
329
<hr>
336
 
<div class="refsect2" lang="en">
 
330
<div class="refsect2" title="gimp_int_combo_box_new_array ()">
337
331
<a name="gimp-int-combo-box-new-array"></a><h3>gimp_int_combo_box_new_array ()</h3>
338
332
<pre class="programlisting"><a
339
 
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
340
 
>GtkWidget</a>*          gimp_int_combo_box_new_array        (<a
 
333
href="http://library.gnome.org/devel/gtk/unstable/GtkWidget.html"
 
334
>GtkWidget</a> *         gimp_int_combo_box_new_array        (<a
341
335
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
342
336
>gint</a> n_values,
343
337
                                                         const <a
347
341
A variant of <a class="link" href="GimpIntComboBox.html#gimp-int-combo-box-new" title="gimp_int_combo_box_new ()"><code class="function">gimp_int_combo_box_new()</code></a> that takes an array of labels.
348
342
The array indices are used as values.</p>
349
343
<p>
350
 
 
351
344
</p>
352
345
<div class="variablelist"><table border="0">
353
346
<col align="left" valign="top">
370
363
</tr>
371
364
</tbody>
372
365
</table></div>
373
 
<p class="since">Since  GIMP 2.2
374
 
</p>
 
366
<p class="since">Since GIMP 2.2</p>
375
367
</div>
376
368
<hr>
377
 
<div class="refsect2" lang="en">
 
369
<div class="refsect2" title="gimp_int_combo_box_prepend ()">
378
370
<a name="gimp-int-combo-box-prepend"></a><h3>gimp_int_combo_box_prepend ()</h3>
379
371
<pre class="programlisting">void                gimp_int_combo_box_prepend          (<a class="link" href="GimpIntComboBox.html" title="GimpIntComboBox">GimpIntComboBox</a> *combo_box,
380
372
                                                         ...);</pre>
382
374
This function provides a convenient way to prepend items to a
383
375
<a class="link" href="GimpIntComboBox.html" title="GimpIntComboBox"><span class="type">GimpIntComboBox</span></a>. It prepends a row to the <em class="parameter"><code>combo_box</code></em>'s list store
384
376
and calls <a
385
 
href="/usr/share/gtk-doc/html/gtk/GtkListStore.html#gtk-list-store-set"
 
377
href="http://library.gnome.org/devel/gtk/unstable/GtkListStore.html#gtk-list-store-set"
386
378
><code class="function">gtk_list_store_set()</code></a> for you.
387
379
</p>
388
380
<p>
389
381
The column number must be taken from the enum <a class="link" href="GimpIntStore.html#GimpIntStoreColumns" title="enum GimpIntStoreColumns"><span class="type">GimpIntStoreColumns</span></a>.</p>
390
382
<p>
391
 
 
392
383
</p>
393
384
<div class="variablelist"><table border="0">
394
385
<col align="left" valign="top">
405
396
</tr>
406
397
</tbody>
407
398
</table></div>
408
 
<p class="since">Since  GIMP 2.2
409
 
</p>
 
399
<p class="since">Since GIMP 2.2</p>
410
400
</div>
411
401
<hr>
412
 
<div class="refsect2" lang="en">
 
402
<div class="refsect2" title="gimp_int_combo_box_append ()">
413
403
<a name="gimp-int-combo-box-append"></a><h3>gimp_int_combo_box_append ()</h3>
414
404
<pre class="programlisting">void                gimp_int_combo_box_append           (<a class="link" href="GimpIntComboBox.html" title="GimpIntComboBox">GimpIntComboBox</a> *combo_box,
415
405
                                                         ...);</pre>
417
407
This function provides a convenient way to append items to a
418
408
<a class="link" href="GimpIntComboBox.html" title="GimpIntComboBox"><span class="type">GimpIntComboBox</span></a>. It appends a row to the <em class="parameter"><code>combo_box</code></em>'s list store
419
409
and calls <a
420
 
href="/usr/share/gtk-doc/html/gtk/GtkListStore.html#gtk-list-store-set"
 
410
href="http://library.gnome.org/devel/gtk/unstable/GtkListStore.html#gtk-list-store-set"
421
411
><code class="function">gtk_list_store_set()</code></a> for you.
422
412
</p>
423
413
<p>
424
414
The column number must be taken from the enum <a class="link" href="GimpIntStore.html#GimpIntStoreColumns" title="enum GimpIntStoreColumns"><span class="type">GimpIntStoreColumns</span></a>.</p>
425
415
<p>
426
 
 
427
416
</p>
428
417
<div class="variablelist"><table border="0">
429
418
<col align="left" valign="top">
440
429
</tr>
441
430
</tbody>
442
431
</table></div>
443
 
<p class="since">Since  GIMP 2.2
444
 
</p>
 
432
<p class="since">Since GIMP 2.2</p>
445
433
</div>
446
434
<hr>
447
 
<div class="refsect2" lang="en">
 
435
<div class="refsect2" title="gimp_int_combo_box_set_active ()">
448
436
<a name="gimp-int-combo-box-set-active"></a><h3>gimp_int_combo_box_set_active ()</h3>
449
437
<pre class="programlisting"><a
450
438
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
456
444
Looks up the item that belongs to the given <em class="parameter"><code>value</code></em> and makes it the
457
445
selected item in the <em class="parameter"><code>combo_box</code></em>.</p>
458
446
<p>
459
 
 
460
447
</p>
461
448
<div class="variablelist"><table border="0">
462
449
<col align="left" valign="top">
474
461
<tr>
475
462
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
476
463
<td> <a
477
 
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"
 
464
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE--CAPS"
478
465
><code class="literal">TRUE</code></a> on success or <a
479
 
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"
 
466
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE--CAPS"
480
467
><code class="literal">FALSE</code></a> if there was no item for
481
468
              this value.
482
469
 
484
471
</tr>
485
472
</tbody>
486
473
</table></div>
487
 
<p class="since">Since  GIMP 2.2
488
 
</p>
 
474
<p class="since">Since GIMP 2.2</p>
489
475
</div>
490
476
<hr>
491
 
<div class="refsect2" lang="en">
 
477
<div class="refsect2" title="gimp_int_combo_box_get_active ()">
492
478
<a name="gimp-int-combo-box-get-active"></a><h3>gimp_int_combo_box_get_active ()</h3>
493
479
<pre class="programlisting"><a
494
480
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
499
485
<p>
500
486
Retrieves the value of the selected (active) item in the <em class="parameter"><code>combo_box</code></em>.</p>
501
487
<p>
502
 
 
503
488
</p>
504
489
<div class="variablelist"><table border="0">
505
490
<col align="left" valign="top">
517
502
<tr>
518
503
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
519
504
<td> <a
520
 
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"
 
505
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE--CAPS"
521
506
><code class="literal">TRUE</code></a> if <em class="parameter"><code>value</code></em> has been set or <a
522
 
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"
 
507
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE--CAPS"
523
508
><code class="literal">FALSE</code></a> if no item was
524
509
              active.
525
510
 
527
512
</tr>
528
513
</tbody>
529
514
</table></div>
530
 
<p class="since">Since  GIMP 2.2
531
 
</p>
 
515
<p class="since">Since GIMP 2.2</p>
532
516
</div>
533
517
<hr>
534
 
<div class="refsect2" lang="en">
 
518
<div class="refsect2" title="gimp_int_combo_box_connect ()">
535
519
<a name="gimp-int-combo-box-connect"></a><h3>gimp_int_combo_box_connect ()</h3>
536
520
<pre class="programlisting"><a
537
521
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gulong"
559
543
><code class="function">gimp_drawable_combo_box_new()</code></a>. If you pass an invalid initial
560
544
<em class="parameter"><code>value</code></em>, the <em class="parameter"><code>callback</code></em> will be called with the default item active.</p>
561
545
<p>
562
 
 
563
546
</p>
564
547
<div class="variablelist"><table border="0">
565
548
<col align="left" valign="top">
596
579
</tr>
597
580
</tbody>
598
581
</table></div>
599
 
<p class="since">Since  GIMP 2.2
600
 
</p>
 
582
<p class="since">Since GIMP 2.2</p>
601
583
</div>
602
584
<hr>
603
 
<div class="refsect2" lang="en">
 
585
<div class="refsect2" title="gimp_int_combo_box_set_sensitivity ()">
604
586
<a name="gimp-int-combo-box-set-sensitivity"></a><h3>gimp_int_combo_box_set_sensitivity ()</h3>
605
587
<pre class="programlisting">void                gimp_int_combo_box_set_sensitivity  (<a class="link" href="GimpIntComboBox.html" title="GimpIntComboBox">GimpIntComboBox</a> *combo_box,
606
588
                                                         <a class="link" href="GimpIntComboBox.html#GimpIntSensitivityFunc" title="GimpIntSensitivityFunc ()">GimpIntSensitivityFunc</a> func,
617
599
</p>
618
600
<p>
619
601
Calling <a
620
 
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html#gtk-widget-queue-draw"
 
602
href="http://library.gnome.org/devel/gtk/unstable/GtkWidget.html#gtk-widget-queue-draw"
621
603
><code class="function">gtk_widget_queue_draw()</code></a> on the <em class="parameter"><code>combo_box</code></em> will cause the
622
604
sensitivity to be updated.</p>
623
605
<p>
624
 
 
625
606
</p>
626
607
<div class="variablelist"><table border="0">
627
608
<col align="left" valign="top">
634
615
<tr>
635
616
<td><p><span class="term"><em class="parameter"><code>func</code></em> :</span></p></td>
636
617
<td> a function that returns a boolean value, or <a
637
 
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"
 
618
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL--CAPS"
638
619
><code class="literal">NULL</code></a> to unset
639
620
</td>
640
621
</tr>
650
631
</tr>
651
632
</tbody>
652
633
</table></div>
653
 
<p class="since">Since  GIMP 2.4
654
 
</p>
655
 
</div>
656
 
</div>
657
 
<div class="refsect1" lang="en">
 
634
<p class="since">Since GIMP 2.4</p>
 
635
</div>
 
636
</div>
 
637
<div class="refsect1" title="Property Details">
658
638
<a name="GimpIntComboBox.property-details"></a><h2>Property Details</h2>
659
 
<div class="refsect2" lang="en">
 
639
<div class="refsect2" title='The "ellipsize" property'>
660
640
<a name="GimpIntComboBox--ellipsize"></a><h3>The <code class="literal">"ellipsize"</code> property</h3>
661
641
<pre class="programlisting">  "ellipsize"                <a
662
642
href="/usr/share/gtk-doc/html/pango/pango-Layout-Objects.html#PangoEllipsizeMode"
666
646
if the cell renderer does not have enough room to display the
667
647
entire string.</p>
668
648
<p>
669
 
 
670
649
</p>
671
650
<p>Default value: PANGO_ELLIPSIZE_NONE</p>
672
 
<p>Since  GIMP 2.4
673
 
</p>
 
651
<p>Since GIMP 2.4</p>
674
652
</div>
675
653
</div>
676
654
</div>
677
655
<div class="footer">
678
656
<hr>
679
 
          Generated by GTK-Doc V1.10</div>
 
657
          Generated by GTK-Doc V1.11</div>
680
658
</body>
681
659
</html>