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

« back to all changes in this revision

Viewing changes to devel-docs/libgimpbase/html/libgimpbase-gimpbasetypes.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:
43
43
<pre class="synopsis">
44
44
                    <a class="link" href="libgimpbase-gimpbasetypes.html#GimpEnumDesc" title="GimpEnumDesc">GimpEnumDesc</a>;
45
45
                    <a class="link" href="libgimpbase-gimpbasetypes.html#GimpFlagsDesc" title="GimpFlagsDesc">GimpFlagsDesc</a>;
46
 
void                <a class="link" href="libgimpbase-gimpbasetypes.html#gimp-type-set-translation-domain" title="gimp_type_set_translation_domain ()">gimp_type_set_translation_domain</a>    (<a
47
 
href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#GType"
48
 
>GType</a> type,
49
 
                                                         const <a
50
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
51
 
>gchar</a> *domain);
52
 
const <a
53
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
54
 
>gchar</a>*        <a class="link" href="libgimpbase-gimpbasetypes.html#gimp-type-get-translation-domain" title="gimp_type_get_translation_domain ()">gimp_type_get_translation_domain</a>    (<a
55
 
href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#GType"
56
 
>GType</a> type);
57
 
void                <a class="link" href="libgimpbase-gimpbasetypes.html#gimp-enum-set-value-descriptions" title="gimp_enum_set_value_descriptions ()">gimp_enum_set_value_descriptions</a>    (<a
58
 
href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#GType"
59
 
>GType</a> enum_type,
 
46
void                <a class="link" href="libgimpbase-gimpbasetypes.html#gimp-type-set-translation-domain" title="gimp_type_set_translation_domain ()">gimp_type_set_translation_domain</a>    (GType type,
 
47
                                                         const gchar *domain);
 
48
const gchar*        <a class="link" href="libgimpbase-gimpbasetypes.html#gimp-type-get-translation-domain" title="gimp_type_get_translation_domain ()">gimp_type_get_translation_domain</a>    (GType type);
 
49
void                <a class="link" href="libgimpbase-gimpbasetypes.html#gimp-enum-set-value-descriptions" title="gimp_enum_set_value_descriptions ()">gimp_enum_set_value_descriptions</a>    (GType enum_type,
60
50
                                                         const <a class="link" href="libgimpbase-gimpbasetypes.html#GimpEnumDesc" title="GimpEnumDesc">GimpEnumDesc</a> *descriptions);
61
 
const <a class="link" href="libgimpbase-gimpbasetypes.html#GimpEnumDesc" title="GimpEnumDesc">GimpEnumDesc</a>* <a class="link" href="libgimpbase-gimpbasetypes.html#gimp-enum-get-value-descriptions" title="gimp_enum_get_value_descriptions ()">gimp_enum_get_value_descriptions</a>    (<a
62
 
href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#GType"
63
 
>GType</a> enum_type);
64
 
const <a class="link" href="libgimpbase-gimpbasetypes.html#GimpFlagsDesc" title="GimpFlagsDesc">GimpFlagsDesc</a>* <a class="link" href="libgimpbase-gimpbasetypes.html#gimp-flags-get-value-descriptions" title="gimp_flags_get_value_descriptions ()">gimp_flags_get_value_descriptions</a>  (<a
65
 
href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#GType"
66
 
>GType</a> flags_type);
67
 
void                <a class="link" href="libgimpbase-gimpbasetypes.html#gimp-flags-set-value-descriptions" title="gimp_flags_set_value_descriptions ()">gimp_flags_set_value_descriptions</a>   (<a
68
 
href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#GType"
69
 
>GType</a> flags_type,
 
51
const <a class="link" href="libgimpbase-gimpbasetypes.html#GimpEnumDesc" title="GimpEnumDesc">GimpEnumDesc</a>* <a class="link" href="libgimpbase-gimpbasetypes.html#gimp-enum-get-value-descriptions" title="gimp_enum_get_value_descriptions ()">gimp_enum_get_value_descriptions</a>    (GType enum_type);
 
52
const <a class="link" href="libgimpbase-gimpbasetypes.html#GimpFlagsDesc" title="GimpFlagsDesc">GimpFlagsDesc</a>* <a class="link" href="libgimpbase-gimpbasetypes.html#gimp-flags-get-value-descriptions" title="gimp_flags_get_value_descriptions ()">gimp_flags_get_value_descriptions</a>  (GType flags_type);
 
53
void                <a class="link" href="libgimpbase-gimpbasetypes.html#gimp-flags-set-value-descriptions" title="gimp_flags_set_value_descriptions ()">gimp_flags_set_value_descriptions</a>   (GType flags_type,
70
54
                                                         const <a class="link" href="libgimpbase-gimpbasetypes.html#GimpFlagsDesc" title="GimpFlagsDesc">GimpFlagsDesc</a> *descriptions);
71
55
</pre>
72
56
</div>
106
90
<hr>
107
91
<div class="refsect2" lang="en">
108
92
<a name="gimp-type-set-translation-domain"></a><h3>gimp_type_set_translation_domain ()</h3>
109
 
<pre class="programlisting">void                gimp_type_set_translation_domain    (<a
110
 
href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#GType"
111
 
>GType</a> type,
112
 
                                                         const <a
113
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
114
 
>gchar</a> *domain);</pre>
 
93
<pre class="programlisting">void                gimp_type_set_translation_domain    (GType type,
 
94
                                                         const gchar *domain);</pre>
115
95
<p>
116
96
This function attaches a constant string as a gettext translation
117
 
domain identifier to a <a
118
 
href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#GType"
119
 
><span class="type">GType</span></a>. The only purpose of this function is
 
97
domain identifier to a <span class="type">GType</span>. The only purpose of this function is
120
98
to use it when registering a <span class="type">GTypeEnum</span> with translatable value
121
99
names.</p>
122
100
<p>
127
105
<tbody>
128
106
<tr>
129
107
<td><p><span class="term"><em class="parameter"><code>type</code></em> :</span></p></td>
130
 
<td>   a <a
131
 
href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#GType"
132
 
><span class="type">GType</span></a>
 
108
<td>   a <span class="type">GType</span>
133
109
</td>
134
110
</tr>
135
111
<tr>
136
112
<td><p><span class="term"><em class="parameter"><code>domain</code></em> :</span></p></td>
137
 
<td> a constant string that identifies a translation domain or <a
138
 
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"
139
 
><code class="literal">NULL</code></a>
 
113
<td> a constant string that identifies a translation domain or <code class="literal">NULL</code>
140
114
</td>
141
115
</tr>
142
116
</tbody>
147
121
<hr>
148
122
<div class="refsect2" lang="en">
149
123
<a name="gimp-type-get-translation-domain"></a><h3>gimp_type_get_translation_domain ()</h3>
150
 
<pre class="programlisting">const <a
151
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
152
 
>gchar</a>*        gimp_type_get_translation_domain    (<a
153
 
href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#GType"
154
 
>GType</a> type);</pre>
 
124
<pre class="programlisting">const gchar*        gimp_type_get_translation_domain    (GType type);</pre>
155
125
<p>
156
126
Retrieves the gettext translation domain identifier that has been
157
127
previously set using <a class="link" href="libgimpbase-gimpbasetypes.html#gimp-type-set-translation-domain" title="gimp_type_set_translation_domain ()"><code class="function">gimp_type_set_translation_domain()</code></a>. You should
165
135
<tbody>
166
136
<tr>
167
137
<td><p><span class="term"><em class="parameter"><code>type</code></em> :</span></p></td>
168
 
<td> a <a
169
 
href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#GType"
170
 
><span class="type">GType</span></a>
 
138
<td> a <span class="type">GType</span>
171
139
</td>
172
140
</tr>
173
141
<tr>
174
142
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
175
143
<td> the translation domain associated with <em class="parameter"><code>type</code></em>
176
 
              or <a
177
 
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"
178
 
><code class="literal">NULL</code></a> if no domain was set
 
144
              or <code class="literal">NULL</code> if no domain was set
179
145
 
180
146
</td>
181
147
</tr>
187
153
<hr>
188
154
<div class="refsect2" lang="en">
189
155
<a name="gimp-enum-set-value-descriptions"></a><h3>gimp_enum_set_value_descriptions ()</h3>
190
 
<pre class="programlisting">void                gimp_enum_set_value_descriptions    (<a
191
 
href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#GType"
192
 
>GType</a> enum_type,
 
156
<pre class="programlisting">void                gimp_enum_set_value_descriptions    (GType enum_type,
193
157
                                                         const <a class="link" href="libgimpbase-gimpbasetypes.html#GimpEnumDesc" title="GimpEnumDesc">GimpEnumDesc</a> *descriptions);</pre>
194
158
<p>
195
159
Sets the array of human readable and translatable descriptions
202
166
<tbody>
203
167
<tr>
204
168
<td><p><span class="term"><em class="parameter"><code>enum_type</code></em> :</span></p></td>
205
 
<td>    a <a
206
 
href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#GType"
207
 
><span class="type">GType</span></a>
 
169
<td>    a <span class="type">GType</span>
208
170
</td>
209
171
</tr>
210
172
<tr>
211
173
<td><p><span class="term"><em class="parameter"><code>descriptions</code></em> :</span></p></td>
212
 
<td> a <a
213
 
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"
214
 
><code class="literal">NULL</code></a> terminated constant static array of <a class="link" href="libgimpbase-gimpbasetypes.html#GimpEnumDesc" title="GimpEnumDesc"><span class="type">GimpEnumDesc</span></a>
 
174
<td> a <code class="literal">NULL</code> terminated constant static array of <a class="link" href="libgimpbase-gimpbasetypes.html#GimpEnumDesc" title="GimpEnumDesc"><span class="type">GimpEnumDesc</span></a>
215
175
</td>
216
176
</tr>
217
177
</tbody>
222
182
<hr>
223
183
<div class="refsect2" lang="en">
224
184
<a name="gimp-enum-get-value-descriptions"></a><h3>gimp_enum_get_value_descriptions ()</h3>
225
 
<pre class="programlisting">const <a class="link" href="libgimpbase-gimpbasetypes.html#GimpEnumDesc" title="GimpEnumDesc">GimpEnumDesc</a>* gimp_enum_get_value_descriptions    (<a
226
 
href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#GType"
227
 
>GType</a> enum_type);</pre>
 
185
<pre class="programlisting">const <a class="link" href="libgimpbase-gimpbasetypes.html#GimpEnumDesc" title="GimpEnumDesc">GimpEnumDesc</a>* gimp_enum_get_value_descriptions    (GType enum_type);</pre>
228
186
<p>
229
187
Retreives the array of human readable and translatable descriptions
230
188
and help texts for enum values.</p>
236
194
<tbody>
237
195
<tr>
238
196
<td><p><span class="term"><em class="parameter"><code>enum_type</code></em> :</span></p></td>
239
 
<td> a <a
240
 
href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#GType"
241
 
><span class="type">GType</span></a>
 
197
<td> a <span class="type">GType</span>
242
198
</td>
243
199
</tr>
244
200
<tr>
245
201
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
246
 
<td> a <a
247
 
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"
248
 
><code class="literal">NULL</code></a> terminated constant array of <a class="link" href="libgimpbase-gimpbasetypes.html#GimpEnumDesc" title="GimpEnumDesc"><span class="type">GimpEnumDesc</span></a>
 
202
<td> a <code class="literal">NULL</code> terminated constant array of <a class="link" href="libgimpbase-gimpbasetypes.html#GimpEnumDesc" title="GimpEnumDesc"><span class="type">GimpEnumDesc</span></a>
249
203
 
250
204
</td>
251
205
</tr>
257
211
<hr>
258
212
<div class="refsect2" lang="en">
259
213
<a name="gimp-flags-get-value-descriptions"></a><h3>gimp_flags_get_value_descriptions ()</h3>
260
 
<pre class="programlisting">const <a class="link" href="libgimpbase-gimpbasetypes.html#GimpFlagsDesc" title="GimpFlagsDesc">GimpFlagsDesc</a>* gimp_flags_get_value_descriptions  (<a
261
 
href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#GType"
262
 
>GType</a> flags_type);</pre>
 
214
<pre class="programlisting">const <a class="link" href="libgimpbase-gimpbasetypes.html#GimpFlagsDesc" title="GimpFlagsDesc">GimpFlagsDesc</a>* gimp_flags_get_value_descriptions  (GType flags_type);</pre>
263
215
<p>
264
216
Retreives the array of human readable and translatable descriptions
265
217
and help texts for flags values.</p>
271
223
<tbody>
272
224
<tr>
273
225
<td><p><span class="term"><em class="parameter"><code>flags_type</code></em> :</span></p></td>
274
 
<td> a <a
275
 
href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#GType"
276
 
><span class="type">GType</span></a>
 
226
<td> a <span class="type">GType</span>
277
227
</td>
278
228
</tr>
279
229
<tr>
280
230
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
281
 
<td> a <a
282
 
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"
283
 
><code class="literal">NULL</code></a> terminated constant array of <a class="link" href="libgimpbase-gimpbasetypes.html#GimpFlagsDesc" title="GimpFlagsDesc"><span class="type">GimpFlagsDesc</span></a>
 
231
<td> a <code class="literal">NULL</code> terminated constant array of <a class="link" href="libgimpbase-gimpbasetypes.html#GimpFlagsDesc" title="GimpFlagsDesc"><span class="type">GimpFlagsDesc</span></a>
284
232
 
285
233
</td>
286
234
</tr>
292
240
<hr>
293
241
<div class="refsect2" lang="en">
294
242
<a name="gimp-flags-set-value-descriptions"></a><h3>gimp_flags_set_value_descriptions ()</h3>
295
 
<pre class="programlisting">void                gimp_flags_set_value_descriptions   (<a
296
 
href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#GType"
297
 
>GType</a> flags_type,
 
243
<pre class="programlisting">void                gimp_flags_set_value_descriptions   (GType flags_type,
298
244
                                                         const <a class="link" href="libgimpbase-gimpbasetypes.html#GimpFlagsDesc" title="GimpFlagsDesc">GimpFlagsDesc</a> *descriptions);</pre>
299
245
<p>
300
246
Sets the array of human readable and translatable descriptions
307
253
<tbody>
308
254
<tr>
309
255
<td><p><span class="term"><em class="parameter"><code>flags_type</code></em> :</span></p></td>
310
 
<td>   a <a
311
 
href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#GType"
312
 
><span class="type">GType</span></a>
 
256
<td>   a <span class="type">GType</span>
313
257
</td>
314
258
</tr>
315
259
<tr>
316
260
<td><p><span class="term"><em class="parameter"><code>descriptions</code></em> :</span></p></td>
317
 
<td> a <a
318
 
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"
319
 
><code class="literal">NULL</code></a> terminated constant static array of <a class="link" href="libgimpbase-gimpbasetypes.html#GimpFlagsDesc" title="GimpFlagsDesc"><span class="type">GimpFlagsDesc</span></a>
 
261
<td> a <code class="literal">NULL</code> terminated constant static array of <a class="link" href="libgimpbase-gimpbasetypes.html#GimpFlagsDesc" title="GimpFlagsDesc"><span class="type">GimpFlagsDesc</span></a>
320
262
</td>
321
263
</tr>
322
264
</tbody>