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

« back to all changes in this revision

Viewing changes to devel-docs/libgimpwidgets/html/GimpEnumStore.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>GimpEnumStore</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="GimpDialog.html" title="GimpDialog">
10
10
<link rel="next" href="GimpEnumComboBox.html" title="GimpEnumComboBox">
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="GimpEnumComboBox.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="#GimpEnumStore.synopsis" class="shortcut">Top</a>
38
 
                  Ā |Ā 
39
 
                  <a href="#GimpEnumStore.description" class="shortcut">Description</a>
40
 
                  Ā |Ā 
41
 
                  <a href="#GimpEnumStore.object-hierarchy" class="shortcut">Object Hierarchy</a>
42
 
                  Ā |Ā 
43
 
                  <a href="#GimpEnumStore.implemented-interfaces" class="shortcut">Implemented Interfaces</a>
44
 
                  Ā |Ā 
45
 
                  <a href="#GimpEnumStore.properties" class="shortcut">Properties</a></nobr></td></tr>
 
37
<tr><td colspan="5" class="shortcuts">
 
38
<a href="#GimpEnumStore.synopsis" class="shortcut">Top</a>
 
39
                Ā |Ā 
 
40
                <a href="#GimpEnumStore.description" class="shortcut">Description</a>
 
41
                Ā |Ā 
 
42
                <a href="#GimpEnumStore.object-hierarchy" class="shortcut">Object Hierarchy</a>
 
43
                Ā |Ā 
 
44
                <a href="#GimpEnumStore.implemented-interfaces" class="shortcut">Implemented Interfaces</a>
 
45
                Ā |Ā 
 
46
                <a href="#GimpEnumStore.properties" class="shortcut">Properties</a>
 
47
</td></tr>
46
48
</table>
47
 
<div class="refentry" lang="en">
 
49
<div class="refentry" title="GimpEnumStore">
48
50
<a name="GimpEnumStore"></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"></td>
55
57
</tr></table></div>
56
 
<div class="refsynopsisdiv">
 
58
<div class="refsynopsisdiv" title="Synopsis">
57
59
<a name="GimpEnumStore.synopsis"></a><h2>Synopsis</h2>
58
60
<pre class="synopsis">
59
61
                    <a class="link" href="GimpEnumStore.html#GimpEnumStore-struct" title="GimpEnumStore">GimpEnumStore</a>;
60
62
<a
61
 
href="/usr/share/gtk-doc/html/gtk/GtkListStore.html"
62
 
>GtkListStore</a>*       <a class="link" href="GimpEnumStore.html#gimp-enum-store-new" title="gimp_enum_store_new ()">gimp_enum_store_new</a>                 (<a
 
63
href="http://library.gnome.org/devel/gtk/unstable/GtkListStore.html"
 
64
>GtkListStore</a> *      <a class="link" href="GimpEnumStore.html#gimp-enum-store-new" title="gimp_enum_store_new ()">gimp_enum_store_new</a>                 (<a
63
65
href="http://library.gnome.org/devel/gobject/unstable/gobject-Type-Information.html#GType"
64
66
>GType</a> enum_type);
65
67
<a
66
 
href="/usr/share/gtk-doc/html/gtk/GtkListStore.html"
67
 
>GtkListStore</a>*       <a class="link" href="GimpEnumStore.html#gimp-enum-store-new-with-range" title="gimp_enum_store_new_with_range ()">gimp_enum_store_new_with_range</a>      (<a
 
68
href="http://library.gnome.org/devel/gtk/unstable/GtkListStore.html"
 
69
>GtkListStore</a> *      <a class="link" href="GimpEnumStore.html#gimp-enum-store-new-with-range" title="gimp_enum_store_new_with_range ()">gimp_enum_store_new_with_range</a>      (<a
68
70
href="http://library.gnome.org/devel/gobject/unstable/gobject-Type-Information.html#GType"
69
71
>GType</a> enum_type,
70
72
                                                         <a
74
76
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
75
77
>gint</a> maximum);
76
78
<a
77
 
href="/usr/share/gtk-doc/html/gtk/GtkListStore.html"
78
 
>GtkListStore</a>*       <a class="link" href="GimpEnumStore.html#gimp-enum-store-new-with-values" title="gimp_enum_store_new_with_values ()">gimp_enum_store_new_with_values</a>     (<a
 
79
href="http://library.gnome.org/devel/gtk/unstable/GtkListStore.html"
 
80
>GtkListStore</a> *      <a class="link" href="GimpEnumStore.html#gimp-enum-store-new-with-values" title="gimp_enum_store_new_with_values ()">gimp_enum_store_new_with_values</a>     (<a
79
81
href="http://library.gnome.org/devel/gobject/unstable/gobject-Type-Information.html#GType"
80
82
>GType</a> enum_type,
81
83
                                                         <a
83
85
>gint</a> n_values,
84
86
                                                         ...);
85
87
<a
86
 
href="/usr/share/gtk-doc/html/gtk/GtkListStore.html"
87
 
>GtkListStore</a>*       <a class="link" href="GimpEnumStore.html#gimp-enum-store-new-with-values-valist" title="gimp_enum_store_new_with_values_valist ()">gimp_enum_store_new_with_values_valist</a>
 
88
href="http://library.gnome.org/devel/gtk/unstable/GtkListStore.html"
 
89
>GtkListStore</a> *      <a class="link" href="GimpEnumStore.html#gimp-enum-store-new-with-values-valist" title="gimp_enum_store_new_with_values_valist ()">gimp_enum_store_new_with_values_valist</a>
88
90
                                                        (<a
89
91
href="http://library.gnome.org/devel/gobject/unstable/gobject-Type-Information.html#GType"
90
92
>GType</a> enum_type,
98
100
>gchar</a> *stock_prefix);
99
101
</pre>
100
102
</div>
101
 
<div class="refsect1" lang="en">
 
103
<div class="refsect1" title="Object Hierarchy">
102
104
<a name="GimpEnumStore.object-hierarchy"></a><h2>Object Hierarchy</h2>
103
105
<pre class="synopsis">
104
106
  <a
105
107
href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"
106
108
>GObject</a>
107
109
   +----<a
108
 
href="/usr/share/gtk-doc/html/gtk/GtkListStore.html"
 
110
href="http://library.gnome.org/devel/gtk/unstable/GtkListStore.html"
109
111
>GtkListStore</a>
110
112
         +----<a class="link" href="GimpIntStore.html" title="GimpIntStore">GimpIntStore</a>
111
113
               +----GimpEnumStore
112
114
</pre>
113
115
</div>
114
 
<div class="refsect1" lang="en">
 
116
<div class="refsect1" title="Implemented Interfaces">
115
117
<a name="GimpEnumStore.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
116
118
<p>
117
119
GimpEnumStore implements
118
120
 <a
119
 
href="/usr/share/gtk-doc/html/gtk/gtk-gtkbuildable.html#GtkBuildable"
 
121
href="http://library.gnome.org/devel/gtk/unstable/gtk-gtkbuildable.html#GtkBuildable"
120
122
>GtkBuildable</a>,  <a
121
 
href="/usr/share/gtk-doc/html/gtk/GtkTreeModel.html"
 
123
href="http://library.gnome.org/devel/gtk/unstable/GtkTreeModel.html"
122
124
>GtkTreeModel</a>,  <a
123
 
href="/usr/share/gtk-doc/html/gtk/gtk-GtkTreeView-drag-and-drop.html#GtkTreeDragSource"
 
125
href="http://library.gnome.org/devel/gtk/unstable/gtk-GtkTreeView-drag-and-drop.html#GtkTreeDragSource"
124
126
>GtkTreeDragSource</a>,  <a
125
 
href="/usr/share/gtk-doc/html/gtk/gtk-GtkTreeView-drag-and-drop.html#GtkTreeDragDest"
 
127
href="http://library.gnome.org/devel/gtk/unstable/gtk-GtkTreeView-drag-and-drop.html#GtkTreeDragDest"
126
128
>GtkTreeDragDest</a> and  <a
127
 
href="/usr/share/gtk-doc/html/gtk/GtkTreeSortable.html"
 
129
href="http://library.gnome.org/devel/gtk/unstable/GtkTreeSortable.html"
128
130
>GtkTreeSortable</a>.</p>
129
131
</div>
130
 
<div class="refsect1" lang="en">
 
132
<div class="refsect1" title="Properties">
131
133
<a name="GimpEnumStore.properties"></a><h2>Properties</h2>
132
134
<pre class="synopsis">
133
135
  "<a class="link" href="GimpEnumStore.html#GimpEnumStore--enum-type" title='The "enum-type" property'>enum-type</a>"                <a
135
137
>GType</a>*                : Read / Write / Construct Only
136
138
</pre>
137
139
</div>
138
 
<div class="refsect1" lang="en">
 
140
<div class="refsect1" title="Description">
139
141
<a name="GimpEnumStore.description"></a><h2>Description</h2>
140
142
<p>
141
 
 
142
143
</p>
143
144
</div>
144
 
<div class="refsect1" lang="en">
 
145
<div class="refsect1" title="Details">
145
146
<a name="GimpEnumStore.details"></a><h2>Details</h2>
146
 
<div class="refsect2" lang="en">
 
147
<div class="refsect2" title="GimpEnumStore">
147
148
<a name="GimpEnumStore-struct"></a><h3>GimpEnumStore</h3>
148
149
<pre class="programlisting">typedef struct _GimpEnumStore GimpEnumStore;</pre>
149
150
<p>
150
 
 
151
151
</p>
152
152
</div>
153
153
<hr>
154
 
<div class="refsect2" lang="en">
 
154
<div class="refsect2" title="gimp_enum_store_new ()">
155
155
<a name="gimp-enum-store-new"></a><h3>gimp_enum_store_new ()</h3>
156
156
<pre class="programlisting"><a
157
 
href="/usr/share/gtk-doc/html/gtk/GtkListStore.html"
158
 
>GtkListStore</a>*       gimp_enum_store_new                 (<a
 
157
href="http://library.gnome.org/devel/gtk/unstable/GtkListStore.html"
 
158
>GtkListStore</a> *      gimp_enum_store_new                 (<a
159
159
href="http://library.gnome.org/devel/gobject/unstable/gobject-Type-Information.html#GType"
160
160
>GType</a> enum_type);</pre>
161
161
<p>
162
162
Creates a new <a class="link" href="GimpEnumStore.html" title="GimpEnumStore"><span class="type">GimpEnumStore</span></a>, derived from <a
163
 
href="/usr/share/gtk-doc/html/gtk/GtkListStore.html"
 
163
href="http://library.gnome.org/devel/gtk/unstable/GtkListStore.html"
164
164
><span class="type">GtkListStore</span></a> and fills
165
165
it with enum values. The enum needs to be registered to the type
166
166
system and should have translatable value names.</p>
167
167
<p>
168
 
 
169
168
</p>
170
169
<div class="variablelist"><table border="0">
171
170
<col align="left" valign="top">
185
184
</tr>
186
185
</tbody>
187
186
</table></div>
188
 
<p class="since">Since  GIMP 2.4
189
 
</p>
 
187
<p class="since">Since GIMP 2.4</p>
190
188
</div>
191
189
<hr>
192
 
<div class="refsect2" lang="en">
 
190
<div class="refsect2" title="gimp_enum_store_new_with_range ()">
193
191
<a name="gimp-enum-store-new-with-range"></a><h3>gimp_enum_store_new_with_range ()</h3>
194
192
<pre class="programlisting"><a
195
 
href="/usr/share/gtk-doc/html/gtk/GtkListStore.html"
196
 
>GtkListStore</a>*       gimp_enum_store_new_with_range      (<a
 
193
href="http://library.gnome.org/devel/gtk/unstable/GtkListStore.html"
 
194
>GtkListStore</a> *      gimp_enum_store_new_with_range      (<a
197
195
href="http://library.gnome.org/devel/gobject/unstable/gobject-Type-Information.html#GType"
198
196
>GType</a> enum_type,
199
197
                                                         <a
207
205
to limit the enum values to a certain range. Values smaller than
208
206
<em class="parameter"><code>minimum</code></em> or larger than <em class="parameter"><code>maximum</code></em> are not added to the store.</p>
209
207
<p>
210
 
 
211
208
</p>
212
209
<div class="variablelist"><table border="0">
213
210
<col align="left" valign="top">
237
234
</tr>
238
235
</tbody>
239
236
</table></div>
240
 
<p class="since">Since  GIMP 2.4
241
 
</p>
 
237
<p class="since">Since GIMP 2.4</p>
242
238
</div>
243
239
<hr>
244
 
<div class="refsect2" lang="en">
 
240
<div class="refsect2" title="gimp_enum_store_new_with_values ()">
245
241
<a name="gimp-enum-store-new-with-values"></a><h3>gimp_enum_store_new_with_values ()</h3>
246
242
<pre class="programlisting"><a
247
 
href="/usr/share/gtk-doc/html/gtk/GtkListStore.html"
248
 
>GtkListStore</a>*       gimp_enum_store_new_with_values     (<a
 
243
href="http://library.gnome.org/devel/gtk/unstable/GtkListStore.html"
 
244
>GtkListStore</a> *      gimp_enum_store_new_with_values     (<a
249
245
href="http://library.gnome.org/devel/gobject/unstable/gobject-Type-Information.html#GType"
250
246
>GType</a> enum_type,
251
247
                                                         <a
257
253
to expliticely list the enum values that should be added to the
258
254
store.</p>
259
255
<p>
260
 
 
261
256
</p>
262
257
<div class="variablelist"><table border="0">
263
258
<col align="left" valign="top">
287
282
</tr>
288
283
</tbody>
289
284
</table></div>
290
 
<p class="since">Since  GIMP 2.4
291
 
</p>
 
285
<p class="since">Since GIMP 2.4</p>
292
286
</div>
293
287
<hr>
294
 
<div class="refsect2" lang="en">
 
288
<div class="refsect2" title="gimp_enum_store_new_with_values_valist ()">
295
289
<a name="gimp-enum-store-new-with-values-valist"></a><h3>gimp_enum_store_new_with_values_valist ()</h3>
296
290
<pre class="programlisting"><a
297
 
href="/usr/share/gtk-doc/html/gtk/GtkListStore.html"
298
 
>GtkListStore</a>*       gimp_enum_store_new_with_values_valist
 
291
href="http://library.gnome.org/devel/gtk/unstable/GtkListStore.html"
 
292
>GtkListStore</a> *      gimp_enum_store_new_with_values_valist
299
293
                                                        (<a
300
294
href="http://library.gnome.org/devel/gobject/unstable/gobject-Type-Information.html#GType"
301
295
>GType</a> enum_type,
306
300
<p>
307
301
See <a class="link" href="GimpEnumStore.html#gimp-enum-store-new-with-values" title="gimp_enum_store_new_with_values ()"><code class="function">gimp_enum_store_new_with_values()</code></a>.</p>
308
302
<p>
309
 
 
310
303
</p>
311
304
<div class="variablelist"><table border="0">
312
305
<col align="left" valign="top">
336
329
</tr>
337
330
</tbody>
338
331
</table></div>
339
 
<p class="since">Since  GIMP 2.4
340
 
</p>
 
332
<p class="since">Since GIMP 2.4</p>
341
333
</div>
342
334
<hr>
343
 
<div class="refsect2" lang="en">
 
335
<div class="refsect2" title="gimp_enum_store_set_stock_prefix ()">
344
336
<a name="gimp-enum-store-set-stock-prefix"></a><h3>gimp_enum_store_set_stock_prefix ()</h3>
345
337
<pre class="programlisting">void                gimp_enum_store_set_stock_prefix    (<a class="link" href="GimpEnumStore.html" title="GimpEnumStore">GimpEnumStore</a> *store,
346
338
                                                         const <a
353
345
<p>
354
346
See also: <a class="link" href="GimpEnumComboBox.html#gimp-enum-combo-box-set-stock-prefix" title="gimp_enum_combo_box_set_stock_prefix ()"><code class="function">gimp_enum_combo_box_set_stock_prefix()</code></a>.</p>
355
347
<p>
356
 
 
357
348
</p>
358
349
<div class="variablelist"><table border="0">
359
350
<col align="left" valign="top">
370
361
</tr>
371
362
</tbody>
372
363
</table></div>
373
 
<p class="since">Since  GIMP 2.4
374
 
</p>
375
 
</div>
376
 
</div>
377
 
<div class="refsect1" lang="en">
 
364
<p class="since">Since GIMP 2.4</p>
 
365
</div>
 
366
</div>
 
367
<div class="refsect1" title="Property Details">
378
368
<a name="GimpEnumStore.property-details"></a><h2>Property Details</h2>
379
 
<div class="refsect2" lang="en">
 
369
<div class="refsect2" title='The "enum-type" property'>
380
370
<a name="GimpEnumStore--enum-type"></a><h3>The <code class="literal">"enum-type"</code> property</h3>
381
371
<pre class="programlisting">  "enum-type"                <a
382
372
href="http://library.gnome.org/devel/gobject/unstable/gobject-Type-Information.html#GType"
386
376
href="http://library.gnome.org/devel/gobject/unstable/gobject-Type-Information.html#GType"
387
377
><span class="type">GType</span></a> of the enum to be used in the store.</p>
388
378
<p>
389
 
 
390
 
</p>
391
 
<p>Since  GIMP 2.4
392
 
</p>
 
379
</p>
 
380
<p>Since GIMP 2.4</p>
393
381
</div>
394
382
</div>
395
383
</div>
396
384
<div class="footer">
397
385
<hr>
398
 
          Generated by GTK-Doc V1.10</div>
 
386
          Generated by GTK-Doc V1.11</div>
399
387
</body>
400
388
</html>