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

« back to all changes in this revision

Viewing changes to devel-docs/libgimp/html/GimpImageComboBox.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:
52
52
<a name="GimpImageComboBox.synopsis"></a><h2>Synopsis</h2>
53
53
<pre class="synopsis">
54
54
                    <a class="link" href="GimpImageComboBox.html#GimpImageComboBox-struct" title="GimpImageComboBox">GimpImageComboBox</a>;
55
 
<a
56
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
57
 
>gboolean</a>            (<a class="link" href="GimpImageComboBox.html#GimpImageConstraintFunc" title="GimpImageConstraintFunc ()">*GimpImageConstraintFunc</a>)          (<a
58
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"
59
 
>gint32</a> image_id,
60
 
                                                         <a
61
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
62
 
>gpointer</a> data);
63
 
<a
64
 
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
65
 
>GtkWidget</a>*          <a class="link" href="GimpImageComboBox.html#gimp-image-combo-box-new" title="gimp_image_combo_box_new ()">gimp_image_combo_box_new</a>            (<a class="link" href="GimpImageComboBox.html#GimpImageConstraintFunc" title="GimpImageConstraintFunc ()">GimpImageConstraintFunc</a> constraint,
66
 
                                                         <a
67
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
68
 
>gpointer</a> data);
 
55
gboolean            (<a class="link" href="GimpImageComboBox.html#GimpImageConstraintFunc" title="GimpImageConstraintFunc ()">*GimpImageConstraintFunc</a>)          (gint32 image_id,
 
56
                                                         gpointer data);
 
57
GtkWidget*          <a class="link" href="GimpImageComboBox.html#gimp-image-combo-box-new" title="gimp_image_combo_box_new ()">gimp_image_combo_box_new</a>            (<a class="link" href="GimpImageComboBox.html#GimpImageConstraintFunc" title="GimpImageConstraintFunc ()">GimpImageConstraintFunc</a> constraint,
 
58
                                                         gpointer data);
69
59
</pre>
70
60
</div>
71
61
<div class="refsect1" lang="en">
72
62
<a name="GimpImageComboBox.object-hierarchy"></a><h2>Object Hierarchy</h2>
73
63
<pre class="synopsis">
74
 
  <a
75
 
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"
76
 
>GObject</a>
77
 
   +----<a
78
 
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned"
79
 
>GInitiallyUnowned</a>
80
 
         +----<a
81
 
href="/usr/share/gtk-doc/html/gtk/GtkObject.html"
82
 
>GtkObject</a>
83
 
               +----<a
84
 
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
85
 
>GtkWidget</a>
86
 
                     +----<a
87
 
href="/usr/share/gtk-doc/html/gtk/GtkContainer.html"
88
 
>GtkContainer</a>
89
 
                           +----<a
90
 
href="/usr/share/gtk-doc/html/gtk/GtkBin.html"
91
 
>GtkBin</a>
92
 
                                 +----<a
93
 
href="/usr/share/gtk-doc/html/gtk/GtkComboBox.html"
94
 
>GtkComboBox</a>
 
64
  GObject
 
65
   +----GInitiallyUnowned
 
66
         +----GtkObject
 
67
               +----GtkWidget
 
68
                     +----GtkContainer
 
69
                           +----GtkBin
 
70
                                 +----GtkComboBox
95
71
                                       +----<a
96
 
href="/usr/share/gtk-doc/html/libgimpwidgets/GimpIntComboBox.html"
 
72
href="../libgimpwidgets/GimpIntComboBox.html"
97
73
>GimpIntComboBox</a>
98
74
                                             +----GimpImageComboBox
99
75
</pre>
102
78
<a name="GimpImageComboBox.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
103
79
<p>
104
80
GimpImageComboBox implements
105
 
 AtkImplementorIface,  GtkBuildable,  <a
106
 
href="/usr/share/gtk-doc/html/gtk/GtkCellLayout.html"
107
 
>GtkCellLayout</a> and  <a
108
 
href="/usr/share/gtk-doc/html/gtk/GtkCellEditable.html"
109
 
>GtkCellEditable</a>.</p>
 
81
 AtkImplementorIface,  GtkBuildable,  GtkCellLayout and  GtkCellEditable.</p>
110
82
</div>
111
83
<div class="refsect1" lang="en">
112
84
<a name="GimpImageComboBox.description"></a><h2>Description</h2>
126
98
<hr>
127
99
<div class="refsect2" lang="en">
128
100
<a name="GimpImageConstraintFunc"></a><h3>GimpImageConstraintFunc ()</h3>
129
 
<pre class="programlisting"><a
130
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
131
 
>gboolean</a>            (*GimpImageConstraintFunc)          (<a
132
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"
133
 
>gint32</a> image_id,
134
 
                                                         <a
135
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
136
 
>gpointer</a> data);</pre>
 
101
<pre class="programlisting">gboolean            (*GimpImageConstraintFunc)          (gint32 image_id,
 
102
                                                         gpointer data);</pre>
137
103
<p>
138
104
 
139
105
</p>
163
129
<hr>
164
130
<div class="refsect2" lang="en">
165
131
<a name="gimp-image-combo-box-new"></a><h3>gimp_image_combo_box_new ()</h3>
166
 
<pre class="programlisting"><a
167
 
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
168
 
>GtkWidget</a>*          gimp_image_combo_box_new            (<a class="link" href="GimpImageComboBox.html#GimpImageConstraintFunc" title="GimpImageConstraintFunc ()">GimpImageConstraintFunc</a> constraint,
169
 
                                                         <a
170
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
171
 
>gpointer</a> data);</pre>
 
132
<pre class="programlisting">GtkWidget*          gimp_image_combo_box_new            (<a class="link" href="GimpImageComboBox.html#GimpImageConstraintFunc" title="GimpImageConstraintFunc ()">GimpImageConstraintFunc</a> constraint,
 
133
                                                         gpointer data);</pre>
172
134
<p>
173
135
Creates a new <a
174
 
href="/usr/share/gtk-doc/html/libgimpwidgets/GimpIntComboBox.html"
 
136
href="../libgimpwidgets/GimpIntComboBox.html"
175
137
><span class="type">GimpIntComboBox</span></a> filled with all currently opened
176
138
images. If a <em class="parameter"><code>constraint</code></em> function is specified, it is called for
177
 
each image and only if the function returns <a
178
 
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"
179
 
><code class="literal">TRUE</code></a>, the image is
 
139
each image and only if the function returns <code class="literal">TRUE</code>, the image is
180
140
added to the combobox.
181
141
</p>
182
142
<p>
183
143
You should use <code class="function">gimp_int_combo_connect()</code> to initialize and connect
184
144
the combo. Use <a
185
 
href="/usr/share/gtk-doc/html/libgimpwidgets/GimpIntComboBox.html#gimp-int-combo-box-set-active"
 
145
href="../libgimpwidgets/GimpIntComboBox.html#gimp-int-combo-box-set-active"
186
146
><code class="function">gimp_int_combo_box_set_active()</code></a> to get the active
187
147
image ID and <a
188
 
href="/usr/share/gtk-doc/html/libgimpwidgets/GimpIntComboBox.html#gimp-int-combo-box-get-active"
 
148
href="../libgimpwidgets/GimpIntComboBox.html#gimp-int-combo-box-get-active"
189
149
><code class="function">gimp_int_combo_box_get_active()</code></a> to retrieve the ID of
190
150
the selected image.</p>
191
151
<p>
196
156
<tbody>
197
157
<tr>
198
158
<td><p><span class="term"><em class="parameter"><code>constraint</code></em> :</span></p></td>
199
 
<td> a <a class="link" href="GimpImageComboBox.html#GimpImageConstraintFunc" title="GimpImageConstraintFunc ()"><span class="type">GimpImageConstraintFunc</span></a> or <a
200
 
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"
201
 
><code class="literal">NULL</code></a>
 
159
<td> a <a class="link" href="GimpImageComboBox.html#GimpImageConstraintFunc" title="GimpImageConstraintFunc ()"><span class="type">GimpImageConstraintFunc</span></a> or <code class="literal">NULL</code>
202
160
</td>
203
161
</tr>
204
162
<tr>
209
167
<tr>
210
168
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
211
169
<td> a new <a
212
 
href="/usr/share/gtk-doc/html/libgimpwidgets/GimpIntComboBox.html"
 
170
href="../libgimpwidgets/GimpIntComboBox.html"
213
171
><span class="type">GimpIntComboBox</span></a>.
214
172
 
215
173
</td>