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

« back to all changes in this revision

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

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2008-10-10 00:13:42 UTC
  • mfrom: (1.1.16 upstream)
  • Revision ID: james.westby@ubuntu.com-20081010001342-uja9qine9uybggd9
Tags: 2.6.1-1ubuntu1
* Sync new bugfix version on debian (lp: #280345, #280848)
* debian/patches/02_help-message.patch,
  debian/patches/03_gimp.desktop.in.in.patch:
  - updated some strings for ubuntu
* debian/rules:
  - updated translation templates

Show diffs side-by-side

added added

removed removed

Lines of Context:
57
57
<a name="GimpEnumStore.synopsis"></a><h2>Synopsis</h2>
58
58
<pre class="synopsis">
59
59
                    <a class="link" href="GimpEnumStore.html#GimpEnumStore-struct" title="GimpEnumStore">GimpEnumStore</a>;
60
 
GtkListStore*       <a class="link" href="GimpEnumStore.html#gimp-enum-store-new" title="gimp_enum_store_new ()">gimp_enum_store_new</a>                 (GType enum_type);
61
 
GtkListStore*       <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>      (GType enum_type,
62
 
                                                         gint minimum,
63
 
                                                         gint maximum);
64
 
GtkListStore*       <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>     (GType enum_type,
65
 
                                                         gint n_values,
 
60
<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="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#GType"
 
64
>GType</a> enum_type);
 
65
<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="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#GType"
 
69
>GType</a> enum_type,
 
70
                                                         <a
 
71
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
 
72
>gint</a> minimum,
 
73
                                                         <a
 
74
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
 
75
>gint</a> maximum);
 
76
<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="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#GType"
 
80
>GType</a> enum_type,
 
81
                                                         <a
 
82
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
 
83
>gint</a> n_values,
66
84
                                                         ...);
67
 
GtkListStore*       <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>
68
 
                                                        (GType enum_type,
69
 
                                                         gint n_values,
 
85
<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
                                                        (<a
 
89
href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#GType"
 
90
>GType</a> enum_type,
 
91
                                                         <a
 
92
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
 
93
>gint</a> n_values,
70
94
                                                         va_list args);
71
95
void                <a class="link" href="GimpEnumStore.html#gimp-enum-store-set-stock-prefix" title="gimp_enum_store_set_stock_prefix ()">gimp_enum_store_set_stock_prefix</a>    (<a class="link" href="GimpEnumStore.html" title="GimpEnumStore">GimpEnumStore</a> *store,
72
 
                                                         const gchar *stock_prefix);
 
96
                                                         const <a
 
97
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
 
98
>gchar</a> *stock_prefix);
73
99
</pre>
74
100
</div>
75
101
<div class="refsect1" lang="en">
76
102
<a name="GimpEnumStore.object-hierarchy"></a><h2>Object Hierarchy</h2>
77
103
<pre class="synopsis">
78
 
  GObject
79
 
   +----GtkListStore
 
104
  <a
 
105
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"
 
106
>GObject</a>
 
107
   +----<a
 
108
href="/usr/share/gtk-doc/html/gtk/GtkListStore.html"
 
109
>GtkListStore</a>
80
110
         +----<a class="link" href="GimpIntStore.html" title="GimpIntStore">GimpIntStore</a>
81
111
               +----GimpEnumStore
82
112
</pre>
85
115
<a name="GimpEnumStore.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
86
116
<p>
87
117
GimpEnumStore implements
88
 
 GtkBuildable,  GtkTreeModel,  GtkTreeDragSource,  GtkTreeDragDest and  GtkTreeSortable.</p>
 
118
 <a
 
119
href="/usr/share/gtk-doc/html/gtk/gtk-gtkbuildable.html#GtkBuildable"
 
120
>GtkBuildable</a>,  <a
 
121
href="/usr/share/gtk-doc/html/gtk/GtkTreeModel.html"
 
122
>GtkTreeModel</a>,  <a
 
123
href="/usr/share/gtk-doc/html/gtk/gtk-GtkTreeView-drag-and-drop.html#GtkTreeDragSource"
 
124
>GtkTreeDragSource</a>,  <a
 
125
href="/usr/share/gtk-doc/html/gtk/gtk-GtkTreeView-drag-and-drop.html#GtkTreeDragDest"
 
126
>GtkTreeDragDest</a> and  <a
 
127
href="/usr/share/gtk-doc/html/gtk/GtkTreeSortable.html"
 
128
>GtkTreeSortable</a>.</p>
89
129
</div>
90
130
<div class="refsect1" lang="en">
91
131
<a name="GimpEnumStore.properties"></a><h2>Properties</h2>
92
132
<pre class="synopsis">
93
 
  "<a class="link" href="GimpEnumStore.html#GimpEnumStore--enum-type" title='The "enum-type" property'>enum-type</a>"                GType*                : Read / Write / Construct Only
 
133
  "<a class="link" href="GimpEnumStore.html#GimpEnumStore--enum-type" title='The "enum-type" property'>enum-type</a>"                <a
 
134
href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#GType"
 
135
>GType</a>*                : Read / Write / Construct Only
94
136
</pre>
95
137
</div>
96
138
<div class="refsect1" lang="en">
111
153
<hr>
112
154
<div class="refsect2" lang="en">
113
155
<a name="gimp-enum-store-new"></a><h3>gimp_enum_store_new ()</h3>
114
 
<pre class="programlisting">GtkListStore*       gimp_enum_store_new                 (GType enum_type);</pre>
 
156
<pre class="programlisting"><a
 
157
href="/usr/share/gtk-doc/html/gtk/GtkListStore.html"
 
158
>GtkListStore</a>*       gimp_enum_store_new                 (<a
 
159
href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#GType"
 
160
>GType</a> enum_type);</pre>
115
161
<p>
116
 
Creates a new <a class="link" href="GimpEnumStore.html" title="GimpEnumStore"><span class="type">GimpEnumStore</span></a>, derived from <span class="type">GtkListStore</span> and fills
 
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"
 
164
><span class="type">GtkListStore</span></a> and fills
117
165
it with enum values. The enum needs to be registered to the type
118
166
system and should have translatable value names.</p>
119
167
<p>
124
172
<tbody>
125
173
<tr>
126
174
<td><p><span class="term"><em class="parameter"><code>enum_type</code></em> :</span></p></td>
127
 
<td> the <span class="type">GType</span> of an enum.
 
175
<td> the <a
 
176
href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#GType"
 
177
><span class="type">GType</span></a> of an enum.
128
178
</td>
129
179
</tr>
130
180
<tr>
141
191
<hr>
142
192
<div class="refsect2" lang="en">
143
193
<a name="gimp-enum-store-new-with-range"></a><h3>gimp_enum_store_new_with_range ()</h3>
144
 
<pre class="programlisting">GtkListStore*       gimp_enum_store_new_with_range      (GType enum_type,
145
 
                                                         gint minimum,
146
 
                                                         gint maximum);</pre>
 
194
<pre class="programlisting"><a
 
195
href="/usr/share/gtk-doc/html/gtk/GtkListStore.html"
 
196
>GtkListStore</a>*       gimp_enum_store_new_with_range      (<a
 
197
href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#GType"
 
198
>GType</a> enum_type,
 
199
                                                         <a
 
200
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
 
201
>gint</a> minimum,
 
202
                                                         <a
 
203
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
 
204
>gint</a> maximum);</pre>
147
205
<p>
148
206
Creates a new <a class="link" href="GimpEnumStore.html" title="GimpEnumStore"><span class="type">GimpEnumStore</span></a> like <a class="link" href="GimpEnumStore.html#gimp-enum-store-new" title="gimp_enum_store_new ()"><code class="function">gimp_enum_store_new()</code></a> but allows
149
207
to limit the enum values to a certain range. Values smaller than
156
214
<tbody>
157
215
<tr>
158
216
<td><p><span class="term"><em class="parameter"><code>enum_type</code></em> :</span></p></td>
159
 
<td> the <span class="type">GType</span> of an enum.
 
217
<td> the <a
 
218
href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#GType"
 
219
><span class="type">GType</span></a> of an enum.
160
220
</td>
161
221
</tr>
162
222
<tr>
183
243
<hr>
184
244
<div class="refsect2" lang="en">
185
245
<a name="gimp-enum-store-new-with-values"></a><h3>gimp_enum_store_new_with_values ()</h3>
186
 
<pre class="programlisting">GtkListStore*       gimp_enum_store_new_with_values     (GType enum_type,
187
 
                                                         gint n_values,
 
246
<pre class="programlisting"><a
 
247
href="/usr/share/gtk-doc/html/gtk/GtkListStore.html"
 
248
>GtkListStore</a>*       gimp_enum_store_new_with_values     (<a
 
249
href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#GType"
 
250
>GType</a> enum_type,
 
251
                                                         <a
 
252
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
 
253
>gint</a> n_values,
188
254
                                                         ...);</pre>
189
255
<p>
190
256
Creates a new <a class="link" href="GimpEnumStore.html" title="GimpEnumStore"><span class="type">GimpEnumStore</span></a> like <a class="link" href="GimpEnumStore.html#gimp-enum-store-new" title="gimp_enum_store_new ()"><code class="function">gimp_enum_store_new()</code></a> but allows
198
264
<tbody>
199
265
<tr>
200
266
<td><p><span class="term"><em class="parameter"><code>enum_type</code></em> :</span></p></td>
201
 
<td> the <span class="type">GType</span> of an enum.
 
267
<td> the <a
 
268
href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#GType"
 
269
><span class="type">GType</span></a> of an enum.
202
270
</td>
203
271
</tr>
204
272
<tr>
225
293
<hr>
226
294
<div class="refsect2" lang="en">
227
295
<a name="gimp-enum-store-new-with-values-valist"></a><h3>gimp_enum_store_new_with_values_valist ()</h3>
228
 
<pre class="programlisting">GtkListStore*       gimp_enum_store_new_with_values_valist
229
 
                                                        (GType enum_type,
230
 
                                                         gint n_values,
 
296
<pre class="programlisting"><a
 
297
href="/usr/share/gtk-doc/html/gtk/GtkListStore.html"
 
298
>GtkListStore</a>*       gimp_enum_store_new_with_values_valist
 
299
                                                        (<a
 
300
href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#GType"
 
301
>GType</a> enum_type,
 
302
                                                         <a
 
303
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
 
304
>gint</a> n_values,
231
305
                                                         va_list args);</pre>
232
306
<p>
233
307
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>
239
313
<tbody>
240
314
<tr>
241
315
<td><p><span class="term"><em class="parameter"><code>enum_type</code></em> :</span></p></td>
242
 
<td> the <span class="type">GType</span> of an enum.
 
316
<td> the <a
 
317
href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#GType"
 
318
><span class="type">GType</span></a> of an enum.
243
319
</td>
244
320
</tr>
245
321
<tr>
267
343
<div class="refsect2" lang="en">
268
344
<a name="gimp-enum-store-set-stock-prefix"></a><h3>gimp_enum_store_set_stock_prefix ()</h3>
269
345
<pre class="programlisting">void                gimp_enum_store_set_stock_prefix    (<a class="link" href="GimpEnumStore.html" title="GimpEnumStore">GimpEnumStore</a> *store,
270
 
                                                         const gchar *stock_prefix);</pre>
 
346
                                                         const <a
 
347
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
 
348
>gchar</a> *stock_prefix);</pre>
271
349
<p>
272
350
Creates a stock ID for each enum value in the <em class="parameter"><code>store</code></em> by appending
273
351
the value's nick to the given <em class="parameter"><code>stock_prefix</code></em>, separated by a hyphen.
300
378
<a name="GimpEnumStore.property-details"></a><h2>Property Details</h2>
301
379
<div class="refsect2" lang="en">
302
380
<a name="GimpEnumStore--enum-type"></a><h3>The <code class="literal">"enum-type"</code> property</h3>
303
 
<pre class="programlisting">  "enum-type"                GType*                : Read / Write / Construct Only</pre>
 
381
<pre class="programlisting">  "enum-type"                <a
 
382
href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#GType"
 
383
>GType</a>*                : Read / Write / Construct Only</pre>
304
384
<p>
305
 
Sets the <span class="type">GType</span> of the enum to be used in the store.</p>
 
385
Sets the <a
 
386
href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#GType"
 
387
><span class="type">GType</span></a> of the enum to be used in the store.</p>
306
388
<p>
307
389
 
308
390
</p>