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

« back to all changes in this revision

Viewing changes to devel-docs/libgimpwidgets/html/GimpStringComboBox.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:
56
56
<a name="GimpStringComboBox.synopsis"></a><h2>Synopsis</h2>
57
57
<pre class="synopsis">
58
58
                    <a class="link" href="GimpStringComboBox.html#GimpStringComboBox-struct" title="GimpStringComboBox">GimpStringComboBox</a>;
59
 
<a
60
 
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
61
 
>GtkWidget</a>*          <a class="link" href="GimpStringComboBox.html#gimp-string-combo-box-new" title="gimp_string_combo_box_new ()">gimp_string_combo_box_new</a>           (<a
62
 
href="/usr/share/gtk-doc/html/gtk/GtkTreeModel.html"
63
 
>GtkTreeModel</a> *model,
64
 
                                                         <a
65
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
66
 
>gint</a> id_column,
67
 
                                                         <a
68
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
69
 
>gint</a> label_column);
70
 
<a
71
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
72
 
>gboolean</a>            <a class="link" href="GimpStringComboBox.html#gimp-string-combo-box-set-active" title="gimp_string_combo_box_set_active ()">gimp_string_combo_box_set_active</a>    (<a class="link" href="GimpStringComboBox.html" title="GimpStringComboBox">GimpStringComboBox</a> *combo_box,
73
 
                                                         const <a
74
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
75
 
>gchar</a> *id);
76
 
<a
77
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
78
 
>gchar</a>*              <a class="link" href="GimpStringComboBox.html#gimp-string-combo-box-get-active" title="gimp_string_combo_box_get_active ()">gimp_string_combo_box_get_active</a>    (<a class="link" href="GimpStringComboBox.html" title="GimpStringComboBox">GimpStringComboBox</a> *combo_box);
 
59
GtkWidget*          <a class="link" href="GimpStringComboBox.html#gimp-string-combo-box-new" title="gimp_string_combo_box_new ()">gimp_string_combo_box_new</a>           (GtkTreeModel *model,
 
60
                                                         gint id_column,
 
61
                                                         gint label_column);
 
62
gboolean            <a class="link" href="GimpStringComboBox.html#gimp-string-combo-box-set-active" title="gimp_string_combo_box_set_active ()">gimp_string_combo_box_set_active</a>    (<a class="link" href="GimpStringComboBox.html" title="GimpStringComboBox">GimpStringComboBox</a> *combo_box,
 
63
                                                         const gchar *id);
 
64
gchar*              <a class="link" href="GimpStringComboBox.html#gimp-string-combo-box-get-active" title="gimp_string_combo_box_get_active ()">gimp_string_combo_box_get_active</a>    (<a class="link" href="GimpStringComboBox.html" title="GimpStringComboBox">GimpStringComboBox</a> *combo_box);
79
65
</pre>
80
66
</div>
81
67
<div class="refsect1" lang="en">
82
68
<a name="GimpStringComboBox.object-hierarchy"></a><h2>Object Hierarchy</h2>
83
69
<pre class="synopsis">
84
 
  <a
85
 
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"
86
 
>GObject</a>
87
 
   +----<a
88
 
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned"
89
 
>GInitiallyUnowned</a>
90
 
         +----<a
91
 
href="/usr/share/gtk-doc/html/gtk/GtkObject.html"
92
 
>GtkObject</a>
93
 
               +----<a
94
 
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
95
 
>GtkWidget</a>
96
 
                     +----<a
97
 
href="/usr/share/gtk-doc/html/gtk/GtkContainer.html"
98
 
>GtkContainer</a>
99
 
                           +----<a
100
 
href="/usr/share/gtk-doc/html/gtk/GtkBin.html"
101
 
>GtkBin</a>
102
 
                                 +----<a
103
 
href="/usr/share/gtk-doc/html/gtk/GtkComboBox.html"
104
 
>GtkComboBox</a>
 
70
  GObject
 
71
   +----GInitiallyUnowned
 
72
         +----GtkObject
 
73
               +----GtkWidget
 
74
                     +----GtkContainer
 
75
                           +----GtkBin
 
76
                                 +----GtkComboBox
105
77
                                       +----GimpStringComboBox
106
78
</pre>
107
79
</div>
109
81
<a name="GimpStringComboBox.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
110
82
<p>
111
83
GimpStringComboBox implements
112
 
 AtkImplementorIface,  GtkBuildable,  <a
113
 
href="/usr/share/gtk-doc/html/gtk/GtkCellEditable.html"
114
 
>GtkCellEditable</a> and  <a
115
 
href="/usr/share/gtk-doc/html/gtk/GtkCellLayout.html"
116
 
>GtkCellLayout</a>.</p>
 
84
 AtkImplementorIface,  GtkBuildable,  GtkCellEditable and  GtkCellLayout.</p>
117
85
</div>
118
86
<div class="refsect1" lang="en">
119
87
<a name="GimpStringComboBox.properties"></a><h2>Properties</h2>
120
88
<pre class="synopsis">
121
 
  "<a class="link" href="GimpStringComboBox.html#GimpStringComboBox--ellipsize" title='The "ellipsize" property'>ellipsize</a>"                <a
122
 
href="/usr/share/gtk-doc/html/pango/pango-Layout-Objects.html#PangoEllipsizeMode"
123
 
>PangoEllipsizeMode</a>    : Read / Write
124
 
  "<a class="link" href="GimpStringComboBox.html#GimpStringComboBox--id-column" title='The "id-column" property'>id-column</a>"                <a
125
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
126
 
>gint</a>                  : Read / Write / Construct Only
127
 
  "<a class="link" href="GimpStringComboBox.html#GimpStringComboBox--label-column" title='The "label-column" property'>label-column</a>"             <a
128
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
129
 
>gint</a>                  : Read / Write / Construct Only
 
89
  "<a class="link" href="GimpStringComboBox.html#GimpStringComboBox--ellipsize" title='The "ellipsize" property'>ellipsize</a>"                PangoEllipsizeMode    : Read / Write
 
90
  "<a class="link" href="GimpStringComboBox.html#GimpStringComboBox--id-column" title='The "id-column" property'>id-column</a>"                gint                  : Read / Write / Construct Only
 
91
  "<a class="link" href="GimpStringComboBox.html#GimpStringComboBox--label-column" title='The "label-column" property'>label-column</a>"             gint                  : Read / Write / Construct Only
130
92
</pre>
131
93
</div>
132
94
<div class="refsect1" lang="en">
147
109
<hr>
148
110
<div class="refsect2" lang="en">
149
111
<a name="gimp-string-combo-box-new"></a><h3>gimp_string_combo_box_new ()</h3>
150
 
<pre class="programlisting"><a
151
 
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
152
 
>GtkWidget</a>*          gimp_string_combo_box_new           (<a
153
 
href="/usr/share/gtk-doc/html/gtk/GtkTreeModel.html"
154
 
>GtkTreeModel</a> *model,
155
 
                                                         <a
156
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
157
 
>gint</a> id_column,
158
 
                                                         <a
159
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
160
 
>gint</a> label_column);</pre>
 
112
<pre class="programlisting">GtkWidget*          gimp_string_combo_box_new           (GtkTreeModel *model,
 
113
                                                         gint id_column,
 
114
                                                         gint label_column);</pre>
161
115
<p>
162
116
</p>
163
117
<p>
195
149
<hr>
196
150
<div class="refsect2" lang="en">
197
151
<a name="gimp-string-combo-box-set-active"></a><h3>gimp_string_combo_box_set_active ()</h3>
198
 
<pre class="programlisting"><a
199
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
200
 
>gboolean</a>            gimp_string_combo_box_set_active    (<a class="link" href="GimpStringComboBox.html" title="GimpStringComboBox">GimpStringComboBox</a> *combo_box,
201
 
                                                         const <a
202
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
203
 
>gchar</a> *id);</pre>
 
152
<pre class="programlisting">gboolean            gimp_string_combo_box_set_active    (<a class="link" href="GimpStringComboBox.html" title="GimpStringComboBox">GimpStringComboBox</a> *combo_box,
 
153
                                                         const gchar *id);</pre>
204
154
<p>
205
155
Looks up the item that belongs to the given <em class="parameter"><code>id</code></em> and makes it the
206
156
selected item in the <em class="parameter"><code>combo_box</code></em>.</p>
222
172
</tr>
223
173
<tr>
224
174
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
225
 
<td> <a
226
 
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"
227
 
><code class="literal">TRUE</code></a> on success or <a
228
 
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"
229
 
><code class="literal">FALSE</code></a> if there was no item for
 
175
<td> <code class="literal">TRUE</code> on success or <code class="literal">FALSE</code> if there was no item for
230
176
              this value.
231
177
 
232
178
</td>
239
185
<hr>
240
186
<div class="refsect2" lang="en">
241
187
<a name="gimp-string-combo-box-get-active"></a><h3>gimp_string_combo_box_get_active ()</h3>
242
 
<pre class="programlisting"><a
243
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
244
 
>gchar</a>*              gimp_string_combo_box_get_active    (<a class="link" href="GimpStringComboBox.html" title="GimpStringComboBox">GimpStringComboBox</a> *combo_box);</pre>
 
188
<pre class="programlisting">gchar*              gimp_string_combo_box_get_active    (<a class="link" href="GimpStringComboBox.html" title="GimpStringComboBox">GimpStringComboBox</a> *combo_box);</pre>
245
189
<p>
246
190
Retrieves the value of the selected (active) item in the <em class="parameter"><code>combo_box</code></em>.</p>
247
191
<p>
257
201
</tr>
258
202
<tr>
259
203
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
260
 
<td> newly allocated ID string or <a
261
 
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"
262
 
><code class="literal">NULL</code></a> if nothing was selected
 
204
<td> newly allocated ID string or <code class="literal">NULL</code> if nothing was selected
263
205
 
264
206
</td>
265
207
</tr>
273
215
<a name="GimpStringComboBox.property-details"></a><h2>Property Details</h2>
274
216
<div class="refsect2" lang="en">
275
217
<a name="GimpStringComboBox--ellipsize"></a><h3>The <code class="literal">"ellipsize"</code> property</h3>
276
 
<pre class="programlisting">  "ellipsize"                <a
277
 
href="/usr/share/gtk-doc/html/pango/pango-Layout-Objects.html#PangoEllipsizeMode"
278
 
>PangoEllipsizeMode</a>    : Read / Write</pre>
 
218
<pre class="programlisting">  "ellipsize"                PangoEllipsizeMode    : Read / Write</pre>
279
219
<p>
280
220
Specifies the preferred place to ellipsize text in the combo-box,
281
221
if the cell renderer does not have enough room to display the
290
230
<hr>
291
231
<div class="refsect2" lang="en">
292
232
<a name="GimpStringComboBox--id-column"></a><h3>The <code class="literal">"id-column"</code> property</h3>
293
 
<pre class="programlisting">  "id-column"                <a
294
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
295
 
>gint</a>                  : Read / Write / Construct Only</pre>
 
233
<pre class="programlisting">  "id-column"                gint                  : Read / Write / Construct Only</pre>
296
234
<p>
297
235
The column in the associated GtkTreeModel that holds strings to
298
236
be used as labels in the combo-box.</p>
307
245
<hr>
308
246
<div class="refsect2" lang="en">
309
247
<a name="GimpStringComboBox--label-column"></a><h3>The <code class="literal">"label-column"</code> property</h3>
310
 
<pre class="programlisting">  "label-column"             <a
311
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
312
 
>gint</a>                  : Read / Write / Construct Only</pre>
 
248
<pre class="programlisting">  "label-column"             gint                  : Read / Write / Construct Only</pre>
313
249
<p></p>
314
250
<p>Allowed values: &gt;= 0</p>
315
251
<p>Default value: 0</p>