47
47
>gchar</a>* <a class="link" href="libgimpbase-gimputils.html#gimp-any-to-utf8" title="gimp_any_to_utf8 ()">gimp_any_to_utf8</a> (const <a
48
48
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
51
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gssize"
52
54
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
53
55
>gchar</a> *warning_format,
181
183
>gchar</a>* gimp_any_to_utf8 (const <a
182
184
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
187
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gssize"
186
190
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
187
191
>gchar</a> *warning_format,
303
307
<td><p><span class="term"><em class="parameter"><code>str</code></em> :</span></p></td>
304
<td> an UTF-8 encoded string (or <a
305
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"
306
><code class="literal">NULL</code></a>)
308
<td> an UTF-8 encoded string (or <code class="literal">NULL</code>)
346
348
<td><p><span class="term"><em class="parameter"><code>str</code></em> :</span></p></td>
347
<td> Underline infested string (or <a
348
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"
349
><code class="literal">NULL</code></a>)
349
<td> Underline infested string (or <code class="literal">NULL</code>)
391
391
<td><p><span class="term"><em class="parameter"><code>str</code></em> :</span></p></td>
392
<td> underline infested string (or <a
393
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"
394
><code class="literal">NULL</code></a>)
392
<td> underline infested string (or <code class="literal">NULL</code>)
456
454
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
457
455
>gint</a> value);</pre>
459
Retrieves <a class="link" href="libgimpbase-gimpbasetypes.html#GimpEnumDesc" title="GimpEnumDesc"><span class="type">GimpEnumDesc</span></a> associated with the given value, or <a
460
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"
461
><code class="literal">NULL</code></a>.</p>
457
Retrieves <a class="link" href="libgimpbase-gimpbasetypes.html#GimpEnumDesc" title="GimpEnumDesc"><span class="type">GimpEnumDesc</span></a> associated with the given value, or <code class="literal">NULL</code>.</p>
515
511
Checks if <em class="parameter"><code>value</code></em> is valid for the enum registered as <em class="parameter"><code>enum_type</code></em>.
516
512
If the value exists in that enum, its name, nick and its translated
517
513
desc and help are returned (if <em class="parameter"><code>value_name</code></em>, <em class="parameter"><code>value_nick</code></em>, <em class="parameter"><code>value_desc</code></em>
518
and <em class="parameter"><code>value_help</code></em> are not <a
519
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"
520
><code class="literal">NULL</code></a>).</p>
514
and <em class="parameter"><code>value_help</code></em> are not <code class="literal">NULL</code>).</p>
540
534
<td><p><span class="term"><em class="parameter"><code>value_name</code></em> :</span></p></td>
541
<td> return location for the value's name (or <a
542
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"
543
><code class="literal">NULL</code></a>)
535
<td> return location for the value's name (or <code class="literal">NULL</code>)
547
539
<td><p><span class="term"><em class="parameter"><code>value_nick</code></em> :</span></p></td>
548
<td> return location for the value's nick (or <a
549
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"
550
><code class="literal">NULL</code></a>)
540
<td> return location for the value's nick (or <code class="literal">NULL</code>)
554
544
<td><p><span class="term"><em class="parameter"><code>value_desc</code></em> :</span></p></td>
555
<td> return location for the value's translated desc (or <a
556
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"
557
><code class="literal">NULL</code></a>)
545
<td> return location for the value's translated desc (or <code class="literal">NULL</code>)
561
549
<td><p><span class="term"><em class="parameter"><code>value_help</code></em> :</span></p></td>
562
<td> return location for the value's translated help (or <a
563
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"
564
><code class="literal">NULL</code></a>)
550
<td> return location for the value's translated help (or <code class="literal">NULL</code>)
568
554
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
570
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"
571
><code class="literal">TRUE</code></a> if <em class="parameter"><code>value</code></em> is valid for the <em class="parameter"><code>enum_type</code></em>,
573
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"
574
><code class="literal">FALSE</code></a> otherwise
555
<td> <code class="literal">TRUE</code> if <em class="parameter"><code>value</code></em> is valid for the <em class="parameter"><code>enum_type</code></em>,
556
<code class="literal">FALSE</code> otherwise
678
660
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
679
661
>guint</a> value);</pre>
681
Retrieves the first <a class="link" href="libgimpbase-gimpbasetypes.html#GimpFlagsDesc" title="GimpFlagsDesc"><span class="type">GimpFlagsDesc</span></a> that matches the given value, or <a
682
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"
683
><code class="literal">NULL</code></a>.</p>
663
Retrieves the first <a class="link" href="libgimpbase-gimpbasetypes.html#GimpFlagsDesc" title="GimpFlagsDesc"><span class="type">GimpFlagsDesc</span></a> that matches the given value, or <code class="literal">NULL</code>.</p>
737
717
Checks if <em class="parameter"><code>value</code></em> is valid for the flags registered as <em class="parameter"><code>flags_type</code></em>.
738
718
If the value exists in that flags, its name, nick and its translated
739
719
desc and help are returned (if <em class="parameter"><code>value_name</code></em>, <em class="parameter"><code>value_nick</code></em>, <em class="parameter"><code>value_desc</code></em>
740
and <em class="parameter"><code>value_help</code></em> are not <a
741
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"
742
><code class="literal">NULL</code></a>).</p>
720
and <em class="parameter"><code>value_help</code></em> are not <code class="literal">NULL</code>).</p>
762
740
<td><p><span class="term"><em class="parameter"><code>value_name</code></em> :</span></p></td>
763
<td> return location for the value's name (or <a
764
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"
765
><code class="literal">NULL</code></a>)
741
<td> return location for the value's name (or <code class="literal">NULL</code>)
769
745
<td><p><span class="term"><em class="parameter"><code>value_nick</code></em> :</span></p></td>
770
<td> return location for the value's nick (or <a
771
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"
772
><code class="literal">NULL</code></a>)
746
<td> return location for the value's nick (or <code class="literal">NULL</code>)
776
750
<td><p><span class="term"><em class="parameter"><code>value_desc</code></em> :</span></p></td>
777
<td> return location for the value's translated desc (or <a
778
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"
779
><code class="literal">NULL</code></a>)
751
<td> return location for the value's translated desc (or <code class="literal">NULL</code>)
783
755
<td><p><span class="term"><em class="parameter"><code>value_help</code></em> :</span></p></td>
784
<td> return location for the value's translated help (or <a
785
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"
786
><code class="literal">NULL</code></a>)
756
<td> return location for the value's translated help (or <code class="literal">NULL</code>)
790
760
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
792
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"
793
><code class="literal">TRUE</code></a> if <em class="parameter"><code>value</code></em> is valid for the <em class="parameter"><code>flags_type</code></em>,
795
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"
796
><code class="literal">FALSE</code></a> otherwise
761
<td> <code class="literal">TRUE</code> if <em class="parameter"><code>value</code></em> is valid for the <em class="parameter"><code>flags_type</code></em>,
762
<code class="literal">FALSE</code> otherwise