Imported Upstream version 2.4.0~rc2

This commit is contained in:
Ari Pollak
2010-08-11 01:22:44 -04:00
parent d884b2912c
commit 4be5597e32
576 changed files with 70261 additions and 80724 deletions

View File

@ -3,7 +3,7 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>GIMP Base Library Reference Manual</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.72.0">
<meta name="generator" content="DocBook XSL Stylesheets V1.73.2">
<link rel="start" href="index.html" title="GIMP Base Library Reference Manual">
<link rel="next" href="libgimpbase.html" title="Part&#160;I.&#160;GIMP Base Library">
<meta name="generator" content="GTK-Doc V1.8 (XML mode)">
@ -19,7 +19,7 @@
<div>
<div><table class="navigation" id="top" width="100%" cellpadding="2" cellspacing="0"><tr><th valign="middle"><p class="title">GIMP Base Library Reference Manual</p></th></tr></table></div>
<div><p class="releaseinfo">
for GIMP 2.4.0-rc1
for GIMP 2.4.0-rc2
</p></div>
</div>
@ -42,9 +42,7 @@ capabilities.</span>
<span class="refentrytitle"><a href="libgimpbase-gimplimits.html">gimplimits</a></span><span class="refpurpose"> &#8212; Boundaries of some GIMP data types and some global constants.</span>
</dt>
<dt>
<span class="refentrytitle"><a href="libgimpbase-gimpparam.html">gimpparam</a></span><span class="refpurpose"> &#8212; Definitions of useful <a
href="../gobject/gobject-GParamSpec.html#GParamFlags"
><span class="type">GParamFlags</span></a>.</span>
<span class="refentrytitle"><a href="libgimpbase-gimpparam.html">gimpparam</a></span><span class="refpurpose"> &#8212; Definitions of useful <span class="type">GParamFlags</span>.</span>
</dt>
<dt>
<span class="refentrytitle"><a href="libgimpbase-gimpchecks.html">gimpchecks</a></span><span class="refpurpose"> &#8212; Constants and functions related to rendering checkerboards.</span>
@ -68,7 +66,7 @@ href="../gobject/gobject-GParamSpec.html#GParamFlags"
<span class="refentrytitle"><a href="libgimpbase-gimpparasite.html">gimpparasite</a></span><span class="refpurpose"> &#8212; Arbitrary pieces of data which can be attached to various GIMP objects.</span>
</dt>
<dt>
<span class="refentrytitle"><a href="libgimpbase-gimpparasiteio.html">gimpparasiteio</a></span><span class="refpurpose"> &#8212; Utility functions to (de)serialize certain C structures to/from <a href="libgimpbase-gimpparasite.html#GimpParasite"><span class="type">GimpParasite</span></a>'s.</span>
<span class="refentrytitle"><a href="libgimpbase-gimpparasiteio.html">gimpparasiteio</a></span><span class="refpurpose"> &#8212; Utility functions to (de)serialize certain C structures to/from <a class="link" href="libgimpbase-gimpparasite.html#GimpParasite"><span class="type">GimpParasite</span></a>'s.</span>
</dt>
<dt>
<span class="refentrytitle"><a href="libgimpbase-gimpsignal.html">gimpsignal</a></span><span class="refpurpose"> &#8212; Portable signal handling.</span>

View File

@ -3,7 +3,7 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>gimpbaseenums</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.72.0">
<meta name="generator" content="DocBook XSL Stylesheets V1.73.2">
<link rel="start" href="index.html" title="GIMP Base Library Reference Manual">
<link rel="up" href="libgimpbase.html" title="Part&#160;I.&#160;GIMP Base Library">
<link rel="prev" href="libgimpbase.html" title="Part&#160;I.&#160;GIMP Base Library">
@ -25,16 +25,16 @@
<th width="100%" align="center">GIMP Base Library Reference Manual</th>
<td><a accesskey="n" href="libgimpbase-gimpbasetypes.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2583934" class="shortcut">Top</a>
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2601099" class="shortcut">Top</a>
&#160;|&#160;
<a href="#id2532984" class="shortcut">Description</a></nobr></td></tr>
<a href="#id2550141" class="shortcut">Description</a></nobr></td></tr>
</table>
<div class="refentry" lang="en">
<a name="libgimpbase-gimpbaseenums"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2>
<a name="id2583934"></a><span class="refentrytitle">gimpbaseenums</span>
<a name="id2601099"></a><span class="refentrytitle">gimpbaseenums</span>
</h2>
<p>gimpbaseenums &#8212; Basic GIMP enumeration data types.</p>
</td>
@ -46,53 +46,53 @@
enum <a href="libgimpbase-gimpbaseenums.html#GimpAddMaskType">GimpAddMaskType</a>;
enum <a href="libgimpbase-gimpbaseenums.html#GimpBlendMode">GimpBlendMode</a>;
enum <a href="libgimpbase-gimpbaseenums.html#GimpBucketFillMode">GimpBucketFillMode</a>;
enum <a href="libgimpbase-gimpbaseenums.html#GimpChannelOps">GimpChannelOps</a>;
enum <a href="libgimpbase-gimpbaseenums.html#GimpChannelType">GimpChannelType</a>;
enum <a href="libgimpbase-gimpbaseenums.html#GimpCheckSize">GimpCheckSize</a>;
enum <a href="libgimpbase-gimpbaseenums.html#GimpCheckType">GimpCheckType</a>;
enum <a href="libgimpbase-gimpbaseenums.html#GimpCloneType">GimpCloneType</a>;
enum <a href="libgimpbase-gimpbaseenums.html#GimpDesaturateMode">GimpDesaturateMode</a>;
enum <a href="libgimpbase-gimpbaseenums.html#GimpDodgeBurnType">GimpDodgeBurnType</a>;
enum <a href="libgimpbase-gimpbaseenums.html#GimpForegroundExtractMode">GimpForegroundExtractMode</a>;
enum <a href="libgimpbase-gimpbaseenums.html#GimpGradientType">GimpGradientType</a>;
enum <a href="libgimpbase-gimpbaseenums.html#GimpGridStyle">GimpGridStyle</a>;
enum <a href="libgimpbase-gimpbaseenums.html#GimpIconType">GimpIconType</a>;
enum <a href="libgimpbase-gimpbaseenums.html#GimpImageBaseType">GimpImageBaseType</a>;
enum <a href="libgimpbase-gimpbaseenums.html#GimpImageType">GimpImageType</a>;
enum <a href="libgimpbase-gimpbaseenums.html#GimpInterpolationType">GimpInterpolationType</a>;
enum <a href="libgimpbase-gimpbaseenums.html#GimpMessageHandlerType">GimpMessageHandlerType</a>;
enum <a href="libgimpbase-gimpbaseenums.html#GimpPaintApplicationMode">GimpPaintApplicationMode</a>;
enum <a href="libgimpbase-gimpbaseenums.html#GimpPDBArgType">GimpPDBArgType</a>;
enum <a href="libgimpbase-gimpbaseenums.html#GimpPDBProcType">GimpPDBProcType</a>;
enum <a href="libgimpbase-gimpbaseenums.html#GimpPDBStatusType">GimpPDBStatusType</a>;
enum <a href="libgimpbase-gimpbaseenums.html#GimpProgressCommand">GimpProgressCommand</a>;
enum <a href="libgimpbase-gimpbaseenums.html#GimpRepeatMode">GimpRepeatMode</a>;
enum <a href="libgimpbase-gimpbaseenums.html#GimpRunMode">GimpRunMode</a>;
enum <a href="libgimpbase-gimpbaseenums.html#GimpSizeType">GimpSizeType</a>;
enum <a href="libgimpbase-gimpbaseenums.html#GimpStackTraceMode">GimpStackTraceMode</a>;
enum <a href="libgimpbase-gimpbaseenums.html#GimpTransferMode">GimpTransferMode</a>;
enum <a href="libgimpbase-gimpbaseenums.html#GimpTransformDirection">GimpTransformDirection</a>;
enum <a href="libgimpbase-gimpbaseenums.html#GimpTransformResize">GimpTransformResize</a>;
enum <a href="libgimpbase-gimpbaseenums.html#GimpUserDirectory">GimpUserDirectory</a>;
enum <a href="libgimpbase-gimpbaseenums.html#GimpVectorsStrokeType">GimpVectorsStrokeType</a>;
enum <a class="link" href="libgimpbase-gimpbaseenums.html#GimpAddMaskType">GimpAddMaskType</a>;
enum <a class="link" href="libgimpbase-gimpbaseenums.html#GimpBlendMode">GimpBlendMode</a>;
enum <a class="link" href="libgimpbase-gimpbaseenums.html#GimpBucketFillMode">GimpBucketFillMode</a>;
enum <a class="link" href="libgimpbase-gimpbaseenums.html#GimpChannelOps">GimpChannelOps</a>;
enum <a class="link" href="libgimpbase-gimpbaseenums.html#GimpChannelType">GimpChannelType</a>;
enum <a class="link" href="libgimpbase-gimpbaseenums.html#GimpCheckSize">GimpCheckSize</a>;
enum <a class="link" href="libgimpbase-gimpbaseenums.html#GimpCheckType">GimpCheckType</a>;
enum <a class="link" href="libgimpbase-gimpbaseenums.html#GimpCloneType">GimpCloneType</a>;
enum <a class="link" href="libgimpbase-gimpbaseenums.html#GimpDesaturateMode">GimpDesaturateMode</a>;
enum <a class="link" href="libgimpbase-gimpbaseenums.html#GimpDodgeBurnType">GimpDodgeBurnType</a>;
enum <a class="link" href="libgimpbase-gimpbaseenums.html#GimpForegroundExtractMode">GimpForegroundExtractMode</a>;
enum <a class="link" href="libgimpbase-gimpbaseenums.html#GimpGradientType">GimpGradientType</a>;
enum <a class="link" href="libgimpbase-gimpbaseenums.html#GimpGridStyle">GimpGridStyle</a>;
enum <a class="link" href="libgimpbase-gimpbaseenums.html#GimpIconType">GimpIconType</a>;
enum <a class="link" href="libgimpbase-gimpbaseenums.html#GimpImageBaseType">GimpImageBaseType</a>;
enum <a class="link" href="libgimpbase-gimpbaseenums.html#GimpImageType">GimpImageType</a>;
enum <a class="link" href="libgimpbase-gimpbaseenums.html#GimpInterpolationType">GimpInterpolationType</a>;
enum <a class="link" href="libgimpbase-gimpbaseenums.html#GimpMessageHandlerType">GimpMessageHandlerType</a>;
enum <a class="link" href="libgimpbase-gimpbaseenums.html#GimpPaintApplicationMode">GimpPaintApplicationMode</a>;
enum <a class="link" href="libgimpbase-gimpbaseenums.html#GimpPDBArgType">GimpPDBArgType</a>;
enum <a class="link" href="libgimpbase-gimpbaseenums.html#GimpPDBProcType">GimpPDBProcType</a>;
enum <a class="link" href="libgimpbase-gimpbaseenums.html#GimpPDBStatusType">GimpPDBStatusType</a>;
enum <a class="link" href="libgimpbase-gimpbaseenums.html#GimpProgressCommand">GimpProgressCommand</a>;
enum <a class="link" href="libgimpbase-gimpbaseenums.html#GimpRepeatMode">GimpRepeatMode</a>;
enum <a class="link" href="libgimpbase-gimpbaseenums.html#GimpRunMode">GimpRunMode</a>;
enum <a class="link" href="libgimpbase-gimpbaseenums.html#GimpSizeType">GimpSizeType</a>;
enum <a class="link" href="libgimpbase-gimpbaseenums.html#GimpStackTraceMode">GimpStackTraceMode</a>;
enum <a class="link" href="libgimpbase-gimpbaseenums.html#GimpTransferMode">GimpTransferMode</a>;
enum <a class="link" href="libgimpbase-gimpbaseenums.html#GimpTransformDirection">GimpTransformDirection</a>;
enum <a class="link" href="libgimpbase-gimpbaseenums.html#GimpTransformResize">GimpTransformResize</a>;
enum <a class="link" href="libgimpbase-gimpbaseenums.html#GimpUserDirectory">GimpUserDirectory</a>;
enum <a class="link" href="libgimpbase-gimpbaseenums.html#GimpVectorsStrokeType">GimpVectorsStrokeType</a>;
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2532984"></a><h2>Description</h2>
<a name="id2550141"></a><h2>Description</h2>
<p>
Basic GIMP enumeration data types.
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2532999"></a><h2>Details</h2>
<a name="id2550157"></a><h2>Details</h2>
<div class="refsect2" lang="en">
<a name="id2533010"></a><h3>
<a name="id2550167"></a><h3>
<a name="GimpAddMaskType"></a>enum GimpAddMaskType</h3>
<a class="indexterm" name="id2533022"></a><pre class="programlisting">typedef enum
<a class="indexterm" name="id2550180"></a><pre class="programlisting">typedef enum
{
GIMP_ADD_WHITE_MASK, /*&lt; desc="_White (full opacity)" &gt;*/
GIMP_ADD_BLACK_MASK, /*&lt; desc="_Black (full transparency)" &gt;*/
@ -109,9 +109,9 @@ Basic GIMP enumeration data types.
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2583105"></a><h3>
<a name="id2586210"></a><h3>
<a name="GimpBlendMode"></a>enum GimpBlendMode</h3>
<a class="indexterm" name="id2571729"></a><pre class="programlisting">typedef enum
<a class="indexterm" name="id2602080"></a><pre class="programlisting">typedef enum
{
GIMP_FG_BG_RGB_MODE, /*&lt; desc="FG to BG (RGB)" &gt;*/
GIMP_FG_BG_HSV_MODE, /*&lt; desc="FG to BG (HSV)" &gt;*/
@ -125,9 +125,9 @@ Basic GIMP enumeration data types.
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2533052"></a><h3>
<a name="id2550209"></a><h3>
<a name="GimpBucketFillMode"></a>enum GimpBucketFillMode</h3>
<a class="indexterm" name="id2533064"></a><pre class="programlisting">typedef enum
<a class="indexterm" name="id2550222"></a><pre class="programlisting">typedef enum
{
GIMP_FG_BUCKET_FILL, /*&lt; desc="FG color fill" &gt;*/
GIMP_BG_BUCKET_FILL, /*&lt; desc="BG color fill" &gt;*/
@ -140,9 +140,9 @@ Basic GIMP enumeration data types.
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2533083"></a><h3>
<a name="id2550240"></a><h3>
<a name="GimpChannelOps"></a>enum GimpChannelOps</h3>
<a class="indexterm" name="id2533095"></a><pre class="programlisting">typedef enum
<a class="indexterm" name="id2550253"></a><pre class="programlisting">typedef enum
{
GIMP_CHANNEL_OP_ADD, /*&lt; desc="Add to the current selection" &gt;*/
GIMP_CHANNEL_OP_SUBTRACT, /*&lt; desc="Subtract from the current selection" &gt;*/
@ -156,9 +156,9 @@ Basic GIMP enumeration data types.
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2533117"></a><h3>
<a name="id2550274"></a><h3>
<a name="GimpChannelType"></a>enum GimpChannelType</h3>
<a class="indexterm" name="id2584354"></a><pre class="programlisting">typedef enum
<a class="indexterm" name="id2599828"></a><pre class="programlisting">typedef enum
{
GIMP_RED_CHANNEL, /*&lt; desc="Red" &gt;*/
GIMP_GREEN_CHANNEL, /*&lt; desc="Green" &gt;*/
@ -174,9 +174,9 @@ Basic GIMP enumeration data types.
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2575052"></a><h3>
<a name="id2592214"></a><h3>
<a name="GimpCheckSize"></a>enum GimpCheckSize</h3>
<a class="indexterm" name="id2575064"></a><pre class="programlisting">typedef enum /*&lt; pdb-skip &gt;*/
<a class="indexterm" name="id2592226"></a><pre class="programlisting">typedef enum /*&lt; pdb-skip &gt;*/
{
GIMP_CHECK_SIZE_SMALL_CHECKS = 0, /*&lt; desc="Small" &gt;*/
GIMP_CHECK_SIZE_MEDIUM_CHECKS = 1, /*&lt; desc="Medium" &gt;*/
@ -189,9 +189,9 @@ Basic GIMP enumeration data types.
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2575084"></a><h3>
<a name="id2592246"></a><h3>
<a name="GimpCheckType"></a>enum GimpCheckType</h3>
<a class="indexterm" name="id2575096"></a><pre class="programlisting">typedef enum /*&lt; pdb-skip &gt;*/
<a class="indexterm" name="id2592258"></a><pre class="programlisting">typedef enum /*&lt; pdb-skip &gt;*/
{
GIMP_CHECK_TYPE_LIGHT_CHECKS = 0, /*&lt; desc="Light checks" &gt;*/
GIMP_CHECK_TYPE_GRAY_CHECKS = 1, /*&lt; desc="Mid-tone checks" &gt;*/
@ -207,9 +207,9 @@ Basic GIMP enumeration data types.
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2575119"></a><h3>
<a name="id2592281"></a><h3>
<a name="GimpCloneType"></a>enum GimpCloneType</h3>
<a class="indexterm" name="id2575132"></a><pre class="programlisting">typedef enum
<a class="indexterm" name="id2592294"></a><pre class="programlisting">typedef enum
{
GIMP_IMAGE_CLONE, /*&lt; desc="Image" &gt;*/
GIMP_PATTERN_CLONE /*&lt; desc="Pattern" &gt;*/
@ -221,9 +221,9 @@ Basic GIMP enumeration data types.
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2575149"></a><h3>
<a name="id2592311"></a><h3>
<a name="GimpDesaturateMode"></a>enum GimpDesaturateMode</h3>
<a class="indexterm" name="id2575162"></a><pre class="programlisting">typedef enum
<a class="indexterm" name="id2592324"></a><pre class="programlisting">typedef enum
{
GIMP_DESATURATE_LIGHTNESS, /*&lt; desc="Lightness" &gt;*/
GIMP_DESATURATE_LUMINOSITY, /*&lt; desc="Luminosity" &gt;*/
@ -236,9 +236,9 @@ Basic GIMP enumeration data types.
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2575180"></a><h3>
<a name="id2592342"></a><h3>
<a name="GimpDodgeBurnType"></a>enum GimpDodgeBurnType</h3>
<a class="indexterm" name="id2575193"></a><pre class="programlisting">typedef enum
<a class="indexterm" name="id2592355"></a><pre class="programlisting">typedef enum
{
GIMP_DODGE, /*&lt; desc="Dodge" &gt;*/
GIMP_BURN /*&lt; desc="Burn" &gt;*/
@ -250,9 +250,9 @@ Basic GIMP enumeration data types.
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2575210"></a><h3>
<a name="id2592372"></a><h3>
<a name="GimpForegroundExtractMode"></a>enum GimpForegroundExtractMode</h3>
<a class="indexterm" name="id2575221"></a><pre class="programlisting">typedef enum
<a class="indexterm" name="id2592383"></a><pre class="programlisting">typedef enum
{
GIMP_FOREGROUND_EXTRACT_SIOX
} GimpForegroundExtractMode;
@ -263,9 +263,9 @@ Basic GIMP enumeration data types.
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2575237"></a><h3>
<a name="id2592399"></a><h3>
<a name="GimpGradientType"></a>enum GimpGradientType</h3>
<a class="indexterm" name="id2575250"></a><pre class="programlisting">typedef enum
<a class="indexterm" name="id2592412"></a><pre class="programlisting">typedef enum
{
GIMP_GRADIENT_LINEAR, /*&lt; desc="gradient|Linear" &gt;*/
GIMP_GRADIENT_BILINEAR, /*&lt; desc="Bi-linear" &gt;*/
@ -286,9 +286,9 @@ Basic GIMP enumeration data types.
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2575279"></a><h3>
<a name="id2592441"></a><h3>
<a name="GimpGridStyle"></a>enum GimpGridStyle</h3>
<a class="indexterm" name="id2510486"></a><pre class="programlisting">typedef enum
<a class="indexterm" name="id2527730"></a><pre class="programlisting">typedef enum
{
GIMP_GRID_DOTS, /*&lt; desc="Intersections (dots)" &gt;*/
GIMP_GRID_INTERSECTIONS, /*&lt; desc="Intersections (crosshairs)" &gt;*/
@ -303,9 +303,9 @@ Basic GIMP enumeration data types.
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2510508"></a><h3>
<a name="id2527752"></a><h3>
<a name="GimpIconType"></a>enum GimpIconType</h3>
<a class="indexterm" name="id2510520"></a><pre class="programlisting">typedef enum
<a class="indexterm" name="id2527765"></a><pre class="programlisting">typedef enum
{
GIMP_ICON_TYPE_STOCK_ID, /*&lt; desc="Stock ID" &gt;*/
GIMP_ICON_TYPE_INLINE_PIXBUF, /*&lt; desc="Inline pixbuf" &gt;*/
@ -318,9 +318,9 @@ Basic GIMP enumeration data types.
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2510539"></a><h3>
<a name="id2527784"></a><h3>
<a name="GimpImageBaseType"></a>enum GimpImageBaseType</h3>
<a class="indexterm" name="id2510552"></a><pre class="programlisting">typedef enum
<a class="indexterm" name="id2527796"></a><pre class="programlisting">typedef enum
{
GIMP_RGB, /*&lt; desc="RGB color" &gt;*/
GIMP_GRAY, /*&lt; desc="Grayscale" &gt;*/
@ -333,9 +333,9 @@ Basic GIMP enumeration data types.
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2510570"></a><h3>
<a name="id2527814"></a><h3>
<a name="GimpImageType"></a>enum GimpImageType</h3>
<a class="indexterm" name="id2510582"></a><pre class="programlisting">typedef enum
<a class="indexterm" name="id2527827"></a><pre class="programlisting">typedef enum
{
GIMP_RGB_IMAGE, /*&lt; desc="RGB" &gt;*/
GIMP_RGBA_IMAGE, /*&lt; desc="RGB-alpha" &gt;*/
@ -351,9 +351,9 @@ Basic GIMP enumeration data types.
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2510604"></a><h3>
<a name="id2527848"></a><h3>
<a name="GimpInterpolationType"></a>enum GimpInterpolationType</h3>
<a class="indexterm" name="id2510615"></a><pre class="programlisting">typedef enum
<a class="indexterm" name="id2527859"></a><pre class="programlisting">typedef enum
{
GIMP_INTERPOLATION_NONE, /*&lt; desc="interpolation|None" &gt;*/
GIMP_INTERPOLATION_LINEAR, /*&lt; desc="interpolation|Linear" &gt;*/
@ -367,9 +367,9 @@ Basic GIMP enumeration data types.
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2510635"></a><h3>
<a name="id2527880"></a><h3>
<a name="GimpMessageHandlerType"></a>enum GimpMessageHandlerType</h3>
<a class="indexterm" name="id2510646"></a><pre class="programlisting">typedef enum
<a class="indexterm" name="id2527891"></a><pre class="programlisting">typedef enum
{
GIMP_MESSAGE_BOX,
GIMP_CONSOLE,
@ -382,9 +382,9 @@ Basic GIMP enumeration data types.
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2510663"></a><h3>
<a name="id2527908"></a><h3>
<a name="GimpPaintApplicationMode"></a>enum GimpPaintApplicationMode</h3>
<a class="indexterm" name="id2510674"></a><pre class="programlisting">typedef enum
<a class="indexterm" name="id2527919"></a><pre class="programlisting">typedef enum
{
GIMP_PAINT_CONSTANT, /*&lt; desc="Constant" &gt;*/
GIMP_PAINT_INCREMENTAL /*&lt; desc="Incremental" &gt;*/
@ -396,9 +396,9 @@ Basic GIMP enumeration data types.
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2510692"></a><h3>
<a name="id2527937"></a><h3>
<a name="GimpPDBArgType"></a>enum GimpPDBArgType</h3>
<a class="indexterm" name="id2510704"></a><pre class="programlisting">typedef enum
<a class="indexterm" name="id2527949"></a><pre class="programlisting">typedef enum
{
GIMP_PDB_INT32,
GIMP_PDB_INT16,
@ -433,9 +433,9 @@ Basic GIMP enumeration data types.
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2510729"></a><h3>
<a name="id2527974"></a><h3>
<a name="GimpPDBProcType"></a>enum GimpPDBProcType</h3>
<a class="indexterm" name="id2510742"></a><pre class="programlisting">typedef enum
<a class="indexterm" name="id2527986"></a><pre class="programlisting">typedef enum
{
GIMP_INTERNAL, /*&lt; desc="Internal GIMP procedure" &gt;*/
GIMP_PLUGIN, /*&lt; desc="GIMP Plug-In" &gt;*/
@ -449,9 +449,9 @@ Basic GIMP enumeration data types.
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2598018"></a><h3>
<a name="id2615179"></a><h3>
<a name="GimpPDBStatusType"></a>enum GimpPDBStatusType</h3>
<a class="indexterm" name="id2598028"></a><pre class="programlisting">typedef enum
<a class="indexterm" name="id2615189"></a><pre class="programlisting">typedef enum
{
GIMP_PDB_EXECUTION_ERROR,
GIMP_PDB_CALLING_ERROR,
@ -466,9 +466,9 @@ Basic GIMP enumeration data types.
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2598044"></a><h3>
<a name="id2615205"></a><h3>
<a name="GimpProgressCommand"></a>enum GimpProgressCommand</h3>
<a class="indexterm" name="id2598055"></a><pre class="programlisting">typedef enum
<a class="indexterm" name="id2615216"></a><pre class="programlisting">typedef enum
{
GIMP_PROGRESS_COMMAND_START,
GIMP_PROGRESS_COMMAND_END,
@ -484,9 +484,9 @@ Basic GIMP enumeration data types.
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2598072"></a><h3>
<a name="id2615233"></a><h3>
<a name="GimpRepeatMode"></a>enum GimpRepeatMode</h3>
<a class="indexterm" name="id2598083"></a><pre class="programlisting">typedef enum
<a class="indexterm" name="id2615244"></a><pre class="programlisting">typedef enum
{
GIMP_REPEAT_NONE, /*&lt; desc="None" &gt;*/
GIMP_REPEAT_SAWTOOTH, /*&lt; desc="Sawtooth wave" &gt;*/
@ -499,9 +499,9 @@ Basic GIMP enumeration data types.
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2598100"></a><h3>
<a name="id2615261"></a><h3>
<a name="GimpRunMode"></a>enum GimpRunMode</h3>
<a class="indexterm" name="id2598110"></a><pre class="programlisting">typedef enum
<a class="indexterm" name="id2615271"></a><pre class="programlisting">typedef enum
{
GIMP_RUN_INTERACTIVE, /*&lt; desc="Run interactively" &gt;*/
GIMP_RUN_NONINTERACTIVE, /*&lt; desc="Run non-interactively" &gt;*/
@ -514,9 +514,9 @@ Basic GIMP enumeration data types.
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2598128"></a><h3>
<a name="id2615289"></a><h3>
<a name="GimpSizeType"></a>enum GimpSizeType</h3>
<a class="indexterm" name="id2598138"></a><pre class="programlisting">typedef enum
<a class="indexterm" name="id2615300"></a><pre class="programlisting">typedef enum
{
GIMP_PIXELS, /*&lt; desc="Pixels" &gt;*/
GIMP_POINTS /*&lt; desc="Points" &gt;*/
@ -528,9 +528,9 @@ Basic GIMP enumeration data types.
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2598154"></a><h3>
<a name="id2615315"></a><h3>
<a name="GimpStackTraceMode"></a>enum GimpStackTraceMode</h3>
<a class="indexterm" name="id2598164"></a><pre class="programlisting">typedef enum
<a class="indexterm" name="id2615325"></a><pre class="programlisting">typedef enum
{
GIMP_STACK_TRACE_NEVER,
GIMP_STACK_TRACE_QUERY,
@ -543,9 +543,9 @@ Basic GIMP enumeration data types.
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2598180"></a><h3>
<a name="id2615341"></a><h3>
<a name="GimpTransferMode"></a>enum GimpTransferMode</h3>
<a class="indexterm" name="id2598190"></a><pre class="programlisting">typedef enum
<a class="indexterm" name="id2615351"></a><pre class="programlisting">typedef enum
{
GIMP_SHADOWS, /*&lt; desc="Shadows" &gt;*/
GIMP_MIDTONES, /*&lt; desc="Midtones" &gt;*/
@ -558,9 +558,9 @@ Basic GIMP enumeration data types.
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2598207"></a><h3>
<a name="id2615368"></a><h3>
<a name="GimpTransformDirection"></a>enum GimpTransformDirection</h3>
<a class="indexterm" name="id2598217"></a><pre class="programlisting">typedef enum
<a class="indexterm" name="id2615378"></a><pre class="programlisting">typedef enum
{
GIMP_TRANSFORM_FORWARD, /*&lt; desc="Normal (Forward)" &gt;*/
GIMP_TRANSFORM_BACKWARD /*&lt; desc="Corrective (Backward)" &gt;*/
@ -572,14 +572,14 @@ Basic GIMP enumeration data types.
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2598234"></a><h3>
<a name="id2615395"></a><h3>
<a name="GimpTransformResize"></a>enum GimpTransformResize</h3>
<a class="indexterm" name="id2598244"></a><pre class="programlisting">typedef enum
<a class="indexterm" name="id2615405"></a><pre class="programlisting">typedef enum
{
GIMP_TRANSFORM_RESIZE_ADJUST = 0, /*&lt; desc="Adjust" &gt;*/
GIMP_TRANSFORM_RESIZE_CLIP = 1, /*&lt; desc="Clip" &gt;*/
GIMP_TRANSFORM_RESIZE_CROP, /*&lt; desc="Crop to result" &gt;*/
GIMP_TRANSFORM_RESIZE_CROP_WITH_ASPECT, /*&lt; desc="Crop with aspect" &gt;*/
GIMP_TRANSFORM_RESIZE_CROP_WITH_ASPECT /*&lt; desc="Crop with aspect" &gt;*/
} GimpTransformResize;
</pre>
<p>
@ -588,9 +588,9 @@ Basic GIMP enumeration data types.
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2598264"></a><h3>
<a name="id2615425"></a><h3>
<a name="GimpUserDirectory"></a>enum GimpUserDirectory</h3>
<a class="indexterm" name="id2598274"></a><pre class="programlisting">typedef enum
<a class="indexterm" name="id2615435"></a><pre class="programlisting">typedef enum
{
GIMP_USER_DIRECTORY_DESKTOP,
GIMP_USER_DIRECTORY_DOCUMENTS,
@ -608,9 +608,9 @@ Basic GIMP enumeration data types.
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2598292"></a><h3>
<a name="id2615454"></a><h3>
<a name="GimpVectorsStrokeType"></a>enum GimpVectorsStrokeType</h3>
<a class="indexterm" name="id2598303"></a><pre class="programlisting">typedef enum
<a class="indexterm" name="id2615464"></a><pre class="programlisting">typedef enum
{
GIMP_VECTORS_STROKE_TYPE_BEZIER
} GimpVectorsStrokeType;

View File

@ -3,7 +3,7 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>gimpbasetypes</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.72.0">
<meta name="generator" content="DocBook XSL Stylesheets V1.73.2">
<link rel="start" href="index.html" title="GIMP Base Library Reference Manual">
<link rel="up" href="libgimpbase.html" title="Part&#160;I.&#160;GIMP Base Library">
<link rel="prev" href="libgimpbase-gimpbaseenums.html" title="gimpbaseenums">
@ -25,16 +25,16 @@
<th width="100%" align="center">GIMP Base Library Reference Manual</th>
<td><a accesskey="n" href="libgimpbase-gimpversion.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2565961" class="shortcut">Top</a>
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2602177" class="shortcut">Top</a>
&#160;|&#160;
<a href="#id2590937" class="shortcut">Description</a></nobr></td></tr>
<a href="#id2608104" class="shortcut">Description</a></nobr></td></tr>
</table>
<div class="refentry" lang="en">
<a name="libgimpbase-gimpbasetypes"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2>
<a name="id2565961"></a><span class="refentrytitle">gimpbasetypes</span>
<a name="id2602177"></a><span class="refentrytitle">gimpbasetypes</span>
</h2>
<p>gimpbasetypes &#8212; Translation between gettext translation domain identifier and GType.</p>
</td>
@ -46,47 +46,31 @@
<a href="libgimpbase-gimpbasetypes.html#GimpEnumDesc">GimpEnumDesc</a>;
<a href="libgimpbase-gimpbasetypes.html#GimpFlagsDesc">GimpFlagsDesc</a>;
void <a href="libgimpbase-gimpbasetypes.html#gimp-type-set-translation-domain">gimp_type_set_translation_domain</a> (<a
href="../gobject/gobject-Type-Information.html#GType"
>GType</a> type,
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *domain);
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a>* <a href="libgimpbase-gimpbasetypes.html#gimp-type-get-translation-domain">gimp_type_get_translation_domain</a> (<a
href="../gobject/gobject-Type-Information.html#GType"
>GType</a> type);
void <a href="libgimpbase-gimpbasetypes.html#gimp-enum-set-value-descriptions">gimp_enum_set_value_descriptions</a> (<a
href="../gobject/gobject-Type-Information.html#GType"
>GType</a> enum_type,
const <a href="libgimpbase-gimpbasetypes.html#GimpEnumDesc">GimpEnumDesc</a> *descriptions);
const <a href="libgimpbase-gimpbasetypes.html#GimpEnumDesc">GimpEnumDesc</a>* <a href="libgimpbase-gimpbasetypes.html#gimp-enum-get-value-descriptions">gimp_enum_get_value_descriptions</a> (<a
href="../gobject/gobject-Type-Information.html#GType"
>GType</a> enum_type);
const <a href="libgimpbase-gimpbasetypes.html#GimpFlagsDesc">GimpFlagsDesc</a>* <a href="libgimpbase-gimpbasetypes.html#gimp-flags-get-value-descriptions">gimp_flags_get_value_descriptions</a> (<a
href="../gobject/gobject-Type-Information.html#GType"
>GType</a> flags_type);
void <a href="libgimpbase-gimpbasetypes.html#gimp-flags-set-value-descriptions">gimp_flags_set_value_descriptions</a> (<a
href="../gobject/gobject-Type-Information.html#GType"
>GType</a> flags_type,
const <a href="libgimpbase-gimpbasetypes.html#GimpFlagsDesc">GimpFlagsDesc</a> *descriptions);
<a class="link" href="libgimpbase-gimpbasetypes.html#GimpEnumDesc">GimpEnumDesc</a>;
<a class="link" href="libgimpbase-gimpbasetypes.html#GimpFlagsDesc">GimpFlagsDesc</a>;
void <a class="link" href="libgimpbase-gimpbasetypes.html#gimp-type-set-translation-domain">gimp_type_set_translation_domain</a> (GType type,
const gchar *domain);
const gchar* <a class="link" href="libgimpbase-gimpbasetypes.html#gimp-type-get-translation-domain">gimp_type_get_translation_domain</a> (GType type);
void <a class="link" href="libgimpbase-gimpbasetypes.html#gimp-enum-set-value-descriptions">gimp_enum_set_value_descriptions</a> (GType enum_type,
const <a class="link" href="libgimpbase-gimpbasetypes.html#GimpEnumDesc">GimpEnumDesc</a> *descriptions);
const <a class="link" href="libgimpbase-gimpbasetypes.html#GimpEnumDesc">GimpEnumDesc</a>* <a class="link" href="libgimpbase-gimpbasetypes.html#gimp-enum-get-value-descriptions">gimp_enum_get_value_descriptions</a> (GType enum_type);
const <a class="link" href="libgimpbase-gimpbasetypes.html#GimpFlagsDesc">GimpFlagsDesc</a>* <a class="link" href="libgimpbase-gimpbasetypes.html#gimp-flags-get-value-descriptions">gimp_flags_get_value_descriptions</a> (GType flags_type);
void <a class="link" href="libgimpbase-gimpbasetypes.html#gimp-flags-set-value-descriptions">gimp_flags_set_value_descriptions</a> (GType flags_type,
const <a class="link" href="libgimpbase-gimpbasetypes.html#GimpFlagsDesc">GimpFlagsDesc</a> *descriptions);
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2590937"></a><h2>Description</h2>
<a name="id2608104"></a><h2>Description</h2>
<p>
Translation between gettext translation domain identifier and GType.
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2590954"></a><h2>Details</h2>
<a name="id2608121"></a><h2>Details</h2>
<div class="refsect2" lang="en">
<a name="id2566826"></a><h3>
<a name="id2588506"></a><h3>
<a name="GimpEnumDesc"></a>GimpEnumDesc</h3>
<a class="indexterm" name="id2566838"></a><pre class="programlisting">typedef struct {
<a class="indexterm" name="id2588519"></a><pre class="programlisting">typedef struct {
gint value;
gchar *value_desc;
gchar *value_help;
@ -98,9 +82,9 @@ Translation between gettext translation domain identifier and GType.
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2566855"></a><h3>
<a name="id2588536"></a><h3>
<a name="GimpFlagsDesc"></a>GimpFlagsDesc</h3>
<a class="indexterm" name="id2566868"></a><pre class="programlisting">typedef struct {
<a class="indexterm" name="id2588548"></a><pre class="programlisting">typedef struct {
guint value;
gchar *value_desc;
gchar *value_help;
@ -112,19 +96,13 @@ Translation between gettext translation domain identifier and GType.
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2566885"></a><h3>
<a name="id2588565"></a><h3>
<a name="gimp-type-set-translation-domain"></a>gimp_type_set_translation_domain ()</h3>
<a class="indexterm" name="id2566900"></a><pre class="programlisting">void gimp_type_set_translation_domain (<a
href="../gobject/gobject-Type-Information.html#GType"
>GType</a> type,
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *domain);</pre>
<a class="indexterm" name="id2588580"></a><pre class="programlisting">void gimp_type_set_translation_domain (GType type,
const gchar *domain);</pre>
<p>
This function attaches a constant string as a gettext translation
domain identifier to a <a
href="../gobject/gobject-Type-Information.html#GType"
><span class="type">GType</span></a>. The only purpose of this function is
domain identifier to a <span class="type">GType</span>. The only purpose of this function is
to use it when registering a <span class="type">GTypeEnum</span> with translatable value
names.</p>
<p>
@ -134,17 +112,13 @@ names.</p>
<col align="left" valign="top">
<tbody>
<tr>
<td><span class="term"><em class="parameter"><code>type</code></em>&#160;:</span></td>
<td> a <a
href="../gobject/gobject-Type-Information.html#GType"
><span class="type">GType</span></a>
<td><p><span class="term"><em class="parameter"><code>type</code></em>&#160;:</span></p></td>
<td> a <span class="type">GType</span>
</td>
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>domain</code></em>&#160;:</span></td>
<td> a constant string that identifies a translation domain or <a
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a>
<td><p><span class="term"><em class="parameter"><code>domain</code></em>&#160;:</span></p></td>
<td> a constant string that identifies a translation domain or <code class="literal">NULL</code>
</td>
</tr>
</tbody>
@ -154,17 +128,13 @@ href="../glib/glib-Standard-Macros.html#NULL:CAPS"
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2562417"></a><h3>
<a name="id2596257"></a><h3>
<a name="gimp-type-get-translation-domain"></a>gimp_type_get_translation_domain ()</h3>
<a class="indexterm" name="id2562432"></a><pre class="programlisting">const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a>* gimp_type_get_translation_domain (<a
href="../gobject/gobject-Type-Information.html#GType"
>GType</a> type);</pre>
<a class="indexterm" name="id2596272"></a><pre class="programlisting">const gchar* gimp_type_get_translation_domain (GType type);</pre>
<p>
Retrieves the gettext translation domain identifier that has been
previously set using <a href="libgimpbase-gimpbasetypes.html#gimp-type-set-translation-domain"><code class="function">gimp_type_set_translation_domain()</code></a>. You should
not need to use this function directly, use <a href="libgimpbase-gimputils.html#gimp-enum-get-value"><code class="function">gimp_enum_get_value()</code></a>
previously set using <a class="link" href="libgimpbase-gimpbasetypes.html#gimp-type-set-translation-domain"><code class="function">gimp_type_set_translation_domain()</code></a>. You should
not need to use this function directly, use <a class="link" href="libgimpbase-gimputils.html#gimp-enum-get-value"><code class="function">gimp_enum_get_value()</code></a>
or <code class="function">gimp_enum_value_get_name()</code> instead.</p>
<p>
@ -173,18 +143,14 @@ or <code class="function">gimp_enum_value_get_name()</code> instead.</p>
<col align="left" valign="top">
<tbody>
<tr>
<td><span class="term"><em class="parameter"><code>type</code></em>&#160;:</span></td>
<td> a <a
href="../gobject/gobject-Type-Information.html#GType"
><span class="type">GType</span></a>
<td><p><span class="term"><em class="parameter"><code>type</code></em>&#160;:</span></p></td>
<td> a <span class="type">GType</span>
</td>
</tr>
<tr>
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></p></td>
<td> the translation domain associated with <em class="parameter"><code>type</code></em>
or <a
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a> if no domain was set
or <code class="literal">NULL</code> if no domain was set
</td>
</tr>
@ -195,12 +161,10 @@ href="../glib/glib-Standard-Macros.html#NULL:CAPS"
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2562553"></a><h3>
<a name="id2596394"></a><h3>
<a name="gimp-enum-set-value-descriptions"></a>gimp_enum_set_value_descriptions ()</h3>
<a class="indexterm" name="id2562569"></a><pre class="programlisting">void gimp_enum_set_value_descriptions (<a
href="../gobject/gobject-Type-Information.html#GType"
>GType</a> enum_type,
const <a href="libgimpbase-gimpbasetypes.html#GimpEnumDesc">GimpEnumDesc</a> *descriptions);</pre>
<a class="indexterm" name="id2596409"></a><pre class="programlisting">void gimp_enum_set_value_descriptions (GType enum_type,
const <a class="link" href="libgimpbase-gimpbasetypes.html#GimpEnumDesc">GimpEnumDesc</a> *descriptions);</pre>
<p>
Sets the array of human readable and translatable descriptions
and help texts for enum values.</p>
@ -211,17 +175,13 @@ and help texts for enum values.</p>
<col align="left" valign="top">
<tbody>
<tr>
<td><span class="term"><em class="parameter"><code>enum_type</code></em>&#160;:</span></td>
<td> a <a
href="../gobject/gobject-Type-Information.html#GType"
><span class="type">GType</span></a>
<td><p><span class="term"><em class="parameter"><code>enum_type</code></em>&#160;:</span></p></td>
<td> a <span class="type">GType</span>
</td>
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>descriptions</code></em>&#160;:</span></td>
<td> a <a
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a> terminated constant static array of <a href="libgimpbase-gimpbasetypes.html#GimpEnumDesc"><span class="type">GimpEnumDesc</span></a>
<td><p><span class="term"><em class="parameter"><code>descriptions</code></em>&#160;:</span></p></td>
<td> a <code class="literal">NULL</code> terminated constant static array of <a class="link" href="libgimpbase-gimpbasetypes.html#GimpEnumDesc"><span class="type">GimpEnumDesc</span></a>
</td>
</tr>
</tbody>
@ -231,11 +191,9 @@ href="../glib/glib-Standard-Macros.html#NULL:CAPS"
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2510842"></a><h3>
<a name="id2526984"></a><h3>
<a name="gimp-enum-get-value-descriptions"></a>gimp_enum_get_value_descriptions ()</h3>
<a class="indexterm" name="id2510858"></a><pre class="programlisting">const <a href="libgimpbase-gimpbasetypes.html#GimpEnumDesc">GimpEnumDesc</a>* gimp_enum_get_value_descriptions (<a
href="../gobject/gobject-Type-Information.html#GType"
>GType</a> enum_type);</pre>
<a class="indexterm" name="id2526999"></a><pre class="programlisting">const <a class="link" href="libgimpbase-gimpbasetypes.html#GimpEnumDesc">GimpEnumDesc</a>* gimp_enum_get_value_descriptions (GType enum_type);</pre>
<p>
Retreives the array of human readable and translatable descriptions
and help texts for enum values.</p>
@ -246,17 +204,13 @@ and help texts for enum values.</p>
<col align="left" valign="top">
<tbody>
<tr>
<td><span class="term"><em class="parameter"><code>enum_type</code></em>&#160;:</span></td>
<td> a <a
href="../gobject/gobject-Type-Information.html#GType"
><span class="type">GType</span></a>
<td><p><span class="term"><em class="parameter"><code>enum_type</code></em>&#160;:</span></p></td>
<td> a <span class="type">GType</span>
</td>
</tr>
<tr>
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td> a <a
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a> terminated constant array of <a href="libgimpbase-gimpbasetypes.html#GimpEnumDesc"><span class="type">GimpEnumDesc</span></a>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></p></td>
<td> a <code class="literal">NULL</code> terminated constant array of <a class="link" href="libgimpbase-gimpbasetypes.html#GimpEnumDesc"><span class="type">GimpEnumDesc</span></a>
</td>
</tr>
@ -267,11 +221,9 @@ href="../glib/glib-Standard-Macros.html#NULL:CAPS"
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2510952"></a><h3>
<a name="id2527093"></a><h3>
<a name="gimp-flags-get-value-descriptions"></a>gimp_flags_get_value_descriptions ()</h3>
<a class="indexterm" name="id2510967"></a><pre class="programlisting">const <a href="libgimpbase-gimpbasetypes.html#GimpFlagsDesc">GimpFlagsDesc</a>* gimp_flags_get_value_descriptions (<a
href="../gobject/gobject-Type-Information.html#GType"
>GType</a> flags_type);</pre>
<a class="indexterm" name="id2527109"></a><pre class="programlisting">const <a class="link" href="libgimpbase-gimpbasetypes.html#GimpFlagsDesc">GimpFlagsDesc</a>* gimp_flags_get_value_descriptions (GType flags_type);</pre>
<p>
Retreives the array of human readable and translatable descriptions
and help texts for flags values.</p>
@ -282,17 +234,13 @@ and help texts for flags values.</p>
<col align="left" valign="top">
<tbody>
<tr>
<td><span class="term"><em class="parameter"><code>flags_type</code></em>&#160;:</span></td>
<td> a <a
href="../gobject/gobject-Type-Information.html#GType"
><span class="type">GType</span></a>
<td><p><span class="term"><em class="parameter"><code>flags_type</code></em>&#160;:</span></p></td>
<td> a <span class="type">GType</span>
</td>
</tr>
<tr>
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td> a <a
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a> terminated constant array of <a href="libgimpbase-gimpbasetypes.html#GimpFlagsDesc"><span class="type">GimpFlagsDesc</span></a>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></p></td>
<td> a <code class="literal">NULL</code> terminated constant array of <a class="link" href="libgimpbase-gimpbasetypes.html#GimpFlagsDesc"><span class="type">GimpFlagsDesc</span></a>
</td>
</tr>
@ -303,12 +251,10 @@ href="../glib/glib-Standard-Macros.html#NULL:CAPS"
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2511061"></a><h3>
<a name="id2527203"></a><h3>
<a name="gimp-flags-set-value-descriptions"></a>gimp_flags_set_value_descriptions ()</h3>
<a class="indexterm" name="id2511077"></a><pre class="programlisting">void gimp_flags_set_value_descriptions (<a
href="../gobject/gobject-Type-Information.html#GType"
>GType</a> flags_type,
const <a href="libgimpbase-gimpbasetypes.html#GimpFlagsDesc">GimpFlagsDesc</a> *descriptions);</pre>
<a class="indexterm" name="id2527219"></a><pre class="programlisting">void gimp_flags_set_value_descriptions (GType flags_type,
const <a class="link" href="libgimpbase-gimpbasetypes.html#GimpFlagsDesc">GimpFlagsDesc</a> *descriptions);</pre>
<p>
Sets the array of human readable and translatable descriptions
and help texts for flags values.</p>
@ -319,17 +265,13 @@ and help texts for flags values.</p>
<col align="left" valign="top">
<tbody>
<tr>
<td><span class="term"><em class="parameter"><code>flags_type</code></em>&#160;:</span></td>
<td> a <a
href="../gobject/gobject-Type-Information.html#GType"
><span class="type">GType</span></a>
<td><p><span class="term"><em class="parameter"><code>flags_type</code></em>&#160;:</span></p></td>
<td> a <span class="type">GType</span>
</td>
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>descriptions</code></em>&#160;:</span></td>
<td> a <a
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a> terminated constant static array of <a href="libgimpbase-gimpbasetypes.html#GimpFlagsDesc"><span class="type">GimpFlagsDesc</span></a>
<td><p><span class="term"><em class="parameter"><code>descriptions</code></em>&#160;:</span></p></td>
<td> a <code class="literal">NULL</code> terminated constant static array of <a class="link" href="libgimpbase-gimpbasetypes.html#GimpFlagsDesc"><span class="type">GimpFlagsDesc</span></a>
</td>
</tr>
</tbody>

View File

@ -3,7 +3,7 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>gimpchecks</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.72.0">
<meta name="generator" content="DocBook XSL Stylesheets V1.73.2">
<link rel="start" href="index.html" title="GIMP Base Library Reference Manual">
<link rel="up" href="libgimpbase.html" title="Part&#160;I.&#160;GIMP Base Library">
<link rel="prev" href="libgimpbase-gimpparam.html" title="gimpparam">
@ -25,16 +25,16 @@
<th width="100%" align="center">GIMP Base Library Reference Manual</th>
<td><a accesskey="n" href="libgimpbase-gimpcpuaccel.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2566444" class="shortcut">Top</a>
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2617729" class="shortcut">Top</a>
&#160;|&#160;
<a href="#id2597238" class="shortcut">Description</a></nobr></td></tr>
<a href="#id2594846" class="shortcut">Description</a></nobr></td></tr>
</table>
<div class="refentry" lang="en">
<a name="libgimpbase-gimpchecks"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2>
<a name="id2566444"></a><span class="refentrytitle">gimpchecks</span>
<a name="id2617729"></a><span class="refentrytitle">gimpchecks</span>
</h2>
<p>gimpchecks &#8212; Constants and functions related to rendering checkerboards.</p>
</td>
@ -46,31 +46,27 @@
#define <a href="libgimpbase-gimpchecks.html#GIMP-CHECK-SIZE:CAPS">GIMP_CHECK_SIZE</a>
#define <a href="libgimpbase-gimpchecks.html#GIMP-CHECK-SIZE-SM:CAPS">GIMP_CHECK_SIZE_SM</a>
#define <a href="libgimpbase-gimpchecks.html#GIMP-CHECK-DARK:CAPS">GIMP_CHECK_DARK</a>
#define <a href="libgimpbase-gimpchecks.html#GIMP-CHECK-LIGHT:CAPS">GIMP_CHECK_LIGHT</a>
void <a href="libgimpbase-gimpchecks.html#gimp-checks-get-shades">gimp_checks_get_shades</a> (<a href="libgimpbase-gimpbaseenums.html#GimpCheckType">GimpCheckType</a> type,
<a
href="../glib/glib-Basic-Types.html#guchar"
>guchar</a> *light,
<a
href="../glib/glib-Basic-Types.html#guchar"
>guchar</a> *dark);
#define <a class="link" href="libgimpbase-gimpchecks.html#GIMP-CHECK-SIZE:CAPS">GIMP_CHECK_SIZE</a>
#define <a class="link" href="libgimpbase-gimpchecks.html#GIMP-CHECK-SIZE-SM:CAPS">GIMP_CHECK_SIZE_SM</a>
#define <a class="link" href="libgimpbase-gimpchecks.html#GIMP-CHECK-DARK:CAPS">GIMP_CHECK_DARK</a>
#define <a class="link" href="libgimpbase-gimpchecks.html#GIMP-CHECK-LIGHT:CAPS">GIMP_CHECK_LIGHT</a>
void <a class="link" href="libgimpbase-gimpchecks.html#gimp-checks-get-shades">gimp_checks_get_shades</a> (<a class="link" href="libgimpbase-gimpbaseenums.html#GimpCheckType">GimpCheckType</a> type,
guchar *light,
guchar *dark);
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2597238"></a><h2>Description</h2>
<a name="id2594846"></a><h2>Description</h2>
<p>
Constants and functions related to rendering checkerboards.
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2597254"></a><h2>Details</h2>
<a name="id2594862"></a><h2>Details</h2>
<div class="refsect2" lang="en">
<a name="id2597265"></a><h3>
<a name="id2594873"></a><h3>
<a name="GIMP-CHECK-SIZE:CAPS"></a>GIMP_CHECK_SIZE</h3>
<a class="indexterm" name="id2597277"></a><pre class="programlisting">#define GIMP_CHECK_SIZE 8
<a class="indexterm" name="id2594884"></a><pre class="programlisting">#define GIMP_CHECK_SIZE 8
</pre>
<p>
The default checkerboard size in pixels. This is configurable in the
@ -80,9 +76,9 @@ this constant instead.
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2597295"></a><h3>
<a name="id2594902"></a><h3>
<a name="GIMP-CHECK-SIZE-SM:CAPS"></a>GIMP_CHECK_SIZE_SM</h3>
<a class="indexterm" name="id2597306"></a><pre class="programlisting">#define GIMP_CHECK_SIZE_SM 4
<a class="indexterm" name="id2594914"></a><pre class="programlisting">#define GIMP_CHECK_SIZE_SM 4
</pre>
<p>
The default small checkerboard size in pixels.
@ -90,9 +86,9 @@ The default small checkerboard size in pixels.
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2563951"></a><h3>
<a name="id2589950"></a><h3>
<a name="GIMP-CHECK-DARK:CAPS"></a>GIMP_CHECK_DARK</h3>
<a class="indexterm" name="id2563962"></a><pre class="programlisting">#define GIMP_CHECK_DARK 0.4
<a class="indexterm" name="id2589961"></a><pre class="programlisting">#define GIMP_CHECK_DARK 0.4
</pre>
<p>
The dark gray value for the default checkerboard pattern.
@ -100,9 +96,9 @@ The dark gray value for the default checkerboard pattern.
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2563978"></a><h3>
<a name="id2589978"></a><h3>
<a name="GIMP-CHECK-LIGHT:CAPS"></a>GIMP_CHECK_LIGHT</h3>
<a class="indexterm" name="id2563990"></a><pre class="programlisting">#define GIMP_CHECK_LIGHT 0.6
<a class="indexterm" name="id2589989"></a><pre class="programlisting">#define GIMP_CHECK_LIGHT 0.6
</pre>
<p>
The light gray value for the default checkerboard pattern.
@ -110,18 +106,14 @@ The light gray value for the default checkerboard pattern.
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2564006"></a><h3>
<a name="id2590006"></a><h3>
<a name="gimp-checks-get-shades"></a>gimp_checks_get_shades ()</h3>
<a class="indexterm" name="id2564020"></a><pre class="programlisting">void gimp_checks_get_shades (<a href="libgimpbase-gimpbaseenums.html#GimpCheckType">GimpCheckType</a> type,
<a
href="../glib/glib-Basic-Types.html#guchar"
>guchar</a> *light,
<a
href="../glib/glib-Basic-Types.html#guchar"
>guchar</a> *dark);</pre>
<a class="indexterm" name="id2590019"></a><pre class="programlisting">void gimp_checks_get_shades (<a class="link" href="libgimpbase-gimpbaseenums.html#GimpCheckType">GimpCheckType</a> type,
guchar *light,
guchar *dark);</pre>
<p>
Retrieves the actual shades of gray to use when drawing a
checkerboard for a certain <a href="libgimpbase-gimpbaseenums.html#GimpCheckType"><span class="type">GimpCheckType</span></a>.</p>
checkerboard for a certain <a class="link" href="libgimpbase-gimpbaseenums.html#GimpCheckType"><span class="type">GimpCheckType</span></a>.</p>
<p>
</p>
@ -129,17 +121,17 @@ checkerboard for a certain <a href="libgimpbase-gimpbaseenums.html#GimpCheckType
<col align="left" valign="top">
<tbody>
<tr>
<td><span class="term"><em class="parameter"><code>type</code></em>&#160;:</span></td>
<td><p><span class="term"><em class="parameter"><code>type</code></em>&#160;:</span></p></td>
<td> the checkerboard type
</td>
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>light</code></em>&#160;:</span></td>
<td><p><span class="term"><em class="parameter"><code>light</code></em>&#160;:</span></p></td>
<td> return location for the light shade
</td>
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>dark</code></em>&#160;:</span></td>
<td><p><span class="term"><em class="parameter"><code>dark</code></em>&#160;:</span></p></td>
<td> return location for the dark shade
</td>
</tr>

View File

@ -3,7 +3,7 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>gimpcpuaccel</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.72.0">
<meta name="generator" content="DocBook XSL Stylesheets V1.73.2">
<link rel="start" href="index.html" title="GIMP Base Library Reference Manual">
<link rel="up" href="libgimpbase.html" title="Part&#160;I.&#160;GIMP Base Library">
<link rel="prev" href="libgimpbase-gimpchecks.html" title="gimpchecks">
@ -25,16 +25,16 @@
<th width="100%" align="center">GIMP Base Library Reference Manual</th>
<td><a accesskey="n" href="libgimpbase-gimpdatafiles.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2578982" class="shortcut">Top</a>
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2600641" class="shortcut">Top</a>
&#160;|&#160;
<a href="#id2565687" class="shortcut">Description</a></nobr></td></tr>
<a href="#id2593142" class="shortcut">Description</a></nobr></td></tr>
</table>
<div class="refentry" lang="en">
<a name="libgimpbase-gimpcpuaccel"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2>
<a name="id2578982"></a><span class="refentrytitle">gimpcpuaccel</span>
<a name="id2600641"></a><span class="refentrytitle">gimpcpuaccel</span>
</h2>
<p>gimpcpuaccel</p>
</td>
@ -46,25 +46,23 @@
enum <a href="libgimpbase-gimpcpuaccel.html#GimpCpuAccelFlags">GimpCpuAccelFlags</a>;
<a href="libgimpbase-gimpcpuaccel.html#GimpCpuAccelFlags">GimpCpuAccelFlags</a> <a href="libgimpbase-gimpcpuaccel.html#gimp-cpu-accel-get-support">gimp_cpu_accel_get_support</a> (void);
void <a href="libgimpbase-gimpcpuaccel.html#gimp-cpu-accel-set-use">gimp_cpu_accel_set_use</a> (<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> use);
enum <a class="link" href="libgimpbase-gimpcpuaccel.html#GimpCpuAccelFlags">GimpCpuAccelFlags</a>;
<a class="link" href="libgimpbase-gimpcpuaccel.html#GimpCpuAccelFlags">GimpCpuAccelFlags</a> <a class="link" href="libgimpbase-gimpcpuaccel.html#gimp-cpu-accel-get-support">gimp_cpu_accel_get_support</a> (void);
void <a class="link" href="libgimpbase-gimpcpuaccel.html#gimp-cpu-accel-set-use">gimp_cpu_accel_set_use</a> (gboolean use);
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2565687"></a><h2>Description</h2>
<a name="id2593142"></a><h2>Description</h2>
<p>
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2565703"></a><h2>Details</h2>
<a name="id2593158"></a><h2>Details</h2>
<div class="refsect2" lang="en">
<a name="id2565714"></a><h3>
<a name="id2593169"></a><h3>
<a name="GimpCpuAccelFlags"></a>enum GimpCpuAccelFlags</h3>
<a class="indexterm" name="id2565726"></a><pre class="programlisting">typedef enum
<a class="indexterm" name="id2593181"></a><pre class="programlisting">typedef enum
{
GIMP_CPU_ACCEL_NONE = 0x0,
@ -86,9 +84,9 @@ href="../glib/glib-Basic-Types.html#gboolean"
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2589353"></a><h3>
<a name="id2581324"></a><h3>
<a name="gimp-cpu-accel-get-support"></a>gimp_cpu_accel_get_support ()</h3>
<a class="indexterm" name="id2589367"></a><pre class="programlisting"><a href="libgimpbase-gimpcpuaccel.html#GimpCpuAccelFlags">GimpCpuAccelFlags</a> gimp_cpu_accel_get_support (void);</pre>
<a class="indexterm" name="id2581338"></a><pre class="programlisting"><a class="link" href="libgimpbase-gimpcpuaccel.html#GimpCpuAccelFlags">GimpCpuAccelFlags</a> gimp_cpu_accel_get_support (void);</pre>
<p>
Query for CPU acceleration support.</p>
<p>
@ -97,8 +95,8 @@ Query for CPU acceleration support.</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td> <a href="libgimpbase-gimpcpuaccel.html#GimpCpuAccelFlags"><span class="type">GimpCpuAccelFlags</span></a> as supported by the CPU.
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></p></td>
<td> <a class="link" href="libgimpbase-gimpcpuaccel.html#GimpCpuAccelFlags"><span class="type">GimpCpuAccelFlags</span></a> as supported by the CPU.
</td>
</tr></tbody>
@ -108,11 +106,9 @@ Query for CPU acceleration support.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2589421"></a><h3>
<a name="id2581392"></a><h3>
<a name="gimp-cpu-accel-set-use"></a>gimp_cpu_accel_set_use ()</h3>
<a class="indexterm" name="id2589434"></a><pre class="programlisting">void gimp_cpu_accel_set_use (<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> use);</pre>
<a class="indexterm" name="id2581405"></a><pre class="programlisting">void gimp_cpu_accel_set_use (gboolean use);</pre>
<p>
This function is for internal use only.</p>
<p>
@ -121,7 +117,7 @@ This function is for internal use only.</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><span class="term"><em class="parameter"><code>use</code></em>&#160;:</span></td>
<td><p><span class="term"><em class="parameter"><code>use</code></em>&#160;:</span></p></td>
<td> whether to use CPU acceleration features or not
</td>
</tr></tbody>

View File

@ -3,7 +3,7 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>gimpdatafiles</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.72.0">
<meta name="generator" content="DocBook XSL Stylesheets V1.73.2">
<link rel="start" href="index.html" title="GIMP Base Library Reference Manual">
<link rel="up" href="libgimpbase.html" title="Part&#160;I.&#160;GIMP Base Library">
<link rel="prev" href="libgimpbase-gimpcpuaccel.html" title="gimpcpuaccel">
@ -25,16 +25,16 @@
<th width="100%" align="center">GIMP Base Library Reference Manual</th>
<td><a accesskey="n" href="libgimpbase-gimpenv.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2592126" class="shortcut">Top</a>
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2612556" class="shortcut">Top</a>
&#160;|&#160;
<a href="#id2562116" class="shortcut">Description</a></nobr></td></tr>
<a href="#id2580772" class="shortcut">Description</a></nobr></td></tr>
</table>
<div class="refentry" lang="en">
<a name="libgimpbase-gimpdatafiles"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2>
<a name="id2592126"></a><span class="refentrytitle">gimpdatafiles</span>
<a name="id2612556"></a><span class="refentrytitle">gimpdatafiles</span>
</h2>
<p>gimpdatafiles &#8212; Functions to handle GIMP data files.</p>
</td>
@ -46,43 +46,29 @@
<a href="libgimpbase-gimpdatafiles.html#GimpDatafileData">GimpDatafileData</a>;
void (<a href="libgimpbase-gimpdatafiles.html#GimpDatafileLoaderFunc">*GimpDatafileLoaderFunc</a>) (const <a href="libgimpbase-gimpdatafiles.html#GimpDatafileData">GimpDatafileData</a> *file_data,
<a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a> user_data);
<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> <a href="libgimpbase-gimpdatafiles.html#gimp-datafiles-check-extension">gimp_datafiles_check_extension</a> (const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *filename,
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *extension);
void <a href="libgimpbase-gimpdatafiles.html#gimp-datafiles-read-directories">gimp_datafiles_read_directories</a> (const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *path_str,
<a
href="../glib/glib-File-Utilities.html#GFileTest"
>GFileTest</a> flags,
<a href="libgimpbase-gimpdatafiles.html#GimpDatafileLoaderFunc">GimpDatafileLoaderFunc</a> loader_func,
<a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a> user_data);
<a class="link" href="libgimpbase-gimpdatafiles.html#GimpDatafileData">GimpDatafileData</a>;
void (<a class="link" href="libgimpbase-gimpdatafiles.html#GimpDatafileLoaderFunc">*GimpDatafileLoaderFunc</a>) (const <a class="link" href="libgimpbase-gimpdatafiles.html#GimpDatafileData">GimpDatafileData</a> *file_data,
gpointer user_data);
gboolean <a class="link" href="libgimpbase-gimpdatafiles.html#gimp-datafiles-check-extension">gimp_datafiles_check_extension</a> (const gchar *filename,
const gchar *extension);
void <a class="link" href="libgimpbase-gimpdatafiles.html#gimp-datafiles-read-directories">gimp_datafiles_read_directories</a> (const gchar *path_str,
GFileTest flags,
<a class="link" href="libgimpbase-gimpdatafiles.html#GimpDatafileLoaderFunc">GimpDatafileLoaderFunc</a> loader_func,
gpointer user_data);
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2562116"></a><h2>Description</h2>
<a name="id2580772"></a><h2>Description</h2>
<p>
Functions to handle GIMP data files.
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2562131"></a><h2>Details</h2>
<a name="id2580788"></a><h2>Details</h2>
<div class="refsect2" lang="en">
<a name="id2562142"></a><h3>
<a name="id2580799"></a><h3>
<a name="GimpDatafileData"></a>GimpDatafileData</h3>
<a class="indexterm" name="id2599875"></a><pre class="programlisting">typedef struct {
<a class="indexterm" name="id2580811"></a><pre class="programlisting">typedef struct {
const gchar *filename;
const gchar *dirname;
const gchar *basename;
@ -98,12 +84,10 @@ Functions to handle GIMP data files.
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2599893"></a><h3>
<a name="id2614670"></a><h3>
<a name="GimpDatafileLoaderFunc"></a>GimpDatafileLoaderFunc ()</h3>
<a class="indexterm" name="id2599904"></a><pre class="programlisting">void (*GimpDatafileLoaderFunc) (const <a href="libgimpbase-gimpdatafiles.html#GimpDatafileData">GimpDatafileData</a> *file_data,
<a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a> user_data);</pre>
<a class="indexterm" name="id2614681"></a><pre class="programlisting">void (*GimpDatafileLoaderFunc) (const <a class="link" href="libgimpbase-gimpdatafiles.html#GimpDatafileData">GimpDatafileData</a> *file_data,
gpointer user_data);</pre>
<p>
</p>
@ -111,12 +95,12 @@ href="../glib/glib-Basic-Types.html#gpointer"
<col align="left" valign="top">
<tbody>
<tr>
<td><span class="term"><em class="parameter"><code>file_data</code></em>&#160;:</span></td>
<td><p><span class="term"><em class="parameter"><code>file_data</code></em>&#160;:</span></p></td>
<td>
</td>
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>user_data</code></em>&#160;:</span></td>
<td><p><span class="term"><em class="parameter"><code>user_data</code></em>&#160;:</span></p></td>
<td>
@ -127,16 +111,10 @@ href="../glib/glib-Basic-Types.html#gpointer"
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2599972"></a><h3>
<a name="id2614748"></a><h3>
<a name="gimp-datafiles-check-extension"></a>gimp_datafiles_check_extension ()</h3>
<a class="indexterm" name="id2599983"></a><pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> gimp_datafiles_check_extension (const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *filename,
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *extension);</pre>
<a class="indexterm" name="id2614760"></a><pre class="programlisting">gboolean gimp_datafiles_check_extension (const gchar *filename,
const gchar *extension);</pre>
<p>
</p>
@ -144,17 +122,17 @@ href="../glib/glib-Basic-Types.html#gchar"
<col align="left" valign="top">
<tbody>
<tr>
<td><span class="term"><em class="parameter"><code>filename</code></em>&#160;:</span></td>
<td><p><span class="term"><em class="parameter"><code>filename</code></em>&#160;:</span></p></td>
<td>
</td>
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>extension</code></em>&#160;:</span></td>
<td><p><span class="term"><em class="parameter"><code>extension</code></em>&#160;:</span></p></td>
<td>
</td>
</tr>
<tr>
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></p></td>
<td>
@ -165,18 +143,12 @@ href="../glib/glib-Basic-Types.html#gchar"
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2557009"></a><h3>
<a name="id2616304"></a><h3>
<a name="gimp-datafiles-read-directories"></a>gimp_datafiles_read_directories ()</h3>
<a class="indexterm" name="id2557020"></a><pre class="programlisting">void gimp_datafiles_read_directories (const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *path_str,
<a
href="../glib/glib-File-Utilities.html#GFileTest"
>GFileTest</a> flags,
<a href="libgimpbase-gimpdatafiles.html#GimpDatafileLoaderFunc">GimpDatafileLoaderFunc</a> loader_func,
<a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a> user_data);</pre>
<a class="indexterm" name="id2616316"></a><pre class="programlisting">void gimp_datafiles_read_directories (const gchar *path_str,
GFileTest flags,
<a class="link" href="libgimpbase-gimpdatafiles.html#GimpDatafileLoaderFunc">GimpDatafileLoaderFunc</a> loader_func,
gpointer user_data);</pre>
<p>
</p>
@ -184,22 +156,22 @@ href="../glib/glib-Basic-Types.html#gpointer"
<col align="left" valign="top">
<tbody>
<tr>
<td><span class="term"><em class="parameter"><code>path_str</code></em>&#160;:</span></td>
<td><p><span class="term"><em class="parameter"><code>path_str</code></em>&#160;:</span></p></td>
<td>
</td>
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>flags</code></em>&#160;:</span></td>
<td><p><span class="term"><em class="parameter"><code>flags</code></em>&#160;:</span></p></td>
<td>
</td>
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>loader_func</code></em>&#160;:</span></td>
<td><p><span class="term"><em class="parameter"><code>loader_func</code></em>&#160;:</span></p></td>
<td>
</td>
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>user_data</code></em>&#160;:</span></td>
<td><p><span class="term"><em class="parameter"><code>user_data</code></em>&#160;:</span></p></td>
<td>

View File

@ -3,7 +3,7 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>gimpenv</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.72.0">
<meta name="generator" content="DocBook XSL Stylesheets V1.73.2">
<link rel="start" href="index.html" title="GIMP Base Library Reference Manual">
<link rel="up" href="libgimpbase.html" title="Part&#160;I.&#160;GIMP Base Library">
<link rel="prev" href="libgimpbase-gimpdatafiles.html" title="gimpdatafiles">
@ -25,16 +25,16 @@
<th width="100%" align="center">GIMP Base Library Reference Manual</th>
<td><a accesskey="n" href="libgimpbase-gimpmemsize.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2582444" class="shortcut">Top</a>
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2603342" class="shortcut">Top</a>
&#160;|&#160;
<a href="#id2563376" class="shortcut">Description</a></nobr></td></tr>
<a href="#id2587560" class="shortcut">Description</a></nobr></td></tr>
</table>
<div class="refentry" lang="en">
<a name="libgimpbase-gimpenv"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2>
<a name="id2582444"></a><span class="refentrytitle">gimpenv</span>
<a name="id2603342"></a><span class="refentrytitle">gimpenv</span>
</h2>
<p>gimpenv &#8212; Functions to access the GIMP environment.</p>
</td>
@ -46,83 +46,41 @@
void <a href="libgimpbase-gimpenv.html#gimp-env-init">gimp_env_init</a> (<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> plug_in);
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a>* <a href="libgimpbase-gimpenv.html#gimp-directory">gimp_directory</a> (void);
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a>* <a href="libgimpbase-gimpenv.html#gimp-data-directory">gimp_data_directory</a> (void);
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a>* <a href="libgimpbase-gimpenv.html#gimp-locale-directory">gimp_locale_directory</a> (void);
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a>* <a href="libgimpbase-gimpenv.html#gimp-plug-in-directory">gimp_plug_in_directory</a> (void);
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a>* <a href="libgimpbase-gimpenv.html#gimp-sysconf-directory">gimp_sysconf_directory</a> (void);
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a>* <a href="libgimpbase-gimpenv.html#gimp-user-directory">gimp_user_directory</a> (<a href="libgimpbase-gimpbaseenums.html#GimpUserDirectory">GimpUserDirectory</a> type);
<a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a>* <a href="libgimpbase-gimpenv.html#gimp-personal-rc-file">gimp_personal_rc_file</a> (const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *basename);
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a>* <a href="libgimpbase-gimpenv.html#gimp-gtkrc">gimp_gtkrc</a> (void);
<a
href="../glib/glib-Doubly-Linked-Lists.html#GList"
>GList</a>* <a href="libgimpbase-gimpenv.html#gimp-path-parse">gimp_path_parse</a> (const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *path,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> max_paths,
<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> check,
<a
href="../glib/glib-Doubly-Linked-Lists.html#GList"
>GList</a> **check_failed);
<a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a>* <a href="libgimpbase-gimpenv.html#gimp-path-to-str">gimp_path_to_str</a> (<a
href="../glib/glib-Doubly-Linked-Lists.html#GList"
>GList</a> *path);
void <a href="libgimpbase-gimpenv.html#gimp-path-free">gimp_path_free</a> (<a
href="../glib/glib-Doubly-Linked-Lists.html#GList"
>GList</a> *path);
<a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a>* <a href="libgimpbase-gimpenv.html#gimp-path-get-user-writable-dir">gimp_path_get_user_writable_dir</a> (<a
href="../glib/glib-Doubly-Linked-Lists.html#GList"
>GList</a> *path);
void <a class="link" href="libgimpbase-gimpenv.html#gimp-env-init">gimp_env_init</a> (gboolean plug_in);
const gchar* <a class="link" href="libgimpbase-gimpenv.html#gimp-directory">gimp_directory</a> (void);
const gchar* <a class="link" href="libgimpbase-gimpenv.html#gimp-data-directory">gimp_data_directory</a> (void);
const gchar* <a class="link" href="libgimpbase-gimpenv.html#gimp-locale-directory">gimp_locale_directory</a> (void);
const gchar* <a class="link" href="libgimpbase-gimpenv.html#gimp-plug-in-directory">gimp_plug_in_directory</a> (void);
const gchar* <a class="link" href="libgimpbase-gimpenv.html#gimp-sysconf-directory">gimp_sysconf_directory</a> (void);
const gchar* <a class="link" href="libgimpbase-gimpenv.html#gimp-user-directory">gimp_user_directory</a> (<a class="link" href="libgimpbase-gimpbaseenums.html#GimpUserDirectory">GimpUserDirectory</a> type);
gchar* <a class="link" href="libgimpbase-gimpenv.html#gimp-personal-rc-file">gimp_personal_rc_file</a> (const gchar *basename);
const gchar* <a class="link" href="libgimpbase-gimpenv.html#gimp-gtkrc">gimp_gtkrc</a> (void);
GList* <a class="link" href="libgimpbase-gimpenv.html#gimp-path-parse">gimp_path_parse</a> (const gchar *path,
gint max_paths,
gboolean check,
GList **check_failed);
gchar* <a class="link" href="libgimpbase-gimpenv.html#gimp-path-to-str">gimp_path_to_str</a> (GList *path);
void <a class="link" href="libgimpbase-gimpenv.html#gimp-path-free">gimp_path_free</a> (GList *path);
gchar* <a class="link" href="libgimpbase-gimpenv.html#gimp-path-get-user-writable-dir">gimp_path_get_user_writable_dir</a> (GList *path);
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2563376"></a><h2>Description</h2>
<a name="id2587560"></a><h2>Description</h2>
<p>
A set of functions to find the locations of GIMP's data directories and
configuration files.
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2563393"></a><h2>Details</h2>
<a name="id2587577"></a><h2>Details</h2>
<div class="refsect2" lang="en">
<a name="id2563404"></a><h3>
<a name="id2587588"></a><h3>
<a name="gimp-env-init"></a>gimp_env_init ()</h3>
<a class="indexterm" name="id2563419"></a><pre class="programlisting">void gimp_env_init (<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> plug_in);</pre>
<a class="indexterm" name="id2587603"></a><pre class="programlisting">void gimp_env_init (gboolean plug_in);</pre>
<p>
You don't need to care about this function. It is being called for
you automatically (by means of the <a
href="../libgimp/libgimp-gimp.html#MAIN:CAPS"
href="/local/head/share/gtk-doc/html/libgimp/libgimp-gimp.html#MAIN:CAPS"
><code class="function">MAIN()</code></a> macro that every plug-in
runs). Calling it again will cause a fatal error.</p>
<p>
@ -131,10 +89,8 @@ runs). Calling it again will cause a fatal error.</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><span class="term"><em class="parameter"><code>plug_in</code></em>&#160;:</span></td>
<td> must be <a
href="../glib/glib-Standard-Macros.html#TRUE:CAPS"
><code class="literal">TRUE</code></a> if this function is called from a plug-in
<td><p><span class="term"><em class="parameter"><code>plug_in</code></em>&#160;:</span></p></td>
<td> must be <code class="literal">TRUE</code> if this function is called from a plug-in
</td>
</tr></tbody>
</table></div>
@ -143,38 +99,37 @@ href="../glib/glib-Standard-Macros.html#TRUE:CAPS"
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2564229"></a><h3>
<a name="id2614230"></a><h3>
<a name="gimp-directory"></a>gimp_directory ()</h3>
<a class="indexterm" name="id2564241"></a><pre class="programlisting">const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a>* gimp_directory (void);</pre>
<a class="indexterm" name="id2614243"></a><pre class="programlisting">const gchar* gimp_directory (void);</pre>
<p>
Returns the user-specific GIMP settings directory. If the
environment variable GIMP2_DIRECTORY exists, it is used. If it is
an absolute path, it is used as is. If it is a relative path, it
is taken to be a subdirectory of the home directory. If it is a
relative path, and no home directory can be determined, it is taken
to be a subdirectory of <a href="libgimpbase-gimpenv.html#gimp-data-directory"><code class="function">gimp_data_directory()</code></a>.
to be a subdirectory of <a class="link" href="libgimpbase-gimpenv.html#gimp-data-directory"><code class="function">gimp_data_directory()</code></a>.
</p>
<p>
The usual case is that no GIMP2_DIRECTORY environment variable
exists, and then we use the GIMPDIR subdirectory of the home
directory. If no home directory exists, we use a per-user
subdirectory of <a href="libgimpbase-gimpenv.html#gimp-data-directory"><code class="function">gimp_data_directory()</code></a>. In any case, we always
subdirectory of <a class="link" href="libgimpbase-gimpenv.html#gimp-data-directory"><code class="function">gimp_data_directory()</code></a>. In any case, we always
return some non-empty string, whether it corresponds to an existing
directory or not.
</p>
<p>
The returned string is owned by GIMP and must not be modified or
freed. The returned string is in the encoding used for filenames by
the system, which isn't necessarily UTF-8 (never is on Windows).</p>
GLib, which isn't necessarily UTF-8. (On Windows it always is
UTF-8.)</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></p></td>
<td> The user-specific GIMP settings directory.
</td>
</tr></tbody>
@ -182,29 +137,28 @@ the system, which isn't necessarily UTF-8 (never is on Windows).</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2564323"></a><h3>
<a name="id2614324"></a><h3>
<a name="gimp-data-directory"></a>gimp_data_directory ()</h3>
<a class="indexterm" name="id2564335"></a><pre class="programlisting">const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a>* gimp_data_directory (void);</pre>
<a class="indexterm" name="id2614337"></a><pre class="programlisting">const gchar* gimp_data_directory (void);</pre>
<p>
Returns the top directory for GIMP data. If the environment
variable GIMP2_DATADIR exists, that is used. It should be an
absolute pathname. Otherwise, on Unix the compile-time defined
directory is used. On Win32, the installation directory as deduced
from the executable's name is used.
directory is used. On Windows, the installation directory as deduced
from the executable's full filename is used.
</p>
<p>
The returned string is owned by GIMP and must not be modified or
freed. The returned string is in the encoding used for filenames by
the system, which isn't necessarily UTF-8 (never is on Windows).</p>
GLib, which isn't necessarily UTF-8. (On Windows it always is
UTF-8.)</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></p></td>
<td> The top directory for GIMP data.
</td>
</tr></tbody>
@ -212,29 +166,28 @@ the system, which isn't necessarily UTF-8 (never is on Windows).</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2564388"></a><h3>
<a name="id2614390"></a><h3>
<a name="gimp-locale-directory"></a>gimp_locale_directory ()</h3>
<a class="indexterm" name="id2564399"></a><pre class="programlisting">const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a>* gimp_locale_directory (void);</pre>
<a class="indexterm" name="id2614401"></a><pre class="programlisting">const gchar* gimp_locale_directory (void);</pre>
<p>
Returns the top directory for GIMP locale files. If the environment
variable GIMP2_LOCALEDIR exists, that is used. It should be an
absolute pathname. Otherwise, on Unix the compile-time defined
directory is used. On Win32, the installation directory as deduced
from the executable's name is used.
directory is used. On Windows, the installation directory as deduced
from the executable's full filename is used.
</p>
<p>
The returned string is owned by GIMP and must not be modified or
freed. The returned string is in the encoding used for filenames by
the system, which isn't necessarily UTF-8 (never is on Windows).</p>
GLib, which isn't necessarily UTF-8. (On Windows it always is
UTF-8.)</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></p></td>
<td> The top directory for GIMP locale files.
</td>
</tr></tbody>
@ -242,29 +195,28 @@ the system, which isn't necessarily UTF-8 (never is on Windows).</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2564452"></a><h3>
<a name="id2614454"></a><h3>
<a name="gimp-plug-in-directory"></a>gimp_plug_in_directory ()</h3>
<a class="indexterm" name="id2564463"></a><pre class="programlisting">const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a>* gimp_plug_in_directory (void);</pre>
<a class="indexterm" name="id2614465"></a><pre class="programlisting">const gchar* gimp_plug_in_directory (void);</pre>
<p>
Returns the top directory for GIMP plug_ins and modules. If the
environment variable GIMP2_PLUGINDIR exists, that is used. It
should be an absolute pathname. Otherwise, on Unix the compile-time
defined directory is used. On Win32, the installation directory as
deduced from the executable's name is used.
defined directory is used. On Windows, the installation directory as
deduced from the executable's full filename is used.
</p>
<p>
The returned string is owned by GIMP and must not be modified or
freed. The returned string is in the encoding used for filenames by
the system, which isn't necessarily UTF-8 (never is on Windows).</p>
GLib, which isn't necessarily UTF-8. (On Windows it always is
UTF-8.)</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></p></td>
<td> The top directory for GIMP plug_ins and modules.
</td>
</tr></tbody>
@ -272,29 +224,28 @@ the system, which isn't necessarily UTF-8 (never is on Windows).</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2600294"></a><h3>
<a name="id2582674"></a><h3>
<a name="gimp-sysconf-directory"></a>gimp_sysconf_directory ()</h3>
<a class="indexterm" name="id2600305"></a><pre class="programlisting">const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a>* gimp_sysconf_directory (void);</pre>
<a class="indexterm" name="id2582685"></a><pre class="programlisting">const gchar* gimp_sysconf_directory (void);</pre>
<p>
Returns the top directory for GIMP config files. If the environment
variable GIMP2_SYSCONFDIR exists, that is used. It should be an
absolute pathname. Otherwise, on Unix the compile-time defined
directory is used. On Win32, the installation directory as deduced
from the executable's name is used.
directory is used. On Windows, the installation directory as deduced
from the executable's full filename is used.
</p>
<p>
The returned string is owned by GIMP and must not be modified or
freed. The returned string is in the encoding used for filenames by
the system, which isn't necessarily UTF-8 (never is on Windows).</p>
GLib, which isn't necessarily UTF-8. (On Windows it always is
UTF-8.).</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></p></td>
<td> The top directory for GIMP config files.
</td>
</tr></tbody>
@ -302,11 +253,9 @@ the system, which isn't necessarily UTF-8 (never is on Windows).</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2600358"></a><h3>
<a name="id2582738"></a><h3>
<a name="gimp-user-directory"></a>gimp_user_directory ()</h3>
<a class="indexterm" name="id2600372"></a><pre class="programlisting">const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a>* gimp_user_directory (<a href="libgimpbase-gimpbaseenums.html#GimpUserDirectory">GimpUserDirectory</a> type);</pre>
<a class="indexterm" name="id2582753"></a><pre class="programlisting">const gchar* gimp_user_directory (<a class="link" href="libgimpbase-gimpbaseenums.html#GimpUserDirectory">GimpUserDirectory</a> type);</pre>
<p>
Identifies special folders used frequently by applications, but
which may not have the same name or location on any given system.
@ -321,15 +270,13 @@ folders to a file-chooser.</p>
<col align="left" valign="top">
<tbody>
<tr>
<td><span class="term"><em class="parameter"><code>type</code></em>&#160;:</span></td>
<td><p><span class="term"><em class="parameter"><code>type</code></em>&#160;:</span></p></td>
<td> the type of user directory to retrieve
</td>
</tr>
<tr>
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td> The path to the specified user directory, or <a
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a> if the
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></p></td>
<td> The path to the specified user directory, or <code class="literal">NULL</code> if the
logical ID was not found.
</td>
@ -341,23 +288,17 @@ href="../glib/glib-Standard-Macros.html#NULL:CAPS"
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2600459"></a><h3>
<a name="id2582840"></a><h3>
<a name="gimp-personal-rc-file"></a>gimp_personal_rc_file ()</h3>
<a class="indexterm" name="id2600470"></a><pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a>* gimp_personal_rc_file (const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *basename);</pre>
<a class="indexterm" name="id2582851"></a><pre class="programlisting">gchar* gimp_personal_rc_file (const gchar *basename);</pre>
<p>
Returns the name of a file in the user-specific GIMP settings directory.
</p>
<p>
The returned string is allocated dynamically and *SHOULD* be freed
with <a
href="../glib/glib-Memory-Allocation.html#g-free"
><code class="function">g_free()</code></a> after use. The returned string is in the encoding used
for filenames by the system, which isn't necessarily UTF-8 (never
is on Windows).</p>
with <code class="function">g_free()</code> after use. The returned string is in the encoding
used for filenames by GLib, which isn't necessarily
UTF-8. (On Windows it always is UTF-8.)</p>
<p>
</p>
@ -365,12 +306,12 @@ is on Windows).</p>
<col align="left" valign="top">
<tbody>
<tr>
<td><span class="term"><em class="parameter"><code>basename</code></em>&#160;:</span></td>
<td><p><span class="term"><em class="parameter"><code>basename</code></em>&#160;:</span></p></td>
<td> The basename of a rc_file.
</td>
</tr>
<tr>
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></p></td>
<td> The name of a file in the user-specific GIMP settings directory.
</td>
</tr>
@ -379,25 +320,24 @@ is on Windows).</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2602823"></a><h3>
<a name="id2619984"></a><h3>
<a name="gimp-gtkrc"></a>gimp_gtkrc ()</h3>
<a class="indexterm" name="id2602833"></a><pre class="programlisting">const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a>* gimp_gtkrc (void);</pre>
<a class="indexterm" name="id2619994"></a><pre class="programlisting">const gchar* gimp_gtkrc (void);</pre>
<p>
Returns the name of GIMP's application-specific gtkrc file.
</p>
<p>
The returned string is owned by GIMP and must not be modified or
freed. The returned string is in the encoding used for filenames by
the system, which isn't necessarily UTF-8 (never is on Windows).</p>
GLib, which isn't necessarily UTF-8. (On Windows it always is
UTF-8.)</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></p></td>
<td> The name of GIMP's application-specific gtkrc file.
</td>
</tr></tbody>
@ -405,22 +345,12 @@ the system, which isn't necessarily UTF-8 (never is on Windows).</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2602879"></a><h3>
<a name="id2620040"></a><h3>
<a name="gimp-path-parse"></a>gimp_path_parse ()</h3>
<a class="indexterm" name="id2602889"></a><pre class="programlisting"><a
href="../glib/glib-Doubly-Linked-Lists.html#GList"
>GList</a>* gimp_path_parse (const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *path,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> max_paths,
<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> check,
<a
href="../glib/glib-Doubly-Linked-Lists.html#GList"
>GList</a> **check_failed);</pre>
<a class="indexterm" name="id2620051"></a><pre class="programlisting">GList* gimp_path_parse (const gchar *path,
gint max_paths,
gboolean check,
GList **check_failed);</pre>
<p>
</p>
<p>
@ -430,37 +360,29 @@ href="../glib/glib-Doubly-Linked-Lists.html#GList"
<col align="left" valign="top">
<tbody>
<tr>
<td><span class="term"><em class="parameter"><code>path</code></em>&#160;:</span></td>
<td> A list of directories separated by <a
href="../glib/glib-Standard-Macros.html#G-SEARCHPATH-SEPARATOR:CAPS"
><span class="type">G_SEARCHPATH_SEPARATOR</span></a>.
<td><p><span class="term"><em class="parameter"><code>path</code></em>&#160;:</span></p></td>
<td> A list of directories separated by <span class="type">G_SEARCHPATH_SEPARATOR</span>.
</td>
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>max_paths</code></em>&#160;:</span></td>
<td><p><span class="term"><em class="parameter"><code>max_paths</code></em>&#160;:</span></p></td>
<td> The maximum number of directories to return.
</td>
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>check</code></em>&#160;:</span></td>
<td> <a
href="../glib/glib-Standard-Macros.html#TRUE:CAPS"
><code class="literal">TRUE</code></a> if you want the directories to be checked.
<td><p><span class="term"><em class="parameter"><code>check</code></em>&#160;:</span></p></td>
<td> <code class="literal">TRUE</code> if you want the directories to be checked.
</td>
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>check_failed</code></em>&#160;:</span></td>
<td> Returns a <a
href="../glib/glib-Doubly-Linked-Lists.html#GList"
><span class="type">GList</span></a> of path elements for which the
<td><p><span class="term"><em class="parameter"><code>check_failed</code></em>&#160;:</span></p></td>
<td> Returns a <span class="type">GList</span> of path elements for which the
check failed.
</td>
</tr>
<tr>
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td> A <a
href="../glib/glib-Doubly-Linked-Lists.html#GList"
><span class="type">GList</span></a> of all directories in <em class="parameter"><code>path</code></em>.
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></p></td>
<td> A <span class="type">GList</span> of all directories in <em class="parameter"><code>path</code></em>.
</td>
</tr>
</tbody>
@ -468,13 +390,9 @@ href="../glib/glib-Doubly-Linked-Lists.html#GList"
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2603049"></a><h3>
<a name="id2620209"></a><h3>
<a name="gimp-path-to-str"></a>gimp_path_to_str ()</h3>
<a class="indexterm" name="id2603062"></a><pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a>* gimp_path_to_str (<a
href="../glib/glib-Doubly-Linked-Lists.html#GList"
>GList</a> *path);</pre>
<a class="indexterm" name="id2620222"></a><pre class="programlisting">gchar* gimp_path_to_str (GList *path);</pre>
<p>
</p>
<p>
@ -484,15 +402,13 @@ href="../glib/glib-Doubly-Linked-Lists.html#GList"
<col align="left" valign="top">
<tbody>
<tr>
<td><span class="term"><em class="parameter"><code>path</code></em>&#160;:</span></td>
<td> A list of directories as returned by <a href="libgimpbase-gimpenv.html#gimp-path-parse"><code class="function">gimp_path_parse()</code></a>.
<td><p><span class="term"><em class="parameter"><code>path</code></em>&#160;:</span></p></td>
<td> A list of directories as returned by <a class="link" href="libgimpbase-gimpenv.html#gimp-path-parse"><code class="function">gimp_path_parse()</code></a>.
</td>
</tr>
<tr>
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td> A searchpath string separated by <a
href="../glib/glib-Standard-Macros.html#G-SEARCHPATH-SEPARATOR:CAPS"
><span class="type">G_SEARCHPATH_SEPARATOR</span></a>.
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></p></td>
<td> A searchpath string separated by <span class="type">G_SEARCHPATH_SEPARATOR</span>.
</td>
</tr>
</tbody>
@ -500,11 +416,9 @@ href="../glib/glib-Standard-Macros.html#G-SEARCHPATH-SEPARATOR:CAPS"
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2603139"></a><h3>
<a name="id2620299"></a><h3>
<a name="gimp-path-free"></a>gimp_path_free ()</h3>
<a class="indexterm" name="id2603152"></a><pre class="programlisting">void gimp_path_free (<a
href="../glib/glib-Doubly-Linked-Lists.html#GList"
>GList</a> *path);</pre>
<a class="indexterm" name="id2620312"></a><pre class="programlisting">void gimp_path_free (GList *path);</pre>
<p>
This function frees the memory allocated for the list and the strings
it contains.</p>
@ -514,25 +428,19 @@ it contains.</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><span class="term"><em class="parameter"><code>path</code></em>&#160;:</span></td>
<td> A list of directories as returned by <a href="libgimpbase-gimpenv.html#gimp-path-parse"><code class="function">gimp_path_parse()</code></a>.
<td><p><span class="term"><em class="parameter"><code>path</code></em>&#160;:</span></p></td>
<td> A list of directories as returned by <a class="link" href="libgimpbase-gimpenv.html#gimp-path-parse"><code class="function">gimp_path_parse()</code></a>.
</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2583543"></a><h3>
<a name="id2620373"></a><h3>
<a name="gimp-path-get-user-writable-dir"></a>gimp_path_get_user_writable_dir ()</h3>
<a class="indexterm" name="id2562739"></a><pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a>* gimp_path_get_user_writable_dir (<a
href="../glib/glib-Doubly-Linked-Lists.html#GList"
>GList</a> *path);</pre>
<a class="indexterm" name="id2620386"></a><pre class="programlisting">gchar* gimp_path_get_user_writable_dir (GList *path);</pre>
<p>
Note that you have to <a
href="../glib/glib-Memory-Allocation.html#g-free"
><code class="function">g_free()</code></a> the returned string.</p>
Note that you have to <code class="function">g_free()</code> the returned string.</p>
<p>
</p>
@ -540,12 +448,12 @@ href="../glib/glib-Memory-Allocation.html#g-free"
<col align="left" valign="top">
<tbody>
<tr>
<td><span class="term"><em class="parameter"><code>path</code></em>&#160;:</span></td>
<td> A list of directories as returned by <a href="libgimpbase-gimpenv.html#gimp-path-parse"><code class="function">gimp_path_parse()</code></a>.
<td><p><span class="term"><em class="parameter"><code>path</code></em>&#160;:</span></p></td>
<td> A list of directories as returned by <a class="link" href="libgimpbase-gimpenv.html#gimp-path-parse"><code class="function">gimp_path_parse()</code></a>.
</td>
</tr>
<tr>
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></p></td>
<td> The first directory in <em class="parameter"><code>path</code></em> where the user has write permission.
</td>
</tr>

View File

@ -3,7 +3,7 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>gimplimits</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.72.0">
<meta name="generator" content="DocBook XSL Stylesheets V1.73.2">
<link rel="start" href="index.html" title="GIMP Base Library Reference Manual">
<link rel="up" href="libgimpbase.html" title="Part&#160;I.&#160;GIMP Base Library">
<link rel="prev" href="libgimpbase-gimpversion.html" title="gimpversion">
@ -25,16 +25,16 @@
<th width="100%" align="center">GIMP Base Library Reference Manual</th>
<td><a accesskey="n" href="libgimpbase-gimpparam.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2578148" class="shortcut">Top</a>
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2598482" class="shortcut">Top</a>
&#160;|&#160;
<a href="#id2588621" class="shortcut">Description</a></nobr></td></tr>
<a href="#id2601531" class="shortcut">Description</a></nobr></td></tr>
</table>
<div class="refentry" lang="en">
<a name="libgimpbase-gimplimits"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2>
<a name="id2578148"></a><span class="refentrytitle">gimplimits</span>
<a name="id2598482"></a><span class="refentrytitle">gimplimits</span>
</h2>
<p>gimplimits &#8212; Boundaries of some GIMP data types and some global constants.</p>
</td>
@ -46,26 +46,26 @@
#define <a href="libgimpbase-gimplimits.html#GIMP-MIN-IMAGE-SIZE:CAPS">GIMP_MIN_IMAGE_SIZE</a>
#define <a href="libgimpbase-gimplimits.html#GIMP-MAX-IMAGE-SIZE:CAPS">GIMP_MAX_IMAGE_SIZE</a>
#define <a href="libgimpbase-gimplimits.html#GIMP-MIN-RESOLUTION:CAPS">GIMP_MIN_RESOLUTION</a>
#define <a href="libgimpbase-gimplimits.html#GIMP-MAX-RESOLUTION:CAPS">GIMP_MAX_RESOLUTION</a>
#define <a href="libgimpbase-gimplimits.html#GIMP-MAX-MEMSIZE:CAPS">GIMP_MAX_MEMSIZE</a>
#define <a class="link" href="libgimpbase-gimplimits.html#GIMP-MIN-IMAGE-SIZE:CAPS">GIMP_MIN_IMAGE_SIZE</a>
#define <a class="link" href="libgimpbase-gimplimits.html#GIMP-MAX-IMAGE-SIZE:CAPS">GIMP_MAX_IMAGE_SIZE</a>
#define <a class="link" href="libgimpbase-gimplimits.html#GIMP-MIN-RESOLUTION:CAPS">GIMP_MIN_RESOLUTION</a>
#define <a class="link" href="libgimpbase-gimplimits.html#GIMP-MAX-RESOLUTION:CAPS">GIMP_MAX_RESOLUTION</a>
#define <a class="link" href="libgimpbase-gimplimits.html#GIMP-MAX-MEMSIZE:CAPS">GIMP_MAX_MEMSIZE</a>
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2588621"></a><h2>Description</h2>
<a name="id2601531"></a><h2>Description</h2>
<p>
Boundaries of some GIMP data types and some global constants.
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2563269"></a><h2>Details</h2>
<a name="id2605181"></a><h2>Details</h2>
<div class="refsect2" lang="en">
<a name="id2563280"></a><h3>
<a name="id2605192"></a><h3>
<a name="GIMP-MIN-IMAGE-SIZE:CAPS"></a>GIMP_MIN_IMAGE_SIZE</h3>
<a class="indexterm" name="id2563292"></a><pre class="programlisting">#define GIMP_MIN_IMAGE_SIZE 1
<a class="indexterm" name="id2605203"></a><pre class="programlisting">#define GIMP_MIN_IMAGE_SIZE 1
</pre>
<p>
The minimum width and height of a GIMP image in pixels.
@ -73,9 +73,9 @@ The minimum width and height of a GIMP image in pixels.
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2563308"></a><h3>
<a name="id2605220"></a><h3>
<a name="GIMP-MAX-IMAGE-SIZE:CAPS"></a>GIMP_MAX_IMAGE_SIZE</h3>
<a class="indexterm" name="id2594580"></a><pre class="programlisting">#define GIMP_MAX_IMAGE_SIZE 262144 /* 2^18 */
<a class="indexterm" name="id2590677"></a><pre class="programlisting">#define GIMP_MAX_IMAGE_SIZE 262144 /* 2^18 */
</pre>
<p>
The maximum width and height of a GIMP image in pixels. This is a
@ -85,9 +85,9 @@ sizes is needed; for example to give a spin button an upper limit.
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2594599"></a><h3>
<a name="id2590697"></a><h3>
<a name="GIMP-MIN-RESOLUTION:CAPS"></a>GIMP_MIN_RESOLUTION</h3>
<a class="indexterm" name="id2594611"></a><pre class="programlisting">#define GIMP_MIN_RESOLUTION 5e-3 /* shouldn't display as 0.000 */
<a class="indexterm" name="id2590708"></a><pre class="programlisting">#define GIMP_MIN_RESOLUTION 5e-3 /* shouldn't display as 0.000 */
</pre>
<p>
The minimum resolution of a GIMP image in pixels per inch. This is a
@ -98,9 +98,9 @@ this value.
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2594631"></a><h3>
<a name="id2590728"></a><h3>
<a name="GIMP-MAX-RESOLUTION:CAPS"></a>GIMP_MAX_RESOLUTION</h3>
<a class="indexterm" name="id2594643"></a><pre class="programlisting">#define GIMP_MAX_RESOLUTION 65536.0
<a class="indexterm" name="id2590740"></a><pre class="programlisting">#define GIMP_MAX_RESOLUTION 65536.0
</pre>
<p>
The maximum resolution of a GIMP image in pixels per inch. This is a
@ -111,17 +111,15 @@ this value.
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2594662"></a><h3>
<a name="id2590759"></a><h3>
<a name="GIMP-MAX-MEMSIZE:CAPS"></a>GIMP_MAX_MEMSIZE</h3>
<a class="indexterm" name="id2594673"></a><pre class="programlisting">#define GIMP_MAX_MEMSIZE ((guint64) 1 &lt;&lt; 42) /* 4 terabyte;
<a class="indexterm" name="id2590771"></a><pre class="programlisting">#define GIMP_MAX_MEMSIZE ((guint64) 1 &lt;&lt; 42) /* 4 terabyte;
</pre>
<p>
A large but arbitrary value that can be used when an upper limit for a
memory size (in bytes) is needed. It is smaller than <a
href="../glib/glib-Limits-of-Basic-Types.html#G-MAXDOUBLE:CAPS"
><code class="literal">G_MAXDOUBLE</code></a> since
memory size (in bytes) is needed. It is smaller than <code class="literal">G_MAXDOUBLE</code> since
the <a
href="../libgimpwidgets/GimpMemsizeEntry.html"
href="/local/head/share/gtk-doc/html/libgimpwidgets/GimpMemsizeEntry.html"
><span class="type">GimpMemsizeEntry</span></a> doesn't handle larger values.
</p>
</div>

View File

@ -3,7 +3,7 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>gimpmemsize</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.72.0">
<meta name="generator" content="DocBook XSL Stylesheets V1.73.2">
<link rel="start" href="index.html" title="GIMP Base Library Reference Manual">
<link rel="up" href="libgimpbase.html" title="Part&#160;I.&#160;GIMP Base Library">
<link rel="prev" href="libgimpbase-gimpenv.html" title="gimpenv">
@ -25,16 +25,16 @@
<th width="100%" align="center">GIMP Base Library Reference Manual</th>
<td><a accesskey="n" href="libgimpbase-gimprectangle.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2585226" class="shortcut">Top</a>
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2585210" class="shortcut">Top</a>
&#160;|&#160;
<a href="#id2596551" class="shortcut">Description</a></nobr></td></tr>
<a href="#id2575522" class="shortcut">Description</a></nobr></td></tr>
</table>
<div class="refentry" lang="en">
<a name="libgimpbase-gimpmemsize"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2>
<a name="id2585226"></a><span class="refentrytitle">gimpmemsize</span>
<a name="id2585210"></a><span class="refentrytitle">gimpmemsize</span>
</h2>
<p>gimpmemsize &#8212; Functions to (de)serialize a given memory size.</p>
</td>
@ -46,75 +46,41 @@
<a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a>* <a href="libgimpbase-gimpmemsize.html#gimp-memsize-serialize">gimp_memsize_serialize</a> (<a
href="../glib/glib-Basic-Types.html#guint64"
>guint64</a> memsize);
<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> <a href="libgimpbase-gimpmemsize.html#gimp-memsize-deserialize">gimp_memsize_deserialize</a> (const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *string,
<a
href="../glib/glib-Basic-Types.html#guint64"
>guint64</a> *memsize);
<a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a>* <a href="libgimpbase-gimpmemsize.html#gimp-memsize-to-string">gimp_memsize_to_string</a> (<a
href="../glib/glib-Basic-Types.html#guint64"
>guint64</a> memsize);
#define <a href="libgimpbase-gimpmemsize.html#GIMP-TYPE-MEMSIZE:CAPS">GIMP_TYPE_MEMSIZE</a>
#define <a href="libgimpbase-gimpmemsize.html#GIMP-TYPE-PARAM-MEMSIZE:CAPS">GIMP_TYPE_PARAM_MEMSIZE</a>
#define <a href="libgimpbase-gimpmemsize.html#GIMP-IS-PARAM-SPEC-MEMSIZE:CAPS">GIMP_IS_PARAM_SPEC_MEMSIZE</a> (pspec)
<a
href="../gobject/gobject-GParamSpec.html#GParamSpec"
>GParamSpec</a>* <a href="libgimpbase-gimpmemsize.html#gimp-param-spec-memsize">gimp_param_spec_memsize</a> (const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *name,
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *nick,
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *blurb,
<a
href="../glib/glib-Basic-Types.html#guint64"
>guint64</a> minimum,
<a
href="../glib/glib-Basic-Types.html#guint64"
>guint64</a> maximum,
<a
href="../glib/glib-Basic-Types.html#guint64"
>guint64</a> default_value,
<a
href="../gobject/gobject-GParamSpec.html#GParamFlags"
>GParamFlags</a> flags);
#define <a href="libgimpbase-gimpmemsize.html#GIMP-VALUE-HOLDS-MEMSIZE:CAPS">GIMP_VALUE_HOLDS_MEMSIZE</a> (value)
gchar* <a class="link" href="libgimpbase-gimpmemsize.html#gimp-memsize-serialize">gimp_memsize_serialize</a> (guint64 memsize);
gboolean <a class="link" href="libgimpbase-gimpmemsize.html#gimp-memsize-deserialize">gimp_memsize_deserialize</a> (const gchar *string,
guint64 *memsize);
gchar* <a class="link" href="libgimpbase-gimpmemsize.html#gimp-memsize-to-string">gimp_memsize_to_string</a> (guint64 memsize);
#define <a class="link" href="libgimpbase-gimpmemsize.html#GIMP-TYPE-MEMSIZE:CAPS">GIMP_TYPE_MEMSIZE</a>
#define <a class="link" href="libgimpbase-gimpmemsize.html#GIMP-TYPE-PARAM-MEMSIZE:CAPS">GIMP_TYPE_PARAM_MEMSIZE</a>
#define <a class="link" href="libgimpbase-gimpmemsize.html#GIMP-IS-PARAM-SPEC-MEMSIZE:CAPS">GIMP_IS_PARAM_SPEC_MEMSIZE</a> (pspec)
GParamSpec* <a class="link" href="libgimpbase-gimpmemsize.html#gimp-param-spec-memsize">gimp_param_spec_memsize</a> (const gchar *name,
const gchar *nick,
const gchar *blurb,
guint64 minimum,
guint64 maximum,
guint64 default_value,
GParamFlags flags);
#define <a class="link" href="libgimpbase-gimpmemsize.html#GIMP-VALUE-HOLDS-MEMSIZE:CAPS">GIMP_VALUE_HOLDS_MEMSIZE</a> (value)
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2596551"></a><h2>Description</h2>
<a name="id2575522"></a><h2>Description</h2>
<p>
Functions to (de)serialize a given memory size.
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2596567"></a><h2>Details</h2>
<a name="id2575539"></a><h2>Details</h2>
<div class="refsect2" lang="en">
<a name="id2596578"></a><h3>
<a name="id2618640"></a><h3>
<a name="gimp-memsize-serialize"></a>gimp_memsize_serialize ()</h3>
<a class="indexterm" name="id2577881"></a><pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a>* gimp_memsize_serialize (<a
href="../glib/glib-Basic-Types.html#guint64"
>guint64</a> memsize);</pre>
<a class="indexterm" name="id2618654"></a><pre class="programlisting">gchar* gimp_memsize_serialize (guint64 memsize);</pre>
<p>
Creates a string representation of a given memory size. This string
can be parsed by <a href="libgimpbase-gimpmemsize.html#gimp-memsize-deserialize"><code class="function">gimp_memsize_deserialize()</code></a> and can thus be used in
can be parsed by <a class="link" href="libgimpbase-gimpmemsize.html#gimp-memsize-deserialize"><code class="function">gimp_memsize_deserialize()</code></a> and can thus be used in
config files. It should not be displayed to the user. If you need a
nice human-readable string please use <a href="libgimpbase-gimpmemsize.html#gimp-memsize-to-string"><code class="function">gimp_memsize_to_string()</code></a>.</p>
nice human-readable string please use <a class="link" href="libgimpbase-gimpmemsize.html#gimp-memsize-to-string"><code class="function">gimp_memsize_to_string()</code></a>.</p>
<p>
</p>
@ -122,12 +88,12 @@ nice human-readable string please use <a href="libgimpbase-gimpmemsize.html#gimp
<col align="left" valign="top">
<tbody>
<tr>
<td><span class="term"><em class="parameter"><code>memsize</code></em>&#160;:</span></td>
<td><p><span class="term"><em class="parameter"><code>memsize</code></em>&#160;:</span></p></td>
<td> memory size in bytes
</td>
</tr>
<tr>
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></p></td>
<td> A newly allocated string representation of <em class="parameter"><code>memsize</code></em>.
</td>
@ -139,19 +105,13 @@ nice human-readable string please use <a href="libgimpbase-gimpmemsize.html#gimp
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2577976"></a><h3>
<a name="id2618748"></a><h3>
<a name="gimp-memsize-deserialize"></a>gimp_memsize_deserialize ()</h3>
<a class="indexterm" name="id2577990"></a><pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> gimp_memsize_deserialize (const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *string,
<a
href="../glib/glib-Basic-Types.html#guint64"
>guint64</a> *memsize);</pre>
<a class="indexterm" name="id2618762"></a><pre class="programlisting">gboolean gimp_memsize_deserialize (const gchar *string,
guint64 *memsize);</pre>
<p>
Parses a string representation of a memory size as returned by
<a href="libgimpbase-gimpmemsize.html#gimp-memsize-serialize"><code class="function">gimp_memsize_serialize()</code></a>.</p>
<a class="link" href="libgimpbase-gimpmemsize.html#gimp-memsize-serialize"><code class="function">gimp_memsize_serialize()</code></a>.</p>
<p>
</p>
@ -159,23 +119,19 @@ Parses a string representation of a memory size as returned by
<col align="left" valign="top">
<tbody>
<tr>
<td><span class="term"><em class="parameter"><code>string</code></em>&#160;:</span></td>
<td> a string as returned by <a href="libgimpbase-gimpmemsize.html#gimp-memsize-serialize"><code class="function">gimp_memsize_serialize()</code></a>
<td><p><span class="term"><em class="parameter"><code>string</code></em>&#160;:</span></p></td>
<td> a string as returned by <a class="link" href="libgimpbase-gimpmemsize.html#gimp-memsize-serialize"><code class="function">gimp_memsize_serialize()</code></a>
</td>
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>memsize</code></em>&#160;:</span></td>
<td><p><span class="term"><em class="parameter"><code>memsize</code></em>&#160;:</span></p></td>
<td> return location for memory size in bytes
</td>
</tr>
<tr>
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td> <a
href="../glib/glib-Standard-Macros.html#TRUE:CAPS"
><code class="literal">TRUE</code></a> if the <em class="parameter"><code>string</code></em> was successfully parsed and
<em class="parameter"><code>memsize</code></em> has been set, <a
href="../glib/glib-Standard-Macros.html#FALSE:CAPS"
><code class="literal">FALSE</code></a> otherwise.
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></p></td>
<td> <code class="literal">TRUE</code> if the <em class="parameter"><code>string</code></em> was successfully parsed and
<em class="parameter"><code>memsize</code></em> has been set, <code class="literal">FALSE</code> otherwise.
</td>
</tr>
@ -186,13 +142,9 @@ href="../glib/glib-Standard-Macros.html#FALSE:CAPS"
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2558829"></a><h3>
<a name="id2577190"></a><h3>
<a name="gimp-memsize-to-string"></a>gimp_memsize_to_string ()</h3>
<a class="indexterm" name="id2558840"></a><pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a>* gimp_memsize_to_string (<a
href="../glib/glib-Basic-Types.html#guint64"
>guint64</a> memsize);</pre>
<a class="indexterm" name="id2577202"></a><pre class="programlisting">gchar* gimp_memsize_to_string (guint64 memsize);</pre>
<p>
This function returns a human readable, translated representation
of the passed <em class="parameter"><code>memsize</code></em>. Large values are displayed using a
@ -205,12 +157,12 @@ becomes "4.4 KB" and so on.</p>
<col align="left" valign="top">
<tbody>
<tr>
<td><span class="term"><em class="parameter"><code>memsize</code></em>&#160;:</span></td>
<td><p><span class="term"><em class="parameter"><code>memsize</code></em>&#160;:</span></p></td>
<td> A memory size in bytes.
</td>
</tr>
<tr>
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></p></td>
<td> A newly allocated human-readable, translated string.
</td>
</tr>
@ -219,23 +171,19 @@ becomes "4.4 KB" and so on.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2558910"></a><h3>
<a name="id2577272"></a><h3>
<a name="GIMP-TYPE-MEMSIZE:CAPS"></a>GIMP_TYPE_MEMSIZE</h3>
<a class="indexterm" name="id2558921"></a><pre class="programlisting">#define GIMP_TYPE_MEMSIZE (gimp_memsize_get_type ())
<a class="indexterm" name="id2577283"></a><pre class="programlisting">#define GIMP_TYPE_MEMSIZE (gimp_memsize_get_type ())
</pre>
<p>
<a href="libgimpbase-gimpmemsize.html#GIMP-TYPE-MEMSIZE:CAPS"><span class="type">GIMP_TYPE_MEMSIZE</span></a> is a <a
href="../gobject/gobject-Type-Information.html#GType"
><span class="type">GType</span></a> derived from <a
href="../gobject/gobject-Type-Information.html#G-TYPE-UINT64:CAPS"
><span class="type">G_TYPE_UINT64</span></a>.
<a class="link" href="libgimpbase-gimpmemsize.html#GIMP-TYPE-MEMSIZE:CAPS"><span class="type">GIMP_TYPE_MEMSIZE</span></a> is a <span class="type">GType</span> derived from <span class="type">G_TYPE_UINT64</span>.
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2558959"></a><h3>
<a name="id2577321"></a><h3>
<a name="GIMP-TYPE-PARAM-MEMSIZE:CAPS"></a>GIMP_TYPE_PARAM_MEMSIZE</h3>
<a class="indexterm" name="id2558971"></a><pre class="programlisting">#define GIMP_TYPE_PARAM_MEMSIZE (gimp_param_memsize_get_type ())
<a class="indexterm" name="id2577332"></a><pre class="programlisting">#define GIMP_TYPE_PARAM_MEMSIZE (gimp_param_memsize_get_type ())
</pre>
<p>
@ -243,9 +191,9 @@ href="../gobject/gobject-Type-Information.html#G-TYPE-UINT64:CAPS"
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2557737"></a><h3>
<a name="id2587241"></a><h3>
<a name="GIMP-IS-PARAM-SPEC-MEMSIZE:CAPS"></a>GIMP_IS_PARAM_SPEC_MEMSIZE()</h3>
<a class="indexterm" name="id2557747"></a><pre class="programlisting">#define GIMP_IS_PARAM_SPEC_MEMSIZE(pspec) (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), GIMP_TYPE_PARAM_MEMSIZE))
<a class="indexterm" name="id2587252"></a><pre class="programlisting">#define GIMP_IS_PARAM_SPEC_MEMSIZE(pspec) (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), GIMP_TYPE_PARAM_MEMSIZE))
</pre>
<p>
@ -253,7 +201,7 @@ href="../gobject/gobject-Type-Information.html#G-TYPE-UINT64:CAPS"
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><span class="term"><em class="parameter"><code>pspec</code></em>&#160;:</span></td>
<td><p><span class="term"><em class="parameter"><code>pspec</code></em>&#160;:</span></p></td>
<td>
@ -263,36 +211,18 @@ href="../gobject/gobject-Type-Information.html#G-TYPE-UINT64:CAPS"
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2557783"></a><h3>
<a name="id2587288"></a><h3>
<a name="gimp-param-spec-memsize"></a>gimp_param_spec_memsize ()</h3>
<a class="indexterm" name="id2557796"></a><pre class="programlisting"><a
href="../gobject/gobject-GParamSpec.html#GParamSpec"
>GParamSpec</a>* gimp_param_spec_memsize (const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *name,
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *nick,
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *blurb,
<a
href="../glib/glib-Basic-Types.html#guint64"
>guint64</a> minimum,
<a
href="../glib/glib-Basic-Types.html#guint64"
>guint64</a> maximum,
<a
href="../glib/glib-Basic-Types.html#guint64"
>guint64</a> default_value,
<a
href="../gobject/gobject-GParamSpec.html#GParamFlags"
>GParamFlags</a> flags);</pre>
<a class="indexterm" name="id2587301"></a><pre class="programlisting">GParamSpec* gimp_param_spec_memsize (const gchar *name,
const gchar *nick,
const gchar *blurb,
guint64 minimum,
guint64 maximum,
guint64 default_value,
GParamFlags flags);</pre>
<p>
Creates a param spec to hold a memory size value.
See <a
href="../gobject/gobject-GParamSpec.html#g-param-spec-internal"
><code class="function">g_param_spec_internal()</code></a> for more information.</p>
See <code class="function">g_param_spec_internal()</code> for more information.</p>
<p>
</p>
@ -300,47 +230,43 @@ href="../gobject/gobject-GParamSpec.html#g-param-spec-internal"
<col align="left" valign="top">
<tbody>
<tr>
<td><span class="term"><em class="parameter"><code>name</code></em>&#160;:</span></td>
<td><p><span class="term"><em class="parameter"><code>name</code></em>&#160;:</span></p></td>
<td> Canonical name of the param
</td>
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>nick</code></em>&#160;:</span></td>
<td><p><span class="term"><em class="parameter"><code>nick</code></em>&#160;:</span></p></td>
<td> Nickname of the param
</td>
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>blurb</code></em>&#160;:</span></td>
<td><p><span class="term"><em class="parameter"><code>blurb</code></em>&#160;:</span></p></td>
<td> Brief desciption of param.
</td>
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>minimum</code></em>&#160;:</span></td>
<td><p><span class="term"><em class="parameter"><code>minimum</code></em>&#160;:</span></p></td>
<td> Smallest allowed value of the parameter.
</td>
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>maximum</code></em>&#160;:</span></td>
<td><p><span class="term"><em class="parameter"><code>maximum</code></em>&#160;:</span></p></td>
<td> Largest allowed value of the parameter.
</td>
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>default_value</code></em>&#160;:</span></td>
<td><p><span class="term"><em class="parameter"><code>default_value</code></em>&#160;:</span></p></td>
<td> Value to use if none is assigned.
</td>
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>flags</code></em>&#160;:</span></td>
<td> a combination of <a
href="../gobject/gobject-GParamSpec.html#GParamFlags"
><span class="type">GParamFlags</span></a>
<td><p><span class="term"><em class="parameter"><code>flags</code></em>&#160;:</span></p></td>
<td> a combination of <span class="type">GParamFlags</span>
</td>
</tr>
<tr>
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td> a newly allocated <a
href="../gobject/gobject-GParamSpec.html#GParamSpec"
><span class="type">GParamSpec</span></a> instance
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></p></td>
<td> a newly allocated <span class="type">GParamSpec</span> instance
</td>
</tr>
@ -351,9 +277,9 @@ href="../gobject/gobject-GParamSpec.html#GParamSpec"
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2603823"></a><h3>
<a name="id2620992"></a><h3>
<a name="GIMP-VALUE-HOLDS-MEMSIZE:CAPS"></a>GIMP_VALUE_HOLDS_MEMSIZE()</h3>
<a class="indexterm" name="id2603835"></a><pre class="programlisting">#define GIMP_VALUE_HOLDS_MEMSIZE(value) (G_TYPE_CHECK_VALUE_TYPE ((value), GIMP_TYPE_MEMSIZE))
<a class="indexterm" name="id2621002"></a><pre class="programlisting">#define GIMP_VALUE_HOLDS_MEMSIZE(value) (G_TYPE_CHECK_VALUE_TYPE ((value), GIMP_TYPE_MEMSIZE))
</pre>
<p>
@ -361,7 +287,7 @@ href="../gobject/gobject-GParamSpec.html#GParamSpec"
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><span class="term"><em class="parameter"><code>value</code></em>&#160;:</span></td>
<td><p><span class="term"><em class="parameter"><code>value</code></em>&#160;:</span></p></td>
<td>

View File

@ -3,7 +3,7 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>gimpparam</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.72.0">
<meta name="generator" content="DocBook XSL Stylesheets V1.73.2">
<link rel="start" href="index.html" title="GIMP Base Library Reference Manual">
<link rel="up" href="libgimpbase.html" title="Part&#160;I.&#160;GIMP Base Library">
<link rel="prev" href="libgimpbase-gimplimits.html" title="gimplimits">
@ -25,20 +25,18 @@
<th width="100%" align="center">GIMP Base Library Reference Manual</th>
<td><a accesskey="n" href="libgimpbase-gimpchecks.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2571472" class="shortcut">Top</a>
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2613192" class="shortcut">Top</a>
&#160;|&#160;
<a href="#id2589876" class="shortcut">Description</a></nobr></td></tr>
<a href="#id2597606" class="shortcut">Description</a></nobr></td></tr>
</table>
<div class="refentry" lang="en">
<a name="libgimpbase-gimpparam"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2>
<a name="id2571472"></a><span class="refentrytitle">gimpparam</span>
<a name="id2613192"></a><span class="refentrytitle">gimpparam</span>
</h2>
<p>gimpparam &#8212; Definitions of useful <a
href="../gobject/gobject-GParamSpec.html#GParamFlags"
><span class="type">GParamFlags</span></a>.</p>
<p>gimpparam &#8212; Definitions of useful <span class="type">GParamFlags</span>.</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
@ -48,51 +46,51 @@ href="../gobject/gobject-GParamSpec.html#GParamFlags"
#define <a href="libgimpbase-gimpparam.html#GIMP-PARAM-STATIC-STRINGS:CAPS">GIMP_PARAM_STATIC_STRINGS</a>
#define <a href="libgimpbase-gimpparam.html#GIMP-PARAM-READABLE:CAPS">GIMP_PARAM_READABLE</a>
#define <a href="libgimpbase-gimpparam.html#GIMP-PARAM-WRITABLE:CAPS">GIMP_PARAM_WRITABLE</a>
#define <a href="libgimpbase-gimpparam.html#GIMP-PARAM-READWRITE:CAPS">GIMP_PARAM_READWRITE</a>
#define <a class="link" href="libgimpbase-gimpparam.html#GIMP-PARAM-STATIC-STRINGS:CAPS">GIMP_PARAM_STATIC_STRINGS</a>
#define <a class="link" href="libgimpbase-gimpparam.html#GIMP-PARAM-READABLE:CAPS">GIMP_PARAM_READABLE</a>
#define <a class="link" href="libgimpbase-gimpparam.html#GIMP-PARAM-WRITABLE:CAPS">GIMP_PARAM_WRITABLE</a>
#define <a class="link" href="libgimpbase-gimpparam.html#GIMP-PARAM-READWRITE:CAPS">GIMP_PARAM_READWRITE</a>
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2589876"></a><h2>Description</h2>
<a name="id2597606"></a><h2>Description</h2>
<p>
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2593590"></a><h2>Details</h2>
<a name="id2611844"></a><h2>Details</h2>
<div class="refsect2" lang="en">
<a name="id2593600"></a><h3>
<a name="id2611855"></a><h3>
<a name="GIMP-PARAM-STATIC-STRINGS:CAPS"></a>GIMP_PARAM_STATIC_STRINGS</h3>
<a class="indexterm" name="id2593612"></a><pre class="programlisting">#define GIMP_PARAM_STATIC_STRINGS</pre>
<a class="indexterm" name="id2611866"></a><pre class="programlisting">#define GIMP_PARAM_STATIC_STRINGS</pre>
<p>
Since: GIMP 2.4
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2593628"></a><h3>
<a name="id2611882"></a><h3>
<a name="GIMP-PARAM-READABLE:CAPS"></a>GIMP_PARAM_READABLE</h3>
<a class="indexterm" name="id2593639"></a><pre class="programlisting">#define GIMP_PARAM_READABLE</pre>
<a class="indexterm" name="id2611894"></a><pre class="programlisting">#define GIMP_PARAM_READABLE</pre>
<p>
Since: GIMP 2.4
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2593655"></a><h3>
<a name="id2611909"></a><h3>
<a name="GIMP-PARAM-WRITABLE:CAPS"></a>GIMP_PARAM_WRITABLE</h3>
<a class="indexterm" name="id2593666"></a><pre class="programlisting">#define GIMP_PARAM_WRITABLE</pre>
<a class="indexterm" name="id2611921"></a><pre class="programlisting">#define GIMP_PARAM_WRITABLE</pre>
<p>
Since: GIMP 2.4
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2593682"></a><h3>
<a name="id2611936"></a><h3>
<a name="GIMP-PARAM-READWRITE:CAPS"></a>GIMP_PARAM_READWRITE</h3>
<a class="indexterm" name="id2593693"></a><pre class="programlisting">#define GIMP_PARAM_READWRITE</pre>
<a class="indexterm" name="id2611948"></a><pre class="programlisting">#define GIMP_PARAM_READWRITE</pre>
<p>
Since: GIMP 2.4
</p>

View File

@ -3,7 +3,7 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>gimpparasite</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.72.0">
<meta name="generator" content="DocBook XSL Stylesheets V1.73.2">
<link rel="start" href="index.html" title="GIMP Base Library Reference Manual">
<link rel="up" href="libgimpbase.html" title="Part&#160;I.&#160;GIMP Base Library">
<link rel="prev" href="libgimpbase-gimprectangle.html" title="gimprectangle">
@ -25,16 +25,16 @@
<th width="100%" align="center">GIMP Base Library Reference Manual</th>
<td><a accesskey="n" href="libgimpbase-gimpparasiteio.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2572915" class="shortcut">Top</a>
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2603138" class="shortcut">Top</a>
&#160;|&#160;
<a href="#id2561218" class="shortcut">Description</a></nobr></td></tr>
<a href="#id2576789" class="shortcut">Description</a></nobr></td></tr>
</table>
<div class="refentry" lang="en">
<a name="libgimpbase-gimpparasite"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2>
<a name="id2572915"></a><span class="refentrytitle">gimpparasite</span>
<a name="id2603138"></a><span class="refentrytitle">gimpparasite</span>
</h2>
<p>gimpparasite &#8212; Arbitrary pieces of data which can be attached to various GIMP objects.</p>
</td>
@ -46,97 +46,57 @@
<a href="libgimpbase-gimpparasite.html#GimpParasite">GimpParasite</a>;
<a href="libgimpbase-gimpparasite.html#GimpParasite">GimpParasite</a>* <a href="libgimpbase-gimpparasite.html#gimp-parasite-new">gimp_parasite_new</a> (const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *name,
<a
href="../glib/glib-Basic-Types.html#guint32"
>guint32</a> flags,
<a
href="../glib/glib-Basic-Types.html#guint32"
>guint32</a> size,
<a
href="../glib/glib-Basic-Types.html#gconstpointer"
>gconstpointer</a> data);
void <a href="libgimpbase-gimpparasite.html#gimp-parasite-free">gimp_parasite_free</a> (<a href="libgimpbase-gimpparasite.html#GimpParasite">GimpParasite</a> *parasite);
<a href="libgimpbase-gimpparasite.html#GimpParasite">GimpParasite</a>* <a href="libgimpbase-gimpparasite.html#gimp-parasite-copy">gimp_parasite_copy</a> (const <a href="libgimpbase-gimpparasite.html#GimpParasite">GimpParasite</a> *parasite);
<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> <a href="libgimpbase-gimpparasite.html#gimp-parasite-compare">gimp_parasite_compare</a> (const <a href="libgimpbase-gimpparasite.html#GimpParasite">GimpParasite</a> *a,
const <a href="libgimpbase-gimpparasite.html#GimpParasite">GimpParasite</a> *b);
<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> <a href="libgimpbase-gimpparasite.html#gimp-parasite-is-type">gimp_parasite_is_type</a> (const <a href="libgimpbase-gimpparasite.html#GimpParasite">GimpParasite</a> *parasite,
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *name);
<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> <a href="libgimpbase-gimpparasite.html#gimp-parasite-is-persistent">gimp_parasite_is_persistent</a> (const <a href="libgimpbase-gimpparasite.html#GimpParasite">GimpParasite</a> *parasite);
<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> <a href="libgimpbase-gimpparasite.html#gimp-parasite-is-undoable">gimp_parasite_is_undoable</a> (const <a href="libgimpbase-gimpparasite.html#GimpParasite">GimpParasite</a> *parasite);
<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> <a href="libgimpbase-gimpparasite.html#gimp-parasite-has-flag">gimp_parasite_has_flag</a> (const <a href="libgimpbase-gimpparasite.html#GimpParasite">GimpParasite</a> *parasite,
<a
href="../glib/glib-Basic-Types.html#gulong"
>gulong</a> flag);
<a
href="../glib/glib-Basic-Types.html#gulong"
>gulong</a> <a href="libgimpbase-gimpparasite.html#gimp-parasite-flags">gimp_parasite_flags</a> (const <a href="libgimpbase-gimpparasite.html#GimpParasite">GimpParasite</a> *parasite);
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a>* <a href="libgimpbase-gimpparasite.html#gimp-parasite-name">gimp_parasite_name</a> (const <a href="libgimpbase-gimpparasite.html#GimpParasite">GimpParasite</a> *parasite);
<a
href="../glib/glib-Basic-Types.html#gconstpointer"
>gconstpointer</a> <a href="libgimpbase-gimpparasite.html#gimp-parasite-data">gimp_parasite_data</a> (const <a href="libgimpbase-gimpparasite.html#GimpParasite">GimpParasite</a> *parasite);
<a
href="../glib/glib-Basic-Types.html#glong"
>glong</a> <a href="libgimpbase-gimpparasite.html#gimp-parasite-data-size">gimp_parasite_data_size</a> (const <a href="libgimpbase-gimpparasite.html#GimpParasite">GimpParasite</a> *parasite);
#define <a href="libgimpbase-gimpparasite.html#GIMP-PARASITE-PERSISTENT:CAPS">GIMP_PARASITE_PERSISTENT</a>
#define <a href="libgimpbase-gimpparasite.html#GIMP-PARASITE-UNDOABLE:CAPS">GIMP_PARASITE_UNDOABLE</a>
#define <a href="libgimpbase-gimpparasite.html#GIMP-PARASITE-ATTACH-PARENT:CAPS">GIMP_PARASITE_ATTACH_PARENT</a>
#define <a href="libgimpbase-gimpparasite.html#GIMP-PARASITE-PARENT-PERSISTENT:CAPS">GIMP_PARASITE_PARENT_PERSISTENT</a>
#define <a href="libgimpbase-gimpparasite.html#GIMP-PARASITE-PARENT-UNDOABLE:CAPS">GIMP_PARASITE_PARENT_UNDOABLE</a>
#define <a href="libgimpbase-gimpparasite.html#GIMP-PARASITE-ATTACH-GRANDPARENT:CAPS">GIMP_PARASITE_ATTACH_GRANDPARENT</a>
#define <a href="libgimpbase-gimpparasite.html#GIMP-PARASITE-GRANDPARENT-PERSISTENT:CAPS">GIMP_PARASITE_GRANDPARENT_PERSISTENT</a>
#define <a href="libgimpbase-gimpparasite.html#GIMP-PARASITE-GRANDPARENT-UNDOABLE:CAPS">GIMP_PARASITE_GRANDPARENT_UNDOABLE</a>
#define <a href="libgimpbase-gimpparasite.html#GIMP-TYPE-PARASITE:CAPS">GIMP_TYPE_PARASITE</a>
#define <a href="libgimpbase-gimpparasite.html#GIMP-TYPE-PARAM-PARASITE:CAPS">GIMP_TYPE_PARAM_PARASITE</a>
#define <a href="libgimpbase-gimpparasite.html#GIMP-IS-PARAM-SPEC-PARASITE:CAPS">GIMP_IS_PARAM_SPEC_PARASITE</a> (pspec)
<a
href="../gobject/gobject-GParamSpec.html#GParamSpec"
>GParamSpec</a>* <a href="libgimpbase-gimpparasite.html#gimp-param-spec-parasite">gimp_param_spec_parasite</a> (const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *name,
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *nick,
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *blurb,
<a
href="../gobject/gobject-GParamSpec.html#GParamFlags"
>GParamFlags</a> flags);
#define <a href="libgimpbase-gimpparasite.html#GIMP-VALUE-HOLDS-PARASITE:CAPS">GIMP_VALUE_HOLDS_PARASITE</a> (value)
<a class="link" href="libgimpbase-gimpparasite.html#GimpParasite">GimpParasite</a>;
<a class="link" href="libgimpbase-gimpparasite.html#GimpParasite">GimpParasite</a>* <a class="link" href="libgimpbase-gimpparasite.html#gimp-parasite-new">gimp_parasite_new</a> (const gchar *name,
guint32 flags,
guint32 size,
gconstpointer data);
void <a class="link" href="libgimpbase-gimpparasite.html#gimp-parasite-free">gimp_parasite_free</a> (<a class="link" href="libgimpbase-gimpparasite.html#GimpParasite">GimpParasite</a> *parasite);
<a class="link" href="libgimpbase-gimpparasite.html#GimpParasite">GimpParasite</a>* <a class="link" href="libgimpbase-gimpparasite.html#gimp-parasite-copy">gimp_parasite_copy</a> (const <a class="link" href="libgimpbase-gimpparasite.html#GimpParasite">GimpParasite</a> *parasite);
gboolean <a class="link" href="libgimpbase-gimpparasite.html#gimp-parasite-compare">gimp_parasite_compare</a> (const <a class="link" href="libgimpbase-gimpparasite.html#GimpParasite">GimpParasite</a> *a,
const <a class="link" href="libgimpbase-gimpparasite.html#GimpParasite">GimpParasite</a> *b);
gboolean <a class="link" href="libgimpbase-gimpparasite.html#gimp-parasite-is-type">gimp_parasite_is_type</a> (const <a class="link" href="libgimpbase-gimpparasite.html#GimpParasite">GimpParasite</a> *parasite,
const gchar *name);
gboolean <a class="link" href="libgimpbase-gimpparasite.html#gimp-parasite-is-persistent">gimp_parasite_is_persistent</a> (const <a class="link" href="libgimpbase-gimpparasite.html#GimpParasite">GimpParasite</a> *parasite);
gboolean <a class="link" href="libgimpbase-gimpparasite.html#gimp-parasite-is-undoable">gimp_parasite_is_undoable</a> (const <a class="link" href="libgimpbase-gimpparasite.html#GimpParasite">GimpParasite</a> *parasite);
gboolean <a class="link" href="libgimpbase-gimpparasite.html#gimp-parasite-has-flag">gimp_parasite_has_flag</a> (const <a class="link" href="libgimpbase-gimpparasite.html#GimpParasite">GimpParasite</a> *parasite,
gulong flag);
gulong <a class="link" href="libgimpbase-gimpparasite.html#gimp-parasite-flags">gimp_parasite_flags</a> (const <a class="link" href="libgimpbase-gimpparasite.html#GimpParasite">GimpParasite</a> *parasite);
const gchar* <a class="link" href="libgimpbase-gimpparasite.html#gimp-parasite-name">gimp_parasite_name</a> (const <a class="link" href="libgimpbase-gimpparasite.html#GimpParasite">GimpParasite</a> *parasite);
gconstpointer <a class="link" href="libgimpbase-gimpparasite.html#gimp-parasite-data">gimp_parasite_data</a> (const <a class="link" href="libgimpbase-gimpparasite.html#GimpParasite">GimpParasite</a> *parasite);
glong <a class="link" href="libgimpbase-gimpparasite.html#gimp-parasite-data-size">gimp_parasite_data_size</a> (const <a class="link" href="libgimpbase-gimpparasite.html#GimpParasite">GimpParasite</a> *parasite);
#define <a class="link" href="libgimpbase-gimpparasite.html#GIMP-PARASITE-PERSISTENT:CAPS">GIMP_PARASITE_PERSISTENT</a>
#define <a class="link" href="libgimpbase-gimpparasite.html#GIMP-PARASITE-UNDOABLE:CAPS">GIMP_PARASITE_UNDOABLE</a>
#define <a class="link" href="libgimpbase-gimpparasite.html#GIMP-PARASITE-ATTACH-PARENT:CAPS">GIMP_PARASITE_ATTACH_PARENT</a>
#define <a class="link" href="libgimpbase-gimpparasite.html#GIMP-PARASITE-PARENT-PERSISTENT:CAPS">GIMP_PARASITE_PARENT_PERSISTENT</a>
#define <a class="link" href="libgimpbase-gimpparasite.html#GIMP-PARASITE-PARENT-UNDOABLE:CAPS">GIMP_PARASITE_PARENT_UNDOABLE</a>
#define <a class="link" href="libgimpbase-gimpparasite.html#GIMP-PARASITE-ATTACH-GRANDPARENT:CAPS">GIMP_PARASITE_ATTACH_GRANDPARENT</a>
#define <a class="link" href="libgimpbase-gimpparasite.html#GIMP-PARASITE-GRANDPARENT-PERSISTENT:CAPS">GIMP_PARASITE_GRANDPARENT_PERSISTENT</a>
#define <a class="link" href="libgimpbase-gimpparasite.html#GIMP-PARASITE-GRANDPARENT-UNDOABLE:CAPS">GIMP_PARASITE_GRANDPARENT_UNDOABLE</a>
#define <a class="link" href="libgimpbase-gimpparasite.html#GIMP-TYPE-PARASITE:CAPS">GIMP_TYPE_PARASITE</a>
#define <a class="link" href="libgimpbase-gimpparasite.html#GIMP-TYPE-PARAM-PARASITE:CAPS">GIMP_TYPE_PARAM_PARASITE</a>
#define <a class="link" href="libgimpbase-gimpparasite.html#GIMP-IS-PARAM-SPEC-PARASITE:CAPS">GIMP_IS_PARAM_SPEC_PARASITE</a> (pspec)
GParamSpec* <a class="link" href="libgimpbase-gimpparasite.html#gimp-param-spec-parasite">gimp_param_spec_parasite</a> (const gchar *name,
const gchar *nick,
const gchar *blurb,
GParamFlags flags);
#define <a class="link" href="libgimpbase-gimpparasite.html#GIMP-VALUE-HOLDS-PARASITE:CAPS">GIMP_VALUE_HOLDS_PARASITE</a> (value)
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2561218"></a><h2>Description</h2>
<a name="id2576789"></a><h2>Description</h2>
<p>
Arbitrary pieces of data which can be attached to various GIMP objects.
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2561234"></a><h2>Details</h2>
<a name="id2576806"></a><h2>Details</h2>
<div class="refsect2" lang="en">
<a name="id2561245"></a><h3>
<a name="id2576817"></a><h3>
<a name="GimpParasite"></a>GimpParasite</h3>
<a class="indexterm" name="id2561258"></a><pre class="programlisting">typedef struct {
<a class="indexterm" name="id2576829"></a><pre class="programlisting">typedef struct {
gchar *name; /* The name of the parasite. USE A UNIQUE PREFIX! */
guint32 flags; /* save Parasite in XCF file, etc. */
guint32 size; /* amount of data */
@ -150,20 +110,12 @@ Arbitrary pieces of data which can be attached to various GIMP objects.
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2561280"></a><h3>
<a name="id2576852"></a><h3>
<a name="gimp-parasite-new"></a>gimp_parasite_new ()</h3>
<a class="indexterm" name="id2561292"></a><pre class="programlisting"><a href="libgimpbase-gimpparasite.html#GimpParasite">GimpParasite</a>* gimp_parasite_new (const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *name,
<a
href="../glib/glib-Basic-Types.html#guint32"
>guint32</a> flags,
<a
href="../glib/glib-Basic-Types.html#guint32"
>guint32</a> size,
<a
href="../glib/glib-Basic-Types.html#gconstpointer"
>gconstpointer</a> data);</pre>
<a class="indexterm" name="id2576864"></a><pre class="programlisting"><a class="link" href="libgimpbase-gimpparasite.html#GimpParasite">GimpParasite</a>* gimp_parasite_new (const gchar *name,
guint32 flags,
guint32 size,
gconstpointer data);</pre>
<p>
</p>
@ -171,27 +123,27 @@ href="../glib/glib-Basic-Types.html#gconstpointer"
<col align="left" valign="top">
<tbody>
<tr>
<td><span class="term"><em class="parameter"><code>name</code></em>&#160;:</span></td>
<td><p><span class="term"><em class="parameter"><code>name</code></em>&#160;:</span></p></td>
<td>
</td>
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>flags</code></em>&#160;:</span></td>
<td><p><span class="term"><em class="parameter"><code>flags</code></em>&#160;:</span></p></td>
<td>
</td>
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>size</code></em>&#160;:</span></td>
<td><p><span class="term"><em class="parameter"><code>size</code></em>&#160;:</span></p></td>
<td>
</td>
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>data</code></em>&#160;:</span></td>
<td><p><span class="term"><em class="parameter"><code>data</code></em>&#160;:</span></p></td>
<td>
</td>
</tr>
<tr>
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></p></td>
<td>
@ -202,16 +154,16 @@ href="../glib/glib-Basic-Types.html#gconstpointer"
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2561413"></a><h3>
<a name="id2576984"></a><h3>
<a name="gimp-parasite-free"></a>gimp_parasite_free ()</h3>
<a class="indexterm" name="id2561425"></a><pre class="programlisting">void gimp_parasite_free (<a href="libgimpbase-gimpparasite.html#GimpParasite">GimpParasite</a> *parasite);</pre>
<a class="indexterm" name="id2576997"></a><pre class="programlisting">void gimp_parasite_free (<a class="link" href="libgimpbase-gimpparasite.html#GimpParasite">GimpParasite</a> *parasite);</pre>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><span class="term"><em class="parameter"><code>parasite</code></em>&#160;:</span></td>
<td><p><span class="term"><em class="parameter"><code>parasite</code></em>&#160;:</span></p></td>
<td>
@ -221,9 +173,9 @@ href="../glib/glib-Basic-Types.html#gconstpointer"
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2601173"></a><h3>
<a name="id2593304"></a><h3>
<a name="gimp-parasite-copy"></a>gimp_parasite_copy ()</h3>
<a class="indexterm" name="id2601185"></a><pre class="programlisting"><a href="libgimpbase-gimpparasite.html#GimpParasite">GimpParasite</a>* gimp_parasite_copy (const <a href="libgimpbase-gimpparasite.html#GimpParasite">GimpParasite</a> *parasite);</pre>
<a class="indexterm" name="id2593316"></a><pre class="programlisting"><a class="link" href="libgimpbase-gimpparasite.html#GimpParasite">GimpParasite</a>* gimp_parasite_copy (const <a class="link" href="libgimpbase-gimpparasite.html#GimpParasite">GimpParasite</a> *parasite);</pre>
<p>
</p>
@ -231,12 +183,12 @@ href="../glib/glib-Basic-Types.html#gconstpointer"
<col align="left" valign="top">
<tbody>
<tr>
<td><span class="term"><em class="parameter"><code>parasite</code></em>&#160;:</span></td>
<td><p><span class="term"><em class="parameter"><code>parasite</code></em>&#160;:</span></p></td>
<td>
</td>
</tr>
<tr>
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></p></td>
<td>
@ -247,12 +199,10 @@ href="../glib/glib-Basic-Types.html#gconstpointer"
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2601242"></a><h3>
<a name="id2593373"></a><h3>
<a name="gimp-parasite-compare"></a>gimp_parasite_compare ()</h3>
<a class="indexterm" name="id2601253"></a><pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> gimp_parasite_compare (const <a href="libgimpbase-gimpparasite.html#GimpParasite">GimpParasite</a> *a,
const <a href="libgimpbase-gimpparasite.html#GimpParasite">GimpParasite</a> *b);</pre>
<a class="indexterm" name="id2593385"></a><pre class="programlisting">gboolean gimp_parasite_compare (const <a class="link" href="libgimpbase-gimpparasite.html#GimpParasite">GimpParasite</a> *a,
const <a class="link" href="libgimpbase-gimpparasite.html#GimpParasite">GimpParasite</a> *b);</pre>
<p>
</p>
@ -260,17 +210,17 @@ href="../glib/glib-Basic-Types.html#gboolean"
<col align="left" valign="top">
<tbody>
<tr>
<td><span class="term"><em class="parameter"><code>a</code></em>&#160;:</span></td>
<td><p><span class="term"><em class="parameter"><code>a</code></em>&#160;:</span></p></td>
<td>
</td>
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>b</code></em>&#160;:</span></td>
<td><p><span class="term"><em class="parameter"><code>b</code></em>&#160;:</span></p></td>
<td>
</td>
</tr>
<tr>
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></p></td>
<td>
@ -281,14 +231,10 @@ href="../glib/glib-Basic-Types.html#gboolean"
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2601332"></a><h3>
<a name="id2593463"></a><h3>
<a name="gimp-parasite-is-type"></a>gimp_parasite_is_type ()</h3>
<a class="indexterm" name="id2601343"></a><pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> gimp_parasite_is_type (const <a href="libgimpbase-gimpparasite.html#GimpParasite">GimpParasite</a> *parasite,
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *name);</pre>
<a class="indexterm" name="id2593474"></a><pre class="programlisting">gboolean gimp_parasite_is_type (const <a class="link" href="libgimpbase-gimpparasite.html#GimpParasite">GimpParasite</a> *parasite,
const gchar *name);</pre>
<p>
</p>
@ -296,17 +242,17 @@ href="../glib/glib-Basic-Types.html#gchar"
<col align="left" valign="top">
<tbody>
<tr>
<td><span class="term"><em class="parameter"><code>parasite</code></em>&#160;:</span></td>
<td><p><span class="term"><em class="parameter"><code>parasite</code></em>&#160;:</span></p></td>
<td>
</td>
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>name</code></em>&#160;:</span></td>
<td><p><span class="term"><em class="parameter"><code>name</code></em>&#160;:</span></p></td>
<td>
</td>
</tr>
<tr>
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></p></td>
<td>
@ -317,11 +263,9 @@ href="../glib/glib-Basic-Types.html#gchar"
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2606517"></a><h3>
<a name="id2623677"></a><h3>
<a name="gimp-parasite-is-persistent"></a>gimp_parasite_is_persistent ()</h3>
<a class="indexterm" name="id2606528"></a><pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> gimp_parasite_is_persistent (const <a href="libgimpbase-gimpparasite.html#GimpParasite">GimpParasite</a> *parasite);</pre>
<a class="indexterm" name="id2623688"></a><pre class="programlisting">gboolean gimp_parasite_is_persistent (const <a class="link" href="libgimpbase-gimpparasite.html#GimpParasite">GimpParasite</a> *parasite);</pre>
<p>
</p>
@ -329,12 +273,12 @@ href="../glib/glib-Basic-Types.html#gboolean"
<col align="left" valign="top">
<tbody>
<tr>
<td><span class="term"><em class="parameter"><code>parasite</code></em>&#160;:</span></td>
<td><p><span class="term"><em class="parameter"><code>parasite</code></em>&#160;:</span></p></td>
<td>
</td>
</tr>
<tr>
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></p></td>
<td>
@ -345,11 +289,9 @@ href="../glib/glib-Basic-Types.html#gboolean"
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2606578"></a><h3>
<a name="id2623738"></a><h3>
<a name="gimp-parasite-is-undoable"></a>gimp_parasite_is_undoable ()</h3>
<a class="indexterm" name="id2606589"></a><pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> gimp_parasite_is_undoable (const <a href="libgimpbase-gimpparasite.html#GimpParasite">GimpParasite</a> *parasite);</pre>
<a class="indexterm" name="id2623748"></a><pre class="programlisting">gboolean gimp_parasite_is_undoable (const <a class="link" href="libgimpbase-gimpparasite.html#GimpParasite">GimpParasite</a> *parasite);</pre>
<p>
</p>
@ -357,12 +299,12 @@ href="../glib/glib-Basic-Types.html#gboolean"
<col align="left" valign="top">
<tbody>
<tr>
<td><span class="term"><em class="parameter"><code>parasite</code></em>&#160;:</span></td>
<td><p><span class="term"><em class="parameter"><code>parasite</code></em>&#160;:</span></p></td>
<td>
</td>
</tr>
<tr>
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></p></td>
<td>
@ -373,14 +315,10 @@ href="../glib/glib-Basic-Types.html#gboolean"
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2606641"></a><h3>
<a name="id2623799"></a><h3>
<a name="gimp-parasite-has-flag"></a>gimp_parasite_has_flag ()</h3>
<a class="indexterm" name="id2606652"></a><pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> gimp_parasite_has_flag (const <a href="libgimpbase-gimpparasite.html#GimpParasite">GimpParasite</a> *parasite,
<a
href="../glib/glib-Basic-Types.html#gulong"
>gulong</a> flag);</pre>
<a class="indexterm" name="id2623809"></a><pre class="programlisting">gboolean gimp_parasite_has_flag (const <a class="link" href="libgimpbase-gimpparasite.html#GimpParasite">GimpParasite</a> *parasite,
gulong flag);</pre>
<p>
</p>
@ -388,17 +326,17 @@ href="../glib/glib-Basic-Types.html#gulong"
<col align="left" valign="top">
<tbody>
<tr>
<td><span class="term"><em class="parameter"><code>parasite</code></em>&#160;:</span></td>
<td><p><span class="term"><em class="parameter"><code>parasite</code></em>&#160;:</span></p></td>
<td>
</td>
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>flag</code></em>&#160;:</span></td>
<td><p><span class="term"><em class="parameter"><code>flag</code></em>&#160;:</span></p></td>
<td>
</td>
</tr>
<tr>
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></p></td>
<td>
@ -409,11 +347,9 @@ href="../glib/glib-Basic-Types.html#gulong"
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2606730"></a><h3>
<a name="id2623862"></a><h3>
<a name="gimp-parasite-flags"></a>gimp_parasite_flags ()</h3>
<a class="indexterm" name="id2606742"></a><pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#gulong"
>gulong</a> gimp_parasite_flags (const <a href="libgimpbase-gimpparasite.html#GimpParasite">GimpParasite</a> *parasite);</pre>
<a class="indexterm" name="id2623873"></a><pre class="programlisting">gulong gimp_parasite_flags (const <a class="link" href="libgimpbase-gimpparasite.html#GimpParasite">GimpParasite</a> *parasite);</pre>
<p>
</p>
@ -421,12 +357,12 @@ href="../glib/glib-Basic-Types.html#gulong"
<col align="left" valign="top">
<tbody>
<tr>
<td><span class="term"><em class="parameter"><code>parasite</code></em>&#160;:</span></td>
<td><p><span class="term"><em class="parameter"><code>parasite</code></em>&#160;:</span></p></td>
<td>
</td>
</tr>
<tr>
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></p></td>
<td>
@ -437,11 +373,9 @@ href="../glib/glib-Basic-Types.html#gulong"
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2606799"></a><h3>
<a name="id2623923"></a><h3>
<a name="gimp-parasite-name"></a>gimp_parasite_name ()</h3>
<a class="indexterm" name="id2606812"></a><pre class="programlisting">const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a>* gimp_parasite_name (const <a href="libgimpbase-gimpparasite.html#GimpParasite">GimpParasite</a> *parasite);</pre>
<a class="indexterm" name="id2623933"></a><pre class="programlisting">const gchar* gimp_parasite_name (const <a class="link" href="libgimpbase-gimpparasite.html#GimpParasite">GimpParasite</a> *parasite);</pre>
<p>
</p>
@ -449,12 +383,12 @@ href="../glib/glib-Basic-Types.html#gchar"
<col align="left" valign="top">
<tbody>
<tr>
<td><span class="term"><em class="parameter"><code>parasite</code></em>&#160;:</span></td>
<td><p><span class="term"><em class="parameter"><code>parasite</code></em>&#160;:</span></p></td>
<td>
</td>
</tr>
<tr>
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></p></td>
<td>
@ -465,11 +399,9 @@ href="../glib/glib-Basic-Types.html#gchar"
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2606870"></a><h3>
<a name="id2623985"></a><h3>
<a name="gimp-parasite-data"></a>gimp_parasite_data ()</h3>
<a class="indexterm" name="id2606882"></a><pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#gconstpointer"
>gconstpointer</a> gimp_parasite_data (const <a href="libgimpbase-gimpparasite.html#GimpParasite">GimpParasite</a> *parasite);</pre>
<a class="indexterm" name="id2623995"></a><pre class="programlisting">gconstpointer gimp_parasite_data (const <a class="link" href="libgimpbase-gimpparasite.html#GimpParasite">GimpParasite</a> *parasite);</pre>
<p>
</p>
@ -477,12 +409,12 @@ href="../glib/glib-Basic-Types.html#gconstpointer"
<col align="left" valign="top">
<tbody>
<tr>
<td><span class="term"><em class="parameter"><code>parasite</code></em>&#160;:</span></td>
<td><p><span class="term"><em class="parameter"><code>parasite</code></em>&#160;:</span></p></td>
<td>
</td>
</tr>
<tr>
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></p></td>
<td>
@ -493,11 +425,9 @@ href="../glib/glib-Basic-Types.html#gconstpointer"
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2606939"></a><h3>
<a name="id2624046"></a><h3>
<a name="gimp-parasite-data-size"></a>gimp_parasite_data_size ()</h3>
<a class="indexterm" name="id2606950"></a><pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#glong"
>glong</a> gimp_parasite_data_size (const <a href="libgimpbase-gimpparasite.html#GimpParasite">GimpParasite</a> *parasite);</pre>
<a class="indexterm" name="id2624056"></a><pre class="programlisting">glong gimp_parasite_data_size (const <a class="link" href="libgimpbase-gimpparasite.html#GimpParasite">GimpParasite</a> *parasite);</pre>
<p>
</p>
@ -505,12 +435,12 @@ href="../glib/glib-Basic-Types.html#glong"
<col align="left" valign="top">
<tbody>
<tr>
<td><span class="term"><em class="parameter"><code>parasite</code></em>&#160;:</span></td>
<td><p><span class="term"><em class="parameter"><code>parasite</code></em>&#160;:</span></p></td>
<td>
</td>
</tr>
<tr>
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></p></td>
<td>
@ -521,9 +451,9 @@ href="../glib/glib-Basic-Types.html#glong"
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2607007"></a><h3>
<a name="id2624106"></a><h3>
<a name="GIMP-PARASITE-PERSISTENT:CAPS"></a>GIMP_PARASITE_PERSISTENT</h3>
<a class="indexterm" name="id2607020"></a><pre class="programlisting">#define GIMP_PARASITE_PERSISTENT 1
<a class="indexterm" name="id2624119"></a><pre class="programlisting">#define GIMP_PARASITE_PERSISTENT 1
</pre>
<p>
@ -531,9 +461,9 @@ href="../glib/glib-Basic-Types.html#glong"
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2607035"></a><h3>
<a name="id2624132"></a><h3>
<a name="GIMP-PARASITE-UNDOABLE:CAPS"></a>GIMP_PARASITE_UNDOABLE</h3>
<a class="indexterm" name="id2607046"></a><pre class="programlisting">#define GIMP_PARASITE_UNDOABLE 2
<a class="indexterm" name="id2624143"></a><pre class="programlisting">#define GIMP_PARASITE_UNDOABLE 2
</pre>
<p>
@ -541,9 +471,9 @@ href="../glib/glib-Basic-Types.html#glong"
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2607062"></a><h3>
<a name="id2624157"></a><h3>
<a name="GIMP-PARASITE-ATTACH-PARENT:CAPS"></a>GIMP_PARASITE_ATTACH_PARENT</h3>
<a class="indexterm" name="id2607075"></a><pre class="programlisting">#define GIMP_PARASITE_ATTACH_PARENT (0x80 &lt;&lt; 8)
<a class="indexterm" name="id2624169"></a><pre class="programlisting">#define GIMP_PARASITE_ATTACH_PARENT (0x80 &lt;&lt; 8)
</pre>
<p>
@ -551,9 +481,9 @@ href="../glib/glib-Basic-Types.html#glong"
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2607092"></a><h3>
<a name="id2624184"></a><h3>
<a name="GIMP-PARASITE-PARENT-PERSISTENT:CAPS"></a>GIMP_PARASITE_PARENT_PERSISTENT</h3>
<a class="indexterm" name="id2607105"></a><pre class="programlisting">#define GIMP_PARASITE_PARENT_PERSISTENT (GIMP_PARASITE_PERSISTENT &lt;&lt; 8)
<a class="indexterm" name="id2624197"></a><pre class="programlisting">#define GIMP_PARASITE_PARENT_PERSISTENT (GIMP_PARASITE_PERSISTENT &lt;&lt; 8)
</pre>
<p>
@ -561,9 +491,9 @@ href="../glib/glib-Basic-Types.html#glong"
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2607122"></a><h3>
<a name="id2624212"></a><h3>
<a name="GIMP-PARASITE-PARENT-UNDOABLE:CAPS"></a>GIMP_PARASITE_PARENT_UNDOABLE</h3>
<a class="indexterm" name="id2607135"></a><pre class="programlisting">#define GIMP_PARASITE_PARENT_UNDOABLE (GIMP_PARASITE_UNDOABLE &lt;&lt; 8)
<a class="indexterm" name="id2624225"></a><pre class="programlisting">#define GIMP_PARASITE_PARENT_UNDOABLE (GIMP_PARASITE_UNDOABLE &lt;&lt; 8)
</pre>
<p>
@ -571,9 +501,9 @@ href="../glib/glib-Basic-Types.html#glong"
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2607152"></a><h3>
<a name="id2624240"></a><h3>
<a name="GIMP-PARASITE-ATTACH-GRANDPARENT:CAPS"></a>GIMP_PARASITE_ATTACH_GRANDPARENT</h3>
<a class="indexterm" name="id2607166"></a><pre class="programlisting">#define GIMP_PARASITE_ATTACH_GRANDPARENT (0x80 &lt;&lt; 16)
<a class="indexterm" name="id2624253"></a><pre class="programlisting">#define GIMP_PARASITE_ATTACH_GRANDPARENT (0x80 &lt;&lt; 16)
</pre>
<p>
@ -581,9 +511,9 @@ href="../glib/glib-Basic-Types.html#glong"
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2607183"></a><h3>
<a name="id2624268"></a><h3>
<a name="GIMP-PARASITE-GRANDPARENT-PERSISTENT:CAPS"></a>GIMP_PARASITE_GRANDPARENT_PERSISTENT</h3>
<a class="indexterm" name="id2607196"></a><pre class="programlisting">#define GIMP_PARASITE_GRANDPARENT_PERSISTENT (GIMP_PARASITE_PERSISTENT &lt;&lt; 16)
<a class="indexterm" name="id2624280"></a><pre class="programlisting">#define GIMP_PARASITE_GRANDPARENT_PERSISTENT (GIMP_PARASITE_PERSISTENT &lt;&lt; 16)
</pre>
<p>
@ -591,9 +521,9 @@ href="../glib/glib-Basic-Types.html#glong"
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2607213"></a><h3>
<a name="id2624296"></a><h3>
<a name="GIMP-PARASITE-GRANDPARENT-UNDOABLE:CAPS"></a>GIMP_PARASITE_GRANDPARENT_UNDOABLE</h3>
<a class="indexterm" name="id2607227"></a><pre class="programlisting">#define GIMP_PARASITE_GRANDPARENT_UNDOABLE (GIMP_PARASITE_UNDOABLE &lt;&lt; 16)
<a class="indexterm" name="id2624310"></a><pre class="programlisting">#define GIMP_PARASITE_GRANDPARENT_UNDOABLE (GIMP_PARASITE_UNDOABLE &lt;&lt; 16)
</pre>
<p>
@ -601,9 +531,9 @@ href="../glib/glib-Basic-Types.html#glong"
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2607244"></a><h3>
<a name="id2624326"></a><h3>
<a name="GIMP-TYPE-PARASITE:CAPS"></a>GIMP_TYPE_PARASITE</h3>
<a class="indexterm" name="id2607256"></a><pre class="programlisting">#define GIMP_TYPE_PARASITE (gimp_parasite_get_type ())
<a class="indexterm" name="id2624336"></a><pre class="programlisting">#define GIMP_TYPE_PARASITE (gimp_parasite_get_type ())
</pre>
<p>
@ -611,9 +541,9 @@ href="../glib/glib-Basic-Types.html#glong"
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2607273"></a><h3>
<a name="id2624351"></a><h3>
<a name="GIMP-TYPE-PARAM-PARASITE:CAPS"></a>GIMP_TYPE_PARAM_PARASITE</h3>
<a class="indexterm" name="id2607286"></a><pre class="programlisting">#define GIMP_TYPE_PARAM_PARASITE (gimp_param_parasite_get_type ())
<a class="indexterm" name="id2624363"></a><pre class="programlisting">#define GIMP_TYPE_PARAM_PARASITE (gimp_param_parasite_get_type ())
</pre>
<p>
@ -621,9 +551,9 @@ href="../glib/glib-Basic-Types.html#glong"
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2607302"></a><h3>
<a name="id2624378"></a><h3>
<a name="GIMP-IS-PARAM-SPEC-PARASITE:CAPS"></a>GIMP_IS_PARAM_SPEC_PARASITE()</h3>
<a class="indexterm" name="id2607315"></a><pre class="programlisting">#define GIMP_IS_PARAM_SPEC_PARASITE(pspec) (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), GIMP_TYPE_PARAM_PARASITE))
<a class="indexterm" name="id2624390"></a><pre class="programlisting">#define GIMP_IS_PARAM_SPEC_PARASITE(pspec) (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), GIMP_TYPE_PARAM_PARASITE))
</pre>
<p>
@ -631,7 +561,7 @@ href="../glib/glib-Basic-Types.html#glong"
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><span class="term"><em class="parameter"><code>pspec</code></em>&#160;:</span></td>
<td><p><span class="term"><em class="parameter"><code>pspec</code></em>&#160;:</span></p></td>
<td>
@ -641,22 +571,12 @@ href="../glib/glib-Basic-Types.html#glong"
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2607351"></a><h3>
<a name="id2624422"></a><h3>
<a name="gimp-param-spec-parasite"></a>gimp_param_spec_parasite ()</h3>
<a class="indexterm" name="id2607362"></a><pre class="programlisting"><a
href="../gobject/gobject-GParamSpec.html#GParamSpec"
>GParamSpec</a>* gimp_param_spec_parasite (const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *name,
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *nick,
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *blurb,
<a
href="../gobject/gobject-GParamSpec.html#GParamFlags"
>GParamFlags</a> flags);</pre>
<a class="indexterm" name="id2624433"></a><pre class="programlisting">GParamSpec* gimp_param_spec_parasite (const gchar *name,
const gchar *nick,
const gchar *blurb,
GParamFlags flags);</pre>
<p>
</p>
@ -664,27 +584,27 @@ href="../gobject/gobject-GParamSpec.html#GParamFlags"
<col align="left" valign="top">
<tbody>
<tr>
<td><span class="term"><em class="parameter"><code>name</code></em>&#160;:</span></td>
<td><p><span class="term"><em class="parameter"><code>name</code></em>&#160;:</span></p></td>
<td>
</td>
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>nick</code></em>&#160;:</span></td>
<td><p><span class="term"><em class="parameter"><code>nick</code></em>&#160;:</span></p></td>
<td>
</td>
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>blurb</code></em>&#160;:</span></td>
<td><p><span class="term"><em class="parameter"><code>blurb</code></em>&#160;:</span></p></td>
<td>
</td>
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>flags</code></em>&#160;:</span></td>
<td><p><span class="term"><em class="parameter"><code>flags</code></em>&#160;:</span></p></td>
<td>
</td>
</tr>
<tr>
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></p></td>
<td>
@ -695,9 +615,9 @@ href="../gobject/gobject-GParamSpec.html#GParamFlags"
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2607482"></a><h3>
<a name="id2624541"></a><h3>
<a name="GIMP-VALUE-HOLDS-PARASITE:CAPS"></a>GIMP_VALUE_HOLDS_PARASITE()</h3>
<a class="indexterm" name="id2607496"></a><pre class="programlisting">#define GIMP_VALUE_HOLDS_PARASITE(value) (G_TYPE_CHECK_VALUE_TYPE ((value), GIMP_TYPE_PARASITE))
<a class="indexterm" name="id2624553"></a><pre class="programlisting">#define GIMP_VALUE_HOLDS_PARASITE(value) (G_TYPE_CHECK_VALUE_TYPE ((value), GIMP_TYPE_PARASITE))
</pre>
<p>
@ -705,7 +625,7 @@ href="../gobject/gobject-GParamSpec.html#GParamFlags"
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><span class="term"><em class="parameter"><code>value</code></em>&#160;:</span></td>
<td><p><span class="term"><em class="parameter"><code>value</code></em>&#160;:</span></p></td>
<td>
@ -715,15 +635,15 @@ href="../gobject/gobject-GParamSpec.html#GParamFlags"
</div>
</div>
<div class="refsect1" lang="en">
<a name="id2607533"></a><h2>See Also</h2>
<a name="id2624586"></a><h2>See Also</h2>
<p>
<a
href="../app/GimpImage.html#gimp-image-parasite-attach"
href="/local/head/share/gtk-doc/html/libgimp/libgimp-gimpimage.html#gimp-image-parasite-attach"
><code class="function">gimp_image_parasite_attach()</code></a>, <a
href="../libgimp/libgimp-gimpdrawable.html#gimp-drawable-parasite-attach"
href="/local/head/share/gtk-doc/html/libgimp/libgimp-gimpdrawable.html#gimp-drawable-parasite-attach"
><code class="function">gimp_drawable_parasite_attach()</code></a>,
<a
href="../app/app-Gimp-parasites.html#gimp-parasite-attach"
href="/local/head/share/gtk-doc/html/libgimp/libgimp-gimp.html#gimp-parasite-attach"
><code class="function">gimp_parasite_attach()</code></a> and their related functions.
</p>
</div>

View File

@ -3,7 +3,7 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>gimpparasiteio</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.72.0">
<meta name="generator" content="DocBook XSL Stylesheets V1.73.2">
<link rel="start" href="index.html" title="GIMP Base Library Reference Manual">
<link rel="up" href="libgimpbase.html" title="Part&#160;I.&#160;GIMP Base Library">
<link rel="prev" href="libgimpbase-gimpparasite.html" title="gimpparasite">
@ -25,18 +25,18 @@
<th width="100%" align="center">GIMP Base Library Reference Manual</th>
<td><a accesskey="n" href="libgimpbase-gimpsignal.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2574897" class="shortcut">Top</a>
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2580847" class="shortcut">Top</a>
&#160;|&#160;
<a href="#id2560518" class="shortcut">Description</a></nobr></td></tr>
<a href="#id2619732" class="shortcut">Description</a></nobr></td></tr>
</table>
<div class="refentry" lang="en">
<a name="libgimpbase-gimpparasiteio"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2>
<a name="id2574897"></a><span class="refentrytitle">gimpparasiteio</span>
<a name="id2580847"></a><span class="refentrytitle">gimpparasiteio</span>
</h2>
<p>gimpparasiteio &#8212; Utility functions to (de)serialize certain C structures to/from <a href="libgimpbase-gimpparasite.html#GimpParasite"><span class="type">GimpParasite</span></a>'s.</p>
<p>gimpparasiteio &#8212; Utility functions to (de)serialize certain C structures to/from <a class="link" href="libgimpbase-gimpparasite.html#GimpParasite"><span class="type">GimpParasite</span></a>'s.</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
@ -46,30 +46,26 @@
#define <a href="libgimpbase-gimpparasiteio.html#GIMP-PIXPIPE-MAXDIM:CAPS">GIMP_PIXPIPE_MAXDIM</a>
void <a href="libgimpbase-gimpparasiteio.html#gimp-pixpipe-params-init">gimp_pixpipe_params_init</a> (GimpPixPipeParams *params);
void <a href="libgimpbase-gimpparasiteio.html#gimp-pixpipe-params-parse">gimp_pixpipe_params_parse</a> (const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *parameters,
#define <a class="link" href="libgimpbase-gimpparasiteio.html#GIMP-PIXPIPE-MAXDIM:CAPS">GIMP_PIXPIPE_MAXDIM</a>
void <a class="link" href="libgimpbase-gimpparasiteio.html#gimp-pixpipe-params-init">gimp_pixpipe_params_init</a> (GimpPixPipeParams *params);
void <a class="link" href="libgimpbase-gimpparasiteio.html#gimp-pixpipe-params-parse">gimp_pixpipe_params_parse</a> (const gchar *parameters,
GimpPixPipeParams *params);
<a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a>* <a href="libgimpbase-gimpparasiteio.html#gimp-pixpipe-params-build">gimp_pixpipe_params_build</a> (GimpPixPipeParams *params);
gchar* <a class="link" href="libgimpbase-gimpparasiteio.html#gimp-pixpipe-params-build">gimp_pixpipe_params_build</a> (GimpPixPipeParams *params);
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2560518"></a><h2>Description</h2>
<a name="id2619732"></a><h2>Description</h2>
<p>
Utility functions to (de)serialize certain C structures to/from <a href="libgimpbase-gimpparasite.html#GimpParasite"><span class="type">GimpParasite</span></a>'s.
Utility functions to (de)serialize certain C structures to/from <a class="link" href="libgimpbase-gimpparasite.html#GimpParasite"><span class="type">GimpParasite</span></a>'s.
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2560542"></a><h2>Details</h2>
<a name="id2619756"></a><h2>Details</h2>
<div class="refsect2" lang="en">
<a name="id2560553"></a><h3>
<a name="id2619767"></a><h3>
<a name="GIMP-PIXPIPE-MAXDIM:CAPS"></a>GIMP_PIXPIPE_MAXDIM</h3>
<a class="indexterm" name="id2560564"></a><pre class="programlisting">#define GIMP_PIXPIPE_MAXDIM 4
<a class="indexterm" name="id2619779"></a><pre class="programlisting">#define GIMP_PIXPIPE_MAXDIM 4
</pre>
<p>
@ -77,16 +73,16 @@ Utility functions to (de)serialize certain C structures to/from <a href="libgimp
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2560580"></a><h3>
<a name="id2619794"></a><h3>
<a name="gimp-pixpipe-params-init"></a>gimp_pixpipe_params_init ()</h3>
<a class="indexterm" name="id2560591"></a><pre class="programlisting">void gimp_pixpipe_params_init (GimpPixPipeParams *params);</pre>
<a class="indexterm" name="id2619805"></a><pre class="programlisting">void gimp_pixpipe_params_init (GimpPixPipeParams *params);</pre>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><span class="term"><em class="parameter"><code>params</code></em>&#160;:</span></td>
<td><p><span class="term"><em class="parameter"><code>params</code></em>&#160;:</span></p></td>
<td>
@ -96,11 +92,9 @@ Utility functions to (de)serialize certain C structures to/from <a href="libgimp
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2561466"></a><h3>
<a name="id2621087"></a><h3>
<a name="gimp-pixpipe-params-parse"></a>gimp_pixpipe_params_parse ()</h3>
<a class="indexterm" name="id2561478"></a><pre class="programlisting">void gimp_pixpipe_params_parse (const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *parameters,
<a class="indexterm" name="id2621098"></a><pre class="programlisting">void gimp_pixpipe_params_parse (const gchar *parameters,
GimpPixPipeParams *params);</pre>
<p>
@ -109,12 +103,12 @@ href="../glib/glib-Basic-Types.html#gchar"
<col align="left" valign="top">
<tbody>
<tr>
<td><span class="term"><em class="parameter"><code>parameters</code></em>&#160;:</span></td>
<td><p><span class="term"><em class="parameter"><code>parameters</code></em>&#160;:</span></p></td>
<td>
</td>
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>params</code></em>&#160;:</span></td>
<td><p><span class="term"><em class="parameter"><code>params</code></em>&#160;:</span></p></td>
<td>
@ -125,11 +119,9 @@ href="../glib/glib-Basic-Types.html#gchar"
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2561545"></a><h3>
<a name="id2621166"></a><h3>
<a name="gimp-pixpipe-params-build"></a>gimp_pixpipe_params_build ()</h3>
<a class="indexterm" name="id2561556"></a><pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a>* gimp_pixpipe_params_build (GimpPixPipeParams *params);</pre>
<a class="indexterm" name="id2621177"></a><pre class="programlisting">gchar* gimp_pixpipe_params_build (GimpPixPipeParams *params);</pre>
<p>
</p>
@ -137,12 +129,12 @@ href="../glib/glib-Basic-Types.html#gchar"
<col align="left" valign="top">
<tbody>
<tr>
<td><span class="term"><em class="parameter"><code>params</code></em>&#160;:</span></td>
<td><p><span class="term"><em class="parameter"><code>params</code></em>&#160;:</span></p></td>
<td>
</td>
</tr>
<tr>
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></p></td>
<td>
@ -153,9 +145,9 @@ href="../glib/glib-Basic-Types.html#gchar"
</div>
</div>
<div class="refsect1" lang="en">
<a name="id2603916"></a><h2>See Also</h2>
<a name="id2621235"></a><h2>See Also</h2>
<p>
<a href="libgimpbase-gimpparasite.html#GimpParasite"><span class="type">GimpParasite</span></a>
<a class="link" href="libgimpbase-gimpparasite.html#GimpParasite"><span class="type">GimpParasite</span></a>
</p>
</div>
</div>

View File

@ -3,7 +3,7 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>gimprectangle</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.72.0">
<meta name="generator" content="DocBook XSL Stylesheets V1.73.2">
<link rel="start" href="index.html" title="GIMP Base Library Reference Manual">
<link rel="up" href="libgimpbase.html" title="Part&#160;I.&#160;GIMP Base Library">
<link rel="prev" href="libgimpbase-gimpmemsize.html" title="gimpmemsize">
@ -25,16 +25,16 @@
<th width="100%" align="center">GIMP Base Library Reference Manual</th>
<td><a accesskey="n" href="libgimpbase-gimpparasite.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2578562" class="shortcut">Top</a>
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2610544" class="shortcut">Top</a>
&#160;|&#160;
<a href="#id2600021" class="shortcut">Description</a></nobr></td></tr>
<a href="#id2580564" class="shortcut">Description</a></nobr></td></tr>
</table>
<div class="refentry" lang="en">
<a name="libgimpbase-gimprectangle"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2>
<a name="id2578562"></a><span class="refentrytitle">gimprectangle</span>
<a name="id2610544"></a><span class="refentrytitle">gimprectangle</span>
</h2>
<p>gimprectangle</p>
</td>
@ -46,95 +46,43 @@
<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> <a href="libgimpbase-gimprectangle.html#gimp-rectangle-intersect">gimp_rectangle_intersect</a> (<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> x1,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> y1,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> width1,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> height1,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> x2,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> y2,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> width2,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> height2,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> *dest_x,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> *dest_y,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> *dest_width,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> *dest_height);
gboolean <a class="link" href="libgimpbase-gimprectangle.html#gimp-rectangle-intersect">gimp_rectangle_intersect</a> (gint x1,
gint y1,
gint width1,
gint height1,
gint x2,
gint y2,
gint width2,
gint height2,
gint *dest_x,
gint *dest_y,
gint *dest_width,
gint *dest_height);
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2600021"></a><h2>Description</h2>
<a name="id2580564"></a><h2>Description</h2>
<p>
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2600037"></a><h2>Details</h2>
<a name="id2580580"></a><h2>Details</h2>
<div class="refsect2" lang="en">
<a name="id2600048"></a><h3>
<a name="id2580590"></a><h3>
<a name="gimp-rectangle-intersect"></a>gimp_rectangle_intersect ()</h3>
<a class="indexterm" name="id2600061"></a><pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> gimp_rectangle_intersect (<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> x1,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> y1,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> width1,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> height1,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> x2,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> y2,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> width2,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> height2,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> *dest_x,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> *dest_y,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> *dest_width,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> *dest_height);</pre>
<a class="indexterm" name="id2580604"></a><pre class="programlisting">gboolean gimp_rectangle_intersect (gint x1,
gint y1,
gint width1,
gint height1,
gint x2,
gint y2,
gint width2,
gint height2,
gint *dest_x,
gint *dest_y,
gint *dest_width,
gint *dest_height);</pre>
<p>
Calculates the intersection of two rectangles.</p>
<p>
@ -144,80 +92,68 @@ Calculates the intersection of two rectangles.</p>
<col align="left" valign="top">
<tbody>
<tr>
<td><span class="term"><em class="parameter"><code>x1</code></em>&#160;:</span></td>
<td><p><span class="term"><em class="parameter"><code>x1</code></em>&#160;:</span></p></td>
<td> origin of first rectangle
</td>
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>y1</code></em>&#160;:</span></td>
<td><p><span class="term"><em class="parameter"><code>y1</code></em>&#160;:</span></p></td>
<td> origin of first rectangle
</td>
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>width1</code></em>&#160;:</span></td>
<td><p><span class="term"><em class="parameter"><code>width1</code></em>&#160;:</span></p></td>
<td> width of first rectangle
</td>
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>height1</code></em>&#160;:</span></td>
<td><p><span class="term"><em class="parameter"><code>height1</code></em>&#160;:</span></p></td>
<td> height of first rectangle
</td>
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>x2</code></em>&#160;:</span></td>
<td><p><span class="term"><em class="parameter"><code>x2</code></em>&#160;:</span></p></td>
<td> origin of second rectangle
</td>
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>y2</code></em>&#160;:</span></td>
<td><p><span class="term"><em class="parameter"><code>y2</code></em>&#160;:</span></p></td>
<td> origin of second rectangle
</td>
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>width2</code></em>&#160;:</span></td>
<td><p><span class="term"><em class="parameter"><code>width2</code></em>&#160;:</span></p></td>
<td> width of second rectangle
</td>
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>height2</code></em>&#160;:</span></td>
<td><p><span class="term"><em class="parameter"><code>height2</code></em>&#160;:</span></p></td>
<td> height of second rectangle
</td>
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>dest_x</code></em>&#160;:</span></td>
<td> return location for origin of intersection (may be <a
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a>)
<td><p><span class="term"><em class="parameter"><code>dest_x</code></em>&#160;:</span></p></td>
<td> return location for origin of intersection (may be <code class="literal">NULL</code>)
</td>
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>dest_y</code></em>&#160;:</span></td>
<td> return location for origin of intersection (may be <a
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a>)
<td><p><span class="term"><em class="parameter"><code>dest_y</code></em>&#160;:</span></p></td>
<td> return location for origin of intersection (may be <code class="literal">NULL</code>)
</td>
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>dest_width</code></em>&#160;:</span></td>
<td> return location for width of intersection (may be <a
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a>)
<td><p><span class="term"><em class="parameter"><code>dest_width</code></em>&#160;:</span></p></td>
<td> return location for width of intersection (may be <code class="literal">NULL</code>)
</td>
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>dest_height</code></em>&#160;:</span></td>
<td> return location for height of intersection (may be <a
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a>)
<td><p><span class="term"><em class="parameter"><code>dest_height</code></em>&#160;:</span></p></td>
<td> return location for height of intersection (may be <code class="literal">NULL</code>)
</td>
</tr>
<tr>
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td> <a
href="../glib/glib-Standard-Macros.html#TRUE:CAPS"
><code class="literal">TRUE</code></a> if the intersection is non-empty, <a
href="../glib/glib-Standard-Macros.html#FALSE:CAPS"
><code class="literal">FALSE</code></a> otherwise
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></p></td>
<td> <code class="literal">TRUE</code> if the intersection is non-empty, <code class="literal">FALSE</code> otherwise
</td>
</tr>

View File

@ -3,7 +3,7 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>gimpsignal</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.72.0">
<meta name="generator" content="DocBook XSL Stylesheets V1.73.2">
<link rel="start" href="index.html" title="GIMP Base Library Reference Manual">
<link rel="up" href="libgimpbase.html" title="Part&#160;I.&#160;GIMP Base Library">
<link rel="prev" href="libgimpbase-gimpparasiteio.html" title="gimpparasiteio">
@ -25,16 +25,16 @@
<th width="100%" align="center">GIMP Base Library Reference Manual</th>
<td><a accesskey="n" href="libgimpbase-gimpunit.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2568593" class="shortcut">Top</a>
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2601023" class="shortcut">Top</a>
&#160;|&#160;
<a href="#id2558593" class="shortcut">Description</a></nobr></td></tr>
<a href="#id2579406" class="shortcut">Description</a></nobr></td></tr>
</table>
<div class="refentry" lang="en">
<a name="libgimpbase-gimpsignal"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2>
<a name="id2568593"></a><span class="refentrytitle">gimpsignal</span>
<a name="id2601023"></a><span class="refentrytitle">gimpsignal</span>
</h2>
<p>gimpsignal &#8212; Portable signal handling.</p>
</td>
@ -46,33 +46,25 @@
void (<a href="libgimpbase-gimpsignal.html#GimpSignalHandlerFunc">*GimpSignalHandlerFunc</a>) (<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> signum);
<a href="libgimpbase-gimpsignal.html#GimpSignalHandlerFunc">GimpSignalHandlerFunc</a> <a href="libgimpbase-gimpsignal.html#gimp-signal-private">gimp_signal_private</a> (<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> signum,
<a href="libgimpbase-gimpsignal.html#GimpSignalHandlerFunc">GimpSignalHandlerFunc</a> handler,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> flags);
void (<a class="link" href="libgimpbase-gimpsignal.html#GimpSignalHandlerFunc">*GimpSignalHandlerFunc</a>) (gint signum);
<a class="link" href="libgimpbase-gimpsignal.html#GimpSignalHandlerFunc">GimpSignalHandlerFunc</a> <a class="link" href="libgimpbase-gimpsignal.html#gimp-signal-private">gimp_signal_private</a> (gint signum,
<a class="link" href="libgimpbase-gimpsignal.html#GimpSignalHandlerFunc">GimpSignalHandlerFunc</a> handler,
gint flags);
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2558593"></a><h2>Description</h2>
<a name="id2579406"></a><h2>Description</h2>
<p>
Portable signal handling.
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2558609"></a><h2>Details</h2>
<a name="id2579422"></a><h2>Details</h2>
<div class="refsect2" lang="en">
<a name="id2558620"></a><h3>
<a name="id2579432"></a><h3>
<a name="GimpSignalHandlerFunc"></a>GimpSignalHandlerFunc ()</h3>
<a class="indexterm" name="id2558631"></a><pre class="programlisting">void (*GimpSignalHandlerFunc) (<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> signum);</pre>
<a class="indexterm" name="id2579444"></a><pre class="programlisting">void (*GimpSignalHandlerFunc) (gint signum);</pre>
<p>
A prototype for signal handler functions. Note that each function which
takes or returns a variable of this type also accepts or may return
@ -82,7 +74,7 @@ special values defined by your system's signal.h header file (like
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><span class="term"><em class="parameter"><code>signum</code></em>&#160;:</span></td>
<td><p><span class="term"><em class="parameter"><code>signum</code></em>&#160;:</span></p></td>
<td>The number of the signal. Useful if different signals are handled
by a single handler.
@ -93,15 +85,11 @@ special values defined by your system's signal.h header file (like
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2558693"></a><h3>
<a name="id2579506"></a><h3>
<a name="gimp-signal-private"></a>gimp_signal_private ()</h3>
<a class="indexterm" name="id2558706"></a><pre class="programlisting"><a href="libgimpbase-gimpsignal.html#GimpSignalHandlerFunc">GimpSignalHandlerFunc</a> gimp_signal_private (<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> signum,
<a href="libgimpbase-gimpsignal.html#GimpSignalHandlerFunc">GimpSignalHandlerFunc</a> handler,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> flags);</pre>
<a class="indexterm" name="id2579519"></a><pre class="programlisting"><a class="link" href="libgimpbase-gimpsignal.html#GimpSignalHandlerFunc">GimpSignalHandlerFunc</a> gimp_signal_private (gint signum,
<a class="link" href="libgimpbase-gimpsignal.html#GimpSignalHandlerFunc">GimpSignalHandlerFunc</a> handler,
gint flags);</pre>
<p>
This function furnishes a workalike for signal(2) but
which internally invokes sigaction(2) after certain
@ -123,27 +111,27 @@ exactly what we want. [austin 06.04.2000]</p>
<col align="left" valign="top">
<tbody>
<tr>
<td><span class="term"><em class="parameter"><code>signum</code></em>&#160;:</span></td>
<td><p><span class="term"><em class="parameter"><code>signum</code></em>&#160;:</span></p></td>
<td> Selects signal to be handled see man 5 signal (or man 7 signal)
</td>
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>handler</code></em>&#160;:</span></td>
<td><p><span class="term"><em class="parameter"><code>handler</code></em>&#160;:</span></p></td>
<td> Handler that maps to signum. Invoked by O/S.
Handler gets signal that caused invocation. Corresponds
to the <em class="parameter"><code>sa_handler</code></em> field of the <em class="parameter"><code>sigaction</code></em> struct.
</td>
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>flags</code></em>&#160;:</span></td>
<td><p><span class="term"><em class="parameter"><code>flags</code></em>&#160;:</span></p></td>
<td> Preferences. OR'ed SA_&lt;xxx&gt;. See man sigaction. Corresponds
to the <em class="parameter"><code>sa_flags</code></em> field of the <em class="parameter"><code>sigaction</code></em> struct.
</td>
</tr>
<tr>
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></p></td>
<td> A reference to the signal handling function which was
active before the call to <a href="libgimpbase-gimpsignal.html#gimp-signal-private"><code class="function">gimp_signal_private()</code></a>.
active before the call to <a class="link" href="libgimpbase-gimpsignal.html#gimp-signal-private"><code class="function">gimp_signal_private()</code></a>.
</td>
</tr>
</tbody>
@ -151,7 +139,7 @@ exactly what we want. [austin 06.04.2000]</p>
</div>
</div>
<div class="refsect1" lang="en">
<a name="id2559970"></a><h2>See Also</h2>
<a name="id2580029"></a><h2>See Also</h2>
<p>
signal(2), signal(5 or 7), sigaction(2).
</p>

View File

@ -3,7 +3,7 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>gimpunit</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.72.0">
<meta name="generator" content="DocBook XSL Stylesheets V1.73.2">
<link rel="start" href="index.html" title="GIMP Base Library Reference Manual">
<link rel="up" href="libgimpbase.html" title="Part&#160;I.&#160;GIMP Base Library">
<link rel="prev" href="libgimpbase-gimpsignal.html" title="gimpsignal">
@ -25,16 +25,16 @@
<th width="100%" align="center">GIMP Base Library Reference Manual</th>
<td><a accesskey="n" href="libgimpbase-gimputils.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2575341" class="shortcut">Top</a>
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2607792" class="shortcut">Top</a>
&#160;|&#160;
<a href="#id2604758" class="shortcut">Description</a></nobr></td></tr>
<a href="#id2622539" class="shortcut">Description</a></nobr></td></tr>
</table>
<div class="refentry" lang="en">
<a name="libgimpbase-gimpunit"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2>
<a name="id2575341"></a><span class="refentrytitle">gimpunit</span>
<a name="id2607792"></a><span class="refentrytitle">gimpunit</span>
</h2>
<p>gimpunit &#8212; Provides a collection of predefined units and functions for creating
user-defined units.</p>
@ -47,93 +47,43 @@ user-defined units.</p>
enum <a href="libgimpbase-gimpunit.html#GimpUnit">GimpUnit</a>;
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> <a href="libgimpbase-gimpunit.html#gimp-unit-get-number-of-units">gimp_unit_get_number_of_units</a> (void);
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> <a href="libgimpbase-gimpunit.html#gimp-unit-get-number-of-built-in-units">gimp_unit_get_number_of_built_in_units</a>
enum <a class="link" href="libgimpbase-gimpunit.html#GimpUnit">GimpUnit</a>;
gint <a class="link" href="libgimpbase-gimpunit.html#gimp-unit-get-number-of-units">gimp_unit_get_number_of_units</a> (void);
gint <a class="link" href="libgimpbase-gimpunit.html#gimp-unit-get-number-of-built-in-units">gimp_unit_get_number_of_built_in_units</a>
(void);
<a href="libgimpbase-gimpunit.html#GimpUnit">GimpUnit</a> <a href="libgimpbase-gimpunit.html#gimp-unit-new">gimp_unit_new</a> (<a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *identifier,
<a
href="../glib/glib-Basic-Types.html#gdouble"
>gdouble</a> factor,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> digits,
<a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *symbol,
<a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *abbreviation,
<a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *singular,
<a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *plural);
<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> <a href="libgimpbase-gimpunit.html#gimp-unit-get-deletion-flag">gimp_unit_get_deletion_flag</a> (<a href="libgimpbase-gimpunit.html#GimpUnit">GimpUnit</a> unit);
void <a href="libgimpbase-gimpunit.html#gimp-unit-set-deletion-flag">gimp_unit_set_deletion_flag</a> (<a href="libgimpbase-gimpunit.html#GimpUnit">GimpUnit</a> unit,
<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> deletion_flag);
<a
href="../glib/glib-Basic-Types.html#gdouble"
>gdouble</a> <a href="libgimpbase-gimpunit.html#gimp-unit-get-factor">gimp_unit_get_factor</a> (<a href="libgimpbase-gimpunit.html#GimpUnit">GimpUnit</a> unit);
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> <a href="libgimpbase-gimpunit.html#gimp-unit-get-digits">gimp_unit_get_digits</a> (<a href="libgimpbase-gimpunit.html#GimpUnit">GimpUnit</a> unit);
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a>* <a href="libgimpbase-gimpunit.html#gimp-unit-get-identifier">gimp_unit_get_identifier</a> (<a href="libgimpbase-gimpunit.html#GimpUnit">GimpUnit</a> unit);
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a>* <a href="libgimpbase-gimpunit.html#gimp-unit-get-symbol">gimp_unit_get_symbol</a> (<a href="libgimpbase-gimpunit.html#GimpUnit">GimpUnit</a> unit);
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a>* <a href="libgimpbase-gimpunit.html#gimp-unit-get-abbreviation">gimp_unit_get_abbreviation</a> (<a href="libgimpbase-gimpunit.html#GimpUnit">GimpUnit</a> unit);
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a>* <a href="libgimpbase-gimpunit.html#gimp-unit-get-singular">gimp_unit_get_singular</a> (<a href="libgimpbase-gimpunit.html#GimpUnit">GimpUnit</a> unit);
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a>* <a href="libgimpbase-gimpunit.html#gimp-unit-get-plural">gimp_unit_get_plural</a> (<a href="libgimpbase-gimpunit.html#GimpUnit">GimpUnit</a> unit);
#define <a href="libgimpbase-gimpunit.html#GIMP-TYPE-UNIT:CAPS">GIMP_TYPE_UNIT</a>
#define <a href="libgimpbase-gimpunit.html#GIMP-TYPE-PARAM-UNIT:CAPS">GIMP_TYPE_PARAM_UNIT</a>
#define <a href="libgimpbase-gimpunit.html#GIMP-IS-PARAM-SPEC-UNIT:CAPS">GIMP_IS_PARAM_SPEC_UNIT</a> (pspec)
<a
href="../gobject/gobject-GParamSpec.html#GParamSpec"
>GParamSpec</a>* <a href="libgimpbase-gimpunit.html#gimp-param-spec-unit">gimp_param_spec_unit</a> (const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *name,
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *nick,
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *blurb,
<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> allow_pixels,
<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> allow_percent,
<a href="libgimpbase-gimpunit.html#GimpUnit">GimpUnit</a> default_value,
<a
href="../gobject/gobject-GParamSpec.html#GParamFlags"
>GParamFlags</a> flags);
#define <a href="libgimpbase-gimpunit.html#GIMP-VALUE-HOLDS-UNIT:CAPS">GIMP_VALUE_HOLDS_UNIT</a> (value)
<a class="link" href="libgimpbase-gimpunit.html#GimpUnit">GimpUnit</a> <a class="link" href="libgimpbase-gimpunit.html#gimp-unit-new">gimp_unit_new</a> (gchar *identifier,
gdouble factor,
gint digits,
gchar *symbol,
gchar *abbreviation,
gchar *singular,
gchar *plural);
gboolean <a class="link" href="libgimpbase-gimpunit.html#gimp-unit-get-deletion-flag">gimp_unit_get_deletion_flag</a> (<a class="link" href="libgimpbase-gimpunit.html#GimpUnit">GimpUnit</a> unit);
void <a class="link" href="libgimpbase-gimpunit.html#gimp-unit-set-deletion-flag">gimp_unit_set_deletion_flag</a> (<a class="link" href="libgimpbase-gimpunit.html#GimpUnit">GimpUnit</a> unit,
gboolean deletion_flag);
gdouble <a class="link" href="libgimpbase-gimpunit.html#gimp-unit-get-factor">gimp_unit_get_factor</a> (<a class="link" href="libgimpbase-gimpunit.html#GimpUnit">GimpUnit</a> unit);
gint <a class="link" href="libgimpbase-gimpunit.html#gimp-unit-get-digits">gimp_unit_get_digits</a> (<a class="link" href="libgimpbase-gimpunit.html#GimpUnit">GimpUnit</a> unit);
const gchar* <a class="link" href="libgimpbase-gimpunit.html#gimp-unit-get-identifier">gimp_unit_get_identifier</a> (<a class="link" href="libgimpbase-gimpunit.html#GimpUnit">GimpUnit</a> unit);
const gchar* <a class="link" href="libgimpbase-gimpunit.html#gimp-unit-get-symbol">gimp_unit_get_symbol</a> (<a class="link" href="libgimpbase-gimpunit.html#GimpUnit">GimpUnit</a> unit);
const gchar* <a class="link" href="libgimpbase-gimpunit.html#gimp-unit-get-abbreviation">gimp_unit_get_abbreviation</a> (<a class="link" href="libgimpbase-gimpunit.html#GimpUnit">GimpUnit</a> unit);
const gchar* <a class="link" href="libgimpbase-gimpunit.html#gimp-unit-get-singular">gimp_unit_get_singular</a> (<a class="link" href="libgimpbase-gimpunit.html#GimpUnit">GimpUnit</a> unit);
const gchar* <a class="link" href="libgimpbase-gimpunit.html#gimp-unit-get-plural">gimp_unit_get_plural</a> (<a class="link" href="libgimpbase-gimpunit.html#GimpUnit">GimpUnit</a> unit);
#define <a class="link" href="libgimpbase-gimpunit.html#GIMP-TYPE-UNIT:CAPS">GIMP_TYPE_UNIT</a>
#define <a class="link" href="libgimpbase-gimpunit.html#GIMP-TYPE-PARAM-UNIT:CAPS">GIMP_TYPE_PARAM_UNIT</a>
#define <a class="link" href="libgimpbase-gimpunit.html#GIMP-IS-PARAM-SPEC-UNIT:CAPS">GIMP_IS_PARAM_SPEC_UNIT</a> (pspec)
GParamSpec* <a class="link" href="libgimpbase-gimpunit.html#gimp-param-spec-unit">gimp_param_spec_unit</a> (const gchar *name,
const gchar *nick,
const gchar *blurb,
gboolean allow_pixels,
gboolean allow_percent,
<a class="link" href="libgimpbase-gimpunit.html#GimpUnit">GimpUnit</a> default_value,
GParamFlags flags);
#define <a class="link" href="libgimpbase-gimpunit.html#GIMP-VALUE-HOLDS-UNIT:CAPS">GIMP_VALUE_HOLDS_UNIT</a> (value)
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2604758"></a><h2>Description</h2>
<a name="id2622539"></a><h2>Description</h2>
<p>
Provides a collection of predefined units and functions for creating
user-defined units.
@ -141,11 +91,11 @@ user-defined units.
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2604775"></a><h2>Details</h2>
<a name="id2622556"></a><h2>Details</h2>
<div class="refsect2" lang="en">
<a name="id2604785"></a><h3>
<a name="id2622567"></a><h3>
<a name="GimpUnit"></a>enum GimpUnit</h3>
<a class="indexterm" name="id2604798"></a><pre class="programlisting">typedef enum /*&lt; skip &gt;*/
<a class="indexterm" name="id2622579"></a><pre class="programlisting">typedef enum /*&lt; skip &gt;*/
{
GIMP_UNIT_PIXEL = 0,
@ -165,20 +115,18 @@ user-defined units.
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2604817"></a><h3>
<a name="id2622598"></a><h3>
<a name="gimp-unit-get-number-of-units"></a>gimp_unit_get_number_of_units ()</h3>
<a class="indexterm" name="id2604828"></a><pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> gimp_unit_get_number_of_units (void);</pre>
<a class="indexterm" name="id2622610"></a><pre class="programlisting">gint gimp_unit_get_number_of_units (void);</pre>
<p>
Returns the number of units which are known to the <a href="libgimpbase-gimpunit.html#GimpUnit"><span class="type">GimpUnit</span></a> system.</p>
Returns the number of units which are known to the <a class="link" href="libgimpbase-gimpunit.html#GimpUnit"><span class="type">GimpUnit</span></a> system.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></p></td>
<td> The number of defined units.
</td>
</tr></tbody>
@ -186,14 +134,12 @@ Returns the number of units which are known to the <a href="libgimpbase-gimpunit
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2604876"></a><h3>
<a name="id2622657"></a><h3>
<a name="gimp-unit-get-number-of-built-in-units"></a>gimp_unit_get_number_of_built_in_units ()</h3>
<a class="indexterm" name="id2604887"></a><pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> gimp_unit_get_number_of_built_in_units
<a class="indexterm" name="id2622669"></a><pre class="programlisting">gint gimp_unit_get_number_of_built_in_units
(void);</pre>
<p>
Returns the number of <a href="libgimpbase-gimpunit.html#GimpUnit"><span class="type">GimpUnit</span></a>'s which are hardcoded in the unit system
Returns the number of <a class="link" href="libgimpbase-gimpunit.html#GimpUnit"><span class="type">GimpUnit</span></a>'s which are hardcoded in the unit system
(UNIT_INCH, UNIT_MM, UNIT_POINT, UNIT_PICA and the two "pseudo unit"
UNIT_PIXEL).</p>
<p>
@ -202,7 +148,7 @@ Returns the number of <a href="libgimpbase-gimpunit.html#GimpUnit"><span class="
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></p></td>
<td> The number of built-in units.
</td>
</tr></tbody>
@ -210,40 +156,22 @@ Returns the number of <a href="libgimpbase-gimpunit.html#GimpUnit"><span class="
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2604937"></a><h3>
<a name="id2622719"></a><h3>
<a name="gimp-unit-new"></a>gimp_unit_new ()</h3>
<a class="indexterm" name="id2604950"></a><pre class="programlisting"><a href="libgimpbase-gimpunit.html#GimpUnit">GimpUnit</a> gimp_unit_new (<a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *identifier,
<a
href="../glib/glib-Basic-Types.html#gdouble"
>gdouble</a> factor,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> digits,
<a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *symbol,
<a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *abbreviation,
<a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *singular,
<a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *plural);</pre>
<a class="indexterm" name="id2622732"></a><pre class="programlisting"><a class="link" href="libgimpbase-gimpunit.html#GimpUnit">GimpUnit</a> gimp_unit_new (gchar *identifier,
gdouble factor,
gint digits,
gchar *symbol,
gchar *abbreviation,
gchar *singular,
gchar *plural);</pre>
<p>
Returns the integer ID of the new <a href="libgimpbase-gimpunit.html#GimpUnit"><span class="type">GimpUnit</span></a>.
Returns the integer ID of the new <a class="link" href="libgimpbase-gimpunit.html#GimpUnit"><span class="type">GimpUnit</span></a>.
</p>
<p>
Note that a new unit is always created with it's deletion flag
set to <a
href="../glib/glib-Standard-Macros.html#TRUE:CAPS"
><code class="literal">TRUE</code></a>. You will have to set it to <a
href="../glib/glib-Standard-Macros.html#FALSE:CAPS"
><code class="literal">FALSE</code></a> with
<a href="libgimpbase-gimpunit.html#gimp-unit-set-deletion-flag"><code class="function">gimp_unit_set_deletion_flag()</code></a> to make the unit definition persistent.</p>
set to <code class="literal">TRUE</code>. You will have to set it to <code class="literal">FALSE</code> with
<a class="link" href="libgimpbase-gimpunit.html#gimp-unit-set-deletion-flag"><code class="function">gimp_unit_set_deletion_flag()</code></a> to make the unit definition persistent.</p>
<p>
</p>
@ -251,42 +179,42 @@ href="../glib/glib-Standard-Macros.html#FALSE:CAPS"
<col align="left" valign="top">
<tbody>
<tr>
<td><span class="term"><em class="parameter"><code>identifier</code></em>&#160;:</span></td>
<td><p><span class="term"><em class="parameter"><code>identifier</code></em>&#160;:</span></p></td>
<td> The unit's identifier string.
</td>
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>factor</code></em>&#160;:</span></td>
<td><p><span class="term"><em class="parameter"><code>factor</code></em>&#160;:</span></p></td>
<td> The unit's factor (how many units are in one inch).
</td>
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>digits</code></em>&#160;:</span></td>
<td> The unit's suggested number of digits (see <a href="libgimpbase-gimpunit.html#gimp-unit-get-digits"><code class="function">gimp_unit_get_digits()</code></a>).
<td><p><span class="term"><em class="parameter"><code>digits</code></em>&#160;:</span></p></td>
<td> The unit's suggested number of digits (see <a class="link" href="libgimpbase-gimpunit.html#gimp-unit-get-digits"><code class="function">gimp_unit_get_digits()</code></a>).
</td>
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>symbol</code></em>&#160;:</span></td>
<td><p><span class="term"><em class="parameter"><code>symbol</code></em>&#160;:</span></p></td>
<td> The symbol of the unit (e.g. "''" for inch).
</td>
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>abbreviation</code></em>&#160;:</span></td>
<td><p><span class="term"><em class="parameter"><code>abbreviation</code></em>&#160;:</span></p></td>
<td> The abbreviation of the unit.
</td>
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>singular</code></em>&#160;:</span></td>
<td><p><span class="term"><em class="parameter"><code>singular</code></em>&#160;:</span></p></td>
<td> The singular form of the unit.
</td>
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>plural</code></em>&#160;:</span></td>
<td><p><span class="term"><em class="parameter"><code>plural</code></em>&#160;:</span></p></td>
<td> The plural form of the unit.
</td>
</tr>
<tr>
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></p></td>
<td> The ID of the new unit.
</td>
</tr>
@ -295,11 +223,9 @@ href="../glib/glib-Standard-Macros.html#FALSE:CAPS"
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2576374"></a><h3>
<a name="id2619042"></a><h3>
<a name="gimp-unit-get-deletion-flag"></a>gimp_unit_get_deletion_flag ()</h3>
<a class="indexterm" name="id2576386"></a><pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> gimp_unit_get_deletion_flag (<a href="libgimpbase-gimpunit.html#GimpUnit">GimpUnit</a> unit);</pre>
<a class="indexterm" name="id2619054"></a><pre class="programlisting">gboolean gimp_unit_get_deletion_flag (<a class="link" href="libgimpbase-gimpunit.html#GimpUnit">GimpUnit</a> unit);</pre>
<p>
</p>
<p>
@ -309,12 +235,12 @@ href="../glib/glib-Basic-Types.html#gboolean"
<col align="left" valign="top">
<tbody>
<tr>
<td><span class="term"><em class="parameter"><code>unit</code></em>&#160;:</span></td>
<td><p><span class="term"><em class="parameter"><code>unit</code></em>&#160;:</span></p></td>
<td> The unit you want to know the <em class="parameter"><code>deletion_flag</code></em> of.
</td>
</tr>
<tr>
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></p></td>
<td> The unit's <em class="parameter"><code>deletion_flag</code></em>.
</td>
</tr>
@ -323,17 +249,13 @@ href="../glib/glib-Basic-Types.html#gboolean"
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2576458"></a><h3>
<a name="id2619126"></a><h3>
<a name="gimp-unit-set-deletion-flag"></a>gimp_unit_set_deletion_flag ()</h3>
<a class="indexterm" name="id2609531"></a><pre class="programlisting">void gimp_unit_set_deletion_flag (<a href="libgimpbase-gimpunit.html#GimpUnit">GimpUnit</a> unit,
<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> deletion_flag);</pre>
<a class="indexterm" name="id2626702"></a><pre class="programlisting">void gimp_unit_set_deletion_flag (<a class="link" href="libgimpbase-gimpunit.html#GimpUnit">GimpUnit</a> unit,
gboolean deletion_flag);</pre>
<p>
Sets a <a href="libgimpbase-gimpunit.html#GimpUnit"><span class="type">GimpUnit</span></a>'s <em class="parameter"><code>deletion_flag</code></em>. If the <em class="parameter"><code>deletion_flag</code></em> of a unit is
<a
href="../glib/glib-Standard-Macros.html#TRUE:CAPS"
><code class="literal">TRUE</code></a> when GIMP exits, this unit will not be saved in the users's
Sets a <a class="link" href="libgimpbase-gimpunit.html#GimpUnit"><span class="type">GimpUnit</span></a>'s <em class="parameter"><code>deletion_flag</code></em>. If the <em class="parameter"><code>deletion_flag</code></em> of a unit is
<code class="literal">TRUE</code> when GIMP exits, this unit will not be saved in the users's
"unitrc" file.
</p>
<p>
@ -346,12 +268,12 @@ ignored.</p>
<col align="left" valign="top">
<tbody>
<tr>
<td><span class="term"><em class="parameter"><code>unit</code></em>&#160;:</span></td>
<td><p><span class="term"><em class="parameter"><code>unit</code></em>&#160;:</span></p></td>
<td> The unit you want to set the <em class="parameter"><code>deletion_flag</code></em> for.
</td>
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>deletion_flag</code></em>&#160;:</span></td>
<td><p><span class="term"><em class="parameter"><code>deletion_flag</code></em>&#160;:</span></p></td>
<td> The new deletion_flag.
</td>
</tr>
@ -360,13 +282,11 @@ ignored.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2609636"></a><h3>
<a name="id2626806"></a><h3>
<a name="gimp-unit-get-factor"></a>gimp_unit_get_factor ()</h3>
<a class="indexterm" name="id2609646"></a><pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#gdouble"
>gdouble</a> gimp_unit_get_factor (<a href="libgimpbase-gimpunit.html#GimpUnit">GimpUnit</a> unit);</pre>
<a class="indexterm" name="id2626817"></a><pre class="programlisting">gdouble gimp_unit_get_factor (<a class="link" href="libgimpbase-gimpunit.html#GimpUnit">GimpUnit</a> unit);</pre>
<p>
A <a href="libgimpbase-gimpunit.html#GimpUnit"><span class="type">GimpUnit</span></a>'s <em class="parameter"><code>factor</code></em> is defined to be:
A <a class="link" href="libgimpbase-gimpunit.html#GimpUnit"><span class="type">GimpUnit</span></a>'s <em class="parameter"><code>factor</code></em> is defined to be:
</p>
<p>
distance_in_units == (<em class="parameter"><code>factor</code></em> * distance_in_inches)
@ -380,12 +300,12 @@ Returns 0 for <em class="parameter"><code>unit</code></em> == GIMP_UNIT_PIXEL.</
<col align="left" valign="top">
<tbody>
<tr>
<td><span class="term"><em class="parameter"><code>unit</code></em>&#160;:</span></td>
<td><p><span class="term"><em class="parameter"><code>unit</code></em>&#160;:</span></p></td>
<td> The unit you want to know the factor of.
</td>
</tr>
<tr>
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></p></td>
<td> The unit's factor.
</td>
</tr>
@ -394,11 +314,9 @@ Returns 0 for <em class="parameter"><code>unit</code></em> == GIMP_UNIT_PIXEL.</
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2609738"></a><h3>
<a name="id2626908"></a><h3>
<a name="gimp-unit-get-digits"></a>gimp_unit_get_digits ()</h3>
<a class="indexterm" name="id2609750"></a><pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> gimp_unit_get_digits (<a href="libgimpbase-gimpunit.html#GimpUnit">GimpUnit</a> unit);</pre>
<a class="indexterm" name="id2626920"></a><pre class="programlisting">gint gimp_unit_get_digits (<a class="link" href="libgimpbase-gimpunit.html#GimpUnit">GimpUnit</a> unit);</pre>
<p>
Returns the number of digits an entry field should provide to get
approximately the same accuracy as an inch input field with two digits.
@ -412,12 +330,12 @@ Returns 0 for <em class="parameter"><code>unit</code></em> == GIMP_UNIT_PIXEL.</
<col align="left" valign="top">
<tbody>
<tr>
<td><span class="term"><em class="parameter"><code>unit</code></em>&#160;:</span></td>
<td><p><span class="term"><em class="parameter"><code>unit</code></em>&#160;:</span></p></td>
<td> The unit you want to know the digits.
</td>
</tr>
<tr>
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></p></td>
<td> The suggested number of digits.
</td>
</tr>
@ -426,11 +344,9 @@ Returns 0 for <em class="parameter"><code>unit</code></em> == GIMP_UNIT_PIXEL.</
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2609797"></a><h3>
<a name="id2626992"></a><h3>
<a name="gimp-unit-get-identifier"></a>gimp_unit_get_identifier ()</h3>
<a class="indexterm" name="id2609807"></a><pre class="programlisting">const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a>* gimp_unit_get_identifier (<a href="libgimpbase-gimpunit.html#GimpUnit">GimpUnit</a> unit);</pre>
<a class="indexterm" name="id2627004"></a><pre class="programlisting">const gchar* gimp_unit_get_identifier (<a class="link" href="libgimpbase-gimpunit.html#GimpUnit">GimpUnit</a> unit);</pre>
<p>
This is an unstranslated string and must not be changed or freed.</p>
<p>
@ -440,12 +356,12 @@ This is an unstranslated string and must not be changed or freed.</p>
<col align="left" valign="top">
<tbody>
<tr>
<td><span class="term"><em class="parameter"><code>unit</code></em>&#160;:</span></td>
<td><p><span class="term"><em class="parameter"><code>unit</code></em>&#160;:</span></p></td>
<td> The unit you want to know the identifier of.
</td>
</tr>
<tr>
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></p></td>
<td> The unit's identifier.
</td>
</tr>
@ -454,11 +370,9 @@ This is an unstranslated string and must not be changed or freed.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2609864"></a><h3>
<a name="id2627066"></a><h3>
<a name="gimp-unit-get-symbol"></a>gimp_unit_get_symbol ()</h3>
<a class="indexterm" name="id2609874"></a><pre class="programlisting">const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a>* gimp_unit_get_symbol (<a href="libgimpbase-gimpunit.html#GimpUnit">GimpUnit</a> unit);</pre>
<a class="indexterm" name="id2627077"></a><pre class="programlisting">const gchar* gimp_unit_get_symbol (<a class="link" href="libgimpbase-gimpunit.html#GimpUnit">GimpUnit</a> unit);</pre>
<p>
This is e.g. "''" for UNIT_INCH.
</p>
@ -471,12 +385,12 @@ NOTE: This string must not be changed or freed.</p>
<col align="left" valign="top">
<tbody>
<tr>
<td><span class="term"><em class="parameter"><code>unit</code></em>&#160;:</span></td>
<td><p><span class="term"><em class="parameter"><code>unit</code></em>&#160;:</span></p></td>
<td> The unit you want to know the symbol of.
</td>
</tr>
<tr>
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></p></td>
<td> The unit's symbol.
</td>
</tr>
@ -485,11 +399,9 @@ NOTE: This string must not be changed or freed.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2609934"></a><h3>
<a name="id2627144"></a><h3>
<a name="gimp-unit-get-abbreviation"></a>gimp_unit_get_abbreviation ()</h3>
<a class="indexterm" name="id2609945"></a><pre class="programlisting">const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a>* gimp_unit_get_abbreviation (<a href="libgimpbase-gimpunit.html#GimpUnit">GimpUnit</a> unit);</pre>
<a class="indexterm" name="id2627156"></a><pre class="programlisting">const gchar* gimp_unit_get_abbreviation (<a class="link" href="libgimpbase-gimpunit.html#GimpUnit">GimpUnit</a> unit);</pre>
<p>
For built-in units, this function returns the translated abbreviation
of the unit.
@ -503,12 +415,12 @@ NOTE: This string must not be changed or freed.</p>
<col align="left" valign="top">
<tbody>
<tr>
<td><span class="term"><em class="parameter"><code>unit</code></em>&#160;:</span></td>
<td><p><span class="term"><em class="parameter"><code>unit</code></em>&#160;:</span></p></td>
<td> The unit you want to know the abbreviation of.
</td>
</tr>
<tr>
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></p></td>
<td> The unit's abbreviation.
</td>
</tr>
@ -517,11 +429,9 @@ NOTE: This string must not be changed or freed.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2610007"></a><h3>
<a name="id2627223"></a><h3>
<a name="gimp-unit-get-singular"></a>gimp_unit_get_singular ()</h3>
<a class="indexterm" name="id2610017"></a><pre class="programlisting">const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a>* gimp_unit_get_singular (<a href="libgimpbase-gimpunit.html#GimpUnit">GimpUnit</a> unit);</pre>
<a class="indexterm" name="id2627234"></a><pre class="programlisting">const gchar* gimp_unit_get_singular (<a class="link" href="libgimpbase-gimpunit.html#GimpUnit">GimpUnit</a> unit);</pre>
<p>
For built-in units, this function returns the translated singular form
of the unit's name.
@ -535,12 +445,12 @@ NOTE: This string must not be changed or freed.</p>
<col align="left" valign="top">
<tbody>
<tr>
<td><span class="term"><em class="parameter"><code>unit</code></em>&#160;:</span></td>
<td><p><span class="term"><em class="parameter"><code>unit</code></em>&#160;:</span></p></td>
<td> The unit you want to know the singular form of.
</td>
</tr>
<tr>
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></p></td>
<td> The unit's singular form.
</td>
</tr>
@ -549,11 +459,9 @@ NOTE: This string must not be changed or freed.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2610078"></a><h3>
<a name="id2627302"></a><h3>
<a name="gimp-unit-get-plural"></a>gimp_unit_get_plural ()</h3>
<a class="indexterm" name="id2610089"></a><pre class="programlisting">const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a>* gimp_unit_get_plural (<a href="libgimpbase-gimpunit.html#GimpUnit">GimpUnit</a> unit);</pre>
<a class="indexterm" name="id2627313"></a><pre class="programlisting">const gchar* gimp_unit_get_plural (<a class="link" href="libgimpbase-gimpunit.html#GimpUnit">GimpUnit</a> unit);</pre>
<p>
For built-in units, this function returns the translated plural form
of the unit's name.
@ -567,12 +475,12 @@ NOTE: This string must not be changed or freed.</p>
<col align="left" valign="top">
<tbody>
<tr>
<td><span class="term"><em class="parameter"><code>unit</code></em>&#160;:</span></td>
<td><p><span class="term"><em class="parameter"><code>unit</code></em>&#160;:</span></p></td>
<td> The unit you want to know the plural form of.
</td>
</tr>
<tr>
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></p></td>
<td> The unit's plural form.
</td>
</tr>
@ -581,23 +489,19 @@ NOTE: This string must not be changed or freed.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2610150"></a><h3>
<a name="id2627381"></a><h3>
<a name="GIMP-TYPE-UNIT:CAPS"></a>GIMP_TYPE_UNIT</h3>
<a class="indexterm" name="id2610160"></a><pre class="programlisting">#define GIMP_TYPE_UNIT (gimp_unit_get_type ())
<a class="indexterm" name="id2627393"></a><pre class="programlisting">#define GIMP_TYPE_UNIT (gimp_unit_get_type ())
</pre>
<p>
<a href="libgimpbase-gimpunit.html#GIMP-TYPE-UNIT:CAPS"><span class="type">GIMP_TYPE_UNIT</span></a> is a <a
href="../gobject/gobject-Type-Information.html#GType"
><span class="type">GType</span></a> derived from <a
href="../gobject/gobject-Type-Information.html#G-TYPE-INT:CAPS"
><span class="type">G_TYPE_INT</span></a>.
<a class="link" href="libgimpbase-gimpunit.html#GIMP-TYPE-UNIT:CAPS"><span class="type">GIMP_TYPE_UNIT</span></a> is a <span class="type">GType</span> derived from <span class="type">G_TYPE_INT</span>.
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2610194"></a><h3>
<a name="id2627431"></a><h3>
<a name="GIMP-TYPE-PARAM-UNIT:CAPS"></a>GIMP_TYPE_PARAM_UNIT</h3>
<a class="indexterm" name="id2610204"></a><pre class="programlisting">#define GIMP_TYPE_PARAM_UNIT (gimp_param_unit_get_type ())
<a class="indexterm" name="id2627443"></a><pre class="programlisting">#define GIMP_TYPE_PARAM_UNIT (gimp_param_unit_get_type ())
</pre>
<p>
@ -605,9 +509,9 @@ href="../gobject/gobject-Type-Information.html#G-TYPE-INT:CAPS"
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2610219"></a><h3>
<a name="id2627459"></a><h3>
<a name="GIMP-IS-PARAM-SPEC-UNIT:CAPS"></a>GIMP_IS_PARAM_SPEC_UNIT()</h3>
<a class="indexterm" name="id2610232"></a><pre class="programlisting">#define GIMP_IS_PARAM_SPEC_UNIT(pspec) (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), GIMP_TYPE_PARAM_UNIT))
<a class="indexterm" name="id2627472"></a><pre class="programlisting">#define GIMP_IS_PARAM_SPEC_UNIT(pspec) (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), GIMP_TYPE_PARAM_UNIT))
</pre>
<p>
@ -615,7 +519,7 @@ href="../gobject/gobject-Type-Information.html#G-TYPE-INT:CAPS"
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><span class="term"><em class="parameter"><code>pspec</code></em>&#160;:</span></td>
<td><p><span class="term"><em class="parameter"><code>pspec</code></em>&#160;:</span></p></td>
<td>
@ -625,34 +529,18 @@ href="../gobject/gobject-Type-Information.html#G-TYPE-INT:CAPS"
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2610264"></a><h3>
<a name="id2627508"></a><h3>
<a name="gimp-param-spec-unit"></a>gimp_param_spec_unit ()</h3>
<a class="indexterm" name="id2610276"></a><pre class="programlisting"><a
href="../gobject/gobject-GParamSpec.html#GParamSpec"
>GParamSpec</a>* gimp_param_spec_unit (const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *name,
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *nick,
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *blurb,
<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> allow_pixels,
<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> allow_percent,
<a href="libgimpbase-gimpunit.html#GimpUnit">GimpUnit</a> default_value,
<a
href="../gobject/gobject-GParamSpec.html#GParamFlags"
>GParamFlags</a> flags);</pre>
<a class="indexterm" name="id2627522"></a><pre class="programlisting">GParamSpec* gimp_param_spec_unit (const gchar *name,
const gchar *nick,
const gchar *blurb,
gboolean allow_pixels,
gboolean allow_percent,
<a class="link" href="libgimpbase-gimpunit.html#GimpUnit">GimpUnit</a> default_value,
GParamFlags flags);</pre>
<p>
Creates a param spec to hold a units param.
See <a
href="../gobject/gobject-GParamSpec.html#g-param-spec-internal"
><code class="function">g_param_spec_internal()</code></a> for more information.</p>
See <code class="function">g_param_spec_internal()</code> for more information.</p>
<p>
</p>
@ -660,47 +548,43 @@ href="../gobject/gobject-GParamSpec.html#g-param-spec-internal"
<col align="left" valign="top">
<tbody>
<tr>
<td><span class="term"><em class="parameter"><code>name</code></em>&#160;:</span></td>
<td><p><span class="term"><em class="parameter"><code>name</code></em>&#160;:</span></p></td>
<td> Canonical name of the param
</td>
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>nick</code></em>&#160;:</span></td>
<td><p><span class="term"><em class="parameter"><code>nick</code></em>&#160;:</span></p></td>
<td> Nickname of the param
</td>
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>blurb</code></em>&#160;:</span></td>
<td><p><span class="term"><em class="parameter"><code>blurb</code></em>&#160;:</span></p></td>
<td> Brief desciption of param.
</td>
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>allow_pixels</code></em>&#160;:</span></td>
<td><p><span class="term"><em class="parameter"><code>allow_pixels</code></em>&#160;:</span></p></td>
<td> Whether "pixels" is an allowed unit.
</td>
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>allow_percent</code></em>&#160;:</span></td>
<td><p><span class="term"><em class="parameter"><code>allow_percent</code></em>&#160;:</span></p></td>
<td> Whether "perecent" is an allowed unit.
</td>
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>default_value</code></em>&#160;:</span></td>
<td><p><span class="term"><em class="parameter"><code>default_value</code></em>&#160;:</span></p></td>
<td> Unit to use if none is assigned.
</td>
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>flags</code></em>&#160;:</span></td>
<td> a combination of <a
href="../gobject/gobject-GParamSpec.html#GParamFlags"
><span class="type">GParamFlags</span></a>
<td><p><span class="term"><em class="parameter"><code>flags</code></em>&#160;:</span></p></td>
<td> a combination of <span class="type">GParamFlags</span>
</td>
</tr>
<tr>
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td> a newly allocated <a
href="../gobject/gobject-GParamSpec.html#GParamSpec"
><span class="type">GParamSpec</span></a> instance
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></p></td>
<td> a newly allocated <span class="type">GParamSpec</span> instance
</td>
</tr>
@ -711,9 +595,9 @@ href="../gobject/gobject-GParamSpec.html#GParamSpec"
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2610477"></a><h3>
<a name="id2627743"></a><h3>
<a name="GIMP-VALUE-HOLDS-UNIT:CAPS"></a>GIMP_VALUE_HOLDS_UNIT()</h3>
<a class="indexterm" name="id2610487"></a><pre class="programlisting">#define GIMP_VALUE_HOLDS_UNIT(value) (G_TYPE_CHECK_VALUE_TYPE ((value), GIMP_TYPE_UNIT))
<a class="indexterm" name="id2627754"></a><pre class="programlisting">#define GIMP_VALUE_HOLDS_UNIT(value) (G_TYPE_CHECK_VALUE_TYPE ((value), GIMP_TYPE_UNIT))
</pre>
<p>
@ -721,7 +605,7 @@ href="../gobject/gobject-GParamSpec.html#GParamSpec"
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><span class="term"><em class="parameter"><code>value</code></em>&#160;:</span></td>
<td><p><span class="term"><em class="parameter"><code>value</code></em>&#160;:</span></p></td>
<td>
@ -731,15 +615,15 @@ href="../gobject/gobject-GParamSpec.html#GParamSpec"
</div>
</div>
<div class="refsect1" lang="en">
<a name="id2610520"></a><h2>See Also</h2>
<a name="id2627791"></a><h2>See Also</h2>
<p>
<a
href="../libgimpwidgets/GimpUnitMenu.html"
href="/local/head/share/gtk-doc/html/libgimpwidgets/GimpUnitMenu.html"
><span class="type">GimpUnitMenu</span></a>
</p>
<p>
<a
href="../libgimpwidgets/GimpSizeEntry.html"
href="/local/head/share/gtk-doc/html/libgimpwidgets/GimpSizeEntry.html"
><span class="type">GimpSizeEntry</span></a>
</p>
</div>

View File

@ -3,7 +3,7 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>gimputils</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.72.0">
<meta name="generator" content="DocBook XSL Stylesheets V1.73.2">
<link rel="start" href="index.html" title="GIMP Base Library Reference Manual">
<link rel="up" href="libgimpbase.html" title="Part&#160;I.&#160;GIMP Base Library">
<link rel="prev" href="libgimpbase-gimpunit.html" title="gimpunit">
@ -25,16 +25,16 @@
<th width="100%" align="center">GIMP Base Library Reference Manual</th>
<td><a accesskey="n" href="libgimpbase-index.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2562331" class="shortcut">Top</a>
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2581976" class="shortcut">Top</a>
&#160;|&#160;
<a href="#id2608249" class="shortcut">Description</a></nobr></td></tr>
<a href="#id2626244" class="shortcut">Description</a></nobr></td></tr>
</table>
<div class="refentry" lang="en">
<a name="libgimpbase-gimputils"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2>
<a name="id2562331"></a><span class="refentrytitle">gimputils</span>
<a name="id2581976"></a><span class="refentrytitle">gimputils</span>
</h2>
<p>gimputils &#8212; Utilities of general interest</p>
</td>
@ -46,154 +46,56 @@
<a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a>* <a href="libgimpbase-gimputils.html#gimp-any-to-utf8">gimp_any_to_utf8</a> (const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *str,
<a
href="../glib/glib-Basic-Types.html#gssize"
>gssize</a> len,
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *warning_format,
gchar* <a class="link" href="libgimpbase-gimputils.html#gimp-any-to-utf8">gimp_any_to_utf8</a> (const gchar *str,
gssize len,
const gchar *warning_format,
...);
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a>* <a href="libgimpbase-gimputils.html#gimp-filename-to-utf8">gimp_filename_to_utf8</a> (const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *filename);
<a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a>* <a href="libgimpbase-gimputils.html#gimp-utf8-strtrim">gimp_utf8_strtrim</a> (const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *str,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> max_chars);
<a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a>* <a href="libgimpbase-gimputils.html#gimp-escape-uline">gimp_escape_uline</a> (const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *str);
<a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a>* <a href="libgimpbase-gimputils.html#gimp-strip-uline">gimp_strip_uline</a> (const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *str);
<a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a>* <a href="libgimpbase-gimputils.html#gimp-canonicalize-identifier">gimp_canonicalize_identifier</a> (const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *identifier);
<a href="libgimpbase-gimpbasetypes.html#GimpEnumDesc">GimpEnumDesc</a>* <a href="libgimpbase-gimputils.html#gimp-enum-get-desc">gimp_enum_get_desc</a> (<a
href="../gobject/gobject-Enumeration-and-Flag-Types.html#GEnumClass"
>GEnumClass</a> *enum_class,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> value);
<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> <a href="libgimpbase-gimputils.html#gimp-enum-get-value">gimp_enum_get_value</a> (<a
href="../gobject/gobject-Type-Information.html#GType"
>GType</a> enum_type,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> value,
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> **value_name,
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> **value_nick,
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> **value_desc,
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> **value_help);
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a>* <a href="libgimpbase-gimputils.html#gimp-enum-value-get-desc">gimp_enum_value_get_desc</a> (<a
href="../gobject/gobject-Enumeration-and-Flag-Types.html#GEnumClass"
>GEnumClass</a> *enum_class,
<a
href="../gobject/gobject-Enumeration-and-Flag-Types.html#GEnumValue"
>GEnumValue</a> *enum_value);
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a>* <a href="libgimpbase-gimputils.html#gimp-enum-value-get-help">gimp_enum_value_get_help</a> (<a
href="../gobject/gobject-Enumeration-and-Flag-Types.html#GEnumClass"
>GEnumClass</a> *enum_class,
<a
href="../gobject/gobject-Enumeration-and-Flag-Types.html#GEnumValue"
>GEnumValue</a> *enum_value);
<a href="libgimpbase-gimpbasetypes.html#GimpFlagsDesc">GimpFlagsDesc</a>* <a href="libgimpbase-gimputils.html#gimp-flags-get-first-desc">gimp_flags_get_first_desc</a> (<a
href="../gobject/gobject-Enumeration-and-Flag-Types.html#GFlagsClass"
>GFlagsClass</a> *flags_class,
<a
href="../glib/glib-Basic-Types.html#guint"
>guint</a> value);
<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> <a href="libgimpbase-gimputils.html#gimp-flags-get-first-value">gimp_flags_get_first_value</a> (<a
href="../gobject/gobject-Type-Information.html#GType"
>GType</a> flags_type,
<a
href="../glib/glib-Basic-Types.html#guint"
>guint</a> value,
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> **value_name,
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> **value_nick,
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> **value_desc,
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> **value_help);
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a>* <a href="libgimpbase-gimputils.html#gimp-flags-value-get-desc">gimp_flags_value_get_desc</a> (<a
href="../gobject/gobject-Enumeration-and-Flag-Types.html#GFlagsClass"
>GFlagsClass</a> *flags_class,
<a
href="../gobject/gobject-Enumeration-and-Flag-Types.html#GFlagsValue"
>GFlagsValue</a> *flags_value);
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a>* <a href="libgimpbase-gimputils.html#gimp-flags-value-get-help">gimp_flags_value_get_help</a> (<a
href="../gobject/gobject-Enumeration-and-Flag-Types.html#GFlagsClass"
>GFlagsClass</a> *flags_class,
<a
href="../gobject/gobject-Enumeration-and-Flag-Types.html#GFlagsValue"
>GFlagsValue</a> *flags_value);
const gchar* <a class="link" href="libgimpbase-gimputils.html#gimp-filename-to-utf8">gimp_filename_to_utf8</a> (const gchar *filename);
gchar* <a class="link" href="libgimpbase-gimputils.html#gimp-utf8-strtrim">gimp_utf8_strtrim</a> (const gchar *str,
gint max_chars);
gchar* <a class="link" href="libgimpbase-gimputils.html#gimp-escape-uline">gimp_escape_uline</a> (const gchar *str);
gchar* <a class="link" href="libgimpbase-gimputils.html#gimp-strip-uline">gimp_strip_uline</a> (const gchar *str);
gchar* <a class="link" href="libgimpbase-gimputils.html#gimp-canonicalize-identifier">gimp_canonicalize_identifier</a> (const gchar *identifier);
<a class="link" href="libgimpbase-gimpbasetypes.html#GimpEnumDesc">GimpEnumDesc</a>* <a class="link" href="libgimpbase-gimputils.html#gimp-enum-get-desc">gimp_enum_get_desc</a> (GEnumClass *enum_class,
gint value);
gboolean <a class="link" href="libgimpbase-gimputils.html#gimp-enum-get-value">gimp_enum_get_value</a> (GType enum_type,
gint value,
const gchar **value_name,
const gchar **value_nick,
const gchar **value_desc,
const gchar **value_help);
const gchar* <a class="link" href="libgimpbase-gimputils.html#gimp-enum-value-get-desc">gimp_enum_value_get_desc</a> (GEnumClass *enum_class,
GEnumValue *enum_value);
const gchar* <a class="link" href="libgimpbase-gimputils.html#gimp-enum-value-get-help">gimp_enum_value_get_help</a> (GEnumClass *enum_class,
GEnumValue *enum_value);
<a class="link" href="libgimpbase-gimpbasetypes.html#GimpFlagsDesc">GimpFlagsDesc</a>* <a class="link" href="libgimpbase-gimputils.html#gimp-flags-get-first-desc">gimp_flags_get_first_desc</a> (GFlagsClass *flags_class,
guint value);
gboolean <a class="link" href="libgimpbase-gimputils.html#gimp-flags-get-first-value">gimp_flags_get_first_value</a> (GType flags_type,
guint value,
const gchar **value_name,
const gchar **value_nick,
const gchar **value_desc,
const gchar **value_help);
const gchar* <a class="link" href="libgimpbase-gimputils.html#gimp-flags-value-get-desc">gimp_flags_value_get_desc</a> (GFlagsClass *flags_class,
GFlagsValue *flags_value);
const gchar* <a class="link" href="libgimpbase-gimputils.html#gimp-flags-value-get-help">gimp_flags_value_get_help</a> (GFlagsClass *flags_class,
GFlagsValue *flags_value);
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2608249"></a><h2>Description</h2>
<a name="id2626244"></a><h2>Description</h2>
<p>
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2608264"></a><h2>Details</h2>
<a name="id2626260"></a><h2>Details</h2>
<div class="refsect2" lang="en">
<a name="id2608275"></a><h3>
<a name="id2626271"></a><h3>
<a name="gimp-any-to-utf8"></a>gimp_any_to_utf8 ()</h3>
<a class="indexterm" name="id2608288"></a><pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a>* gimp_any_to_utf8 (const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *str,
<a
href="../glib/glib-Basic-Types.html#gssize"
>gssize</a> len,
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *warning_format,
<a class="indexterm" name="id2626283"></a><pre class="programlisting">gchar* gimp_any_to_utf8 (const gchar *str,
gssize len,
const gchar *warning_format,
...);</pre>
<p>
This function takes any string (UTF-8 or not) and always returns a valid
@ -203,9 +105,7 @@ UTF-8 string.
If <em class="parameter"><code>str</code></em> is valid UTF-8, a copy of the string is returned.
</p>
<p>
If UTF-8 validation fails, <a
href="../glib/glib-Character-Set-Conversion.html#g-locale-to-utf8"
><code class="function">g_locale_to_utf8()</code></a> is tried and if it
If UTF-8 validation fails, <code class="function">g_locale_to_utf8()</code> is tried and if it
succeeds the resulting string is returned.
</p>
<p>
@ -219,30 +119,30 @@ of <em class="parameter"><code>str</code></em> is valid UTF-8, only "(invalid UT
<col align="left" valign="top">
<tbody>
<tr>
<td><span class="term"><em class="parameter"><code>str</code></em>&#160;:</span></td>
<td><p><span class="term"><em class="parameter"><code>str</code></em>&#160;:</span></p></td>
<td> The string to be converted to UTF-8.
</td>
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>len</code></em>&#160;:</span></td>
<td><p><span class="term"><em class="parameter"><code>len</code></em>&#160;:</span></p></td>
<td> The length of the string, or -1 if the string
is nul-terminated.
</td>
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>warning_format</code></em>&#160;:</span></td>
<td><p><span class="term"><em class="parameter"><code>warning_format</code></em>&#160;:</span></p></td>
<td> The message format for the warning message if conversion
to UTF-8 fails. See the <code class="function"><code class="function">printf()</code></code>
documentation.
</td>
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>...</code></em>&#160;:</span></td>
<td><p><span class="term"><em class="parameter"><code>...</code></em>&#160;:</span></p></td>
<td> The parameters to insert into the format string.
</td>
</tr>
<tr>
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></p></td>
<td> The UTF-8 string as described above.
</td>
</tr>
@ -251,18 +151,14 @@ of <em class="parameter"><code>str</code></em> is valid UTF-8, only "(invalid UT
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2605836"></a><h3>
<a name="id2623336"></a><h3>
<a name="gimp-filename-to-utf8"></a>gimp_filename_to_utf8 ()</h3>
<a class="indexterm" name="id2605847"></a><pre class="programlisting">const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a>* gimp_filename_to_utf8 (const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *filename);</pre>
<a class="indexterm" name="id2623346"></a><pre class="programlisting">const gchar* gimp_filename_to_utf8 (const gchar *filename);</pre>
<p>
Convert a filename in the filesystem's encoding to UTF-8
temporarily. The return value is a pointer to a string that is
guaranteed to be valid only during the current iteration of the
main loop or until the next call to <a href="libgimpbase-gimputils.html#gimp-filename-to-utf8"><code class="function">gimp_filename_to_utf8()</code></a>.
main loop or until the next call to <a class="link" href="libgimpbase-gimputils.html#gimp-filename-to-utf8"><code class="function">gimp_filename_to_utf8()</code></a>.
</p>
<p>
The only purpose of this function is to provide an easy way to pass
@ -275,12 +171,12 @@ UTF-8 encoded filename.</p>
<col align="left" valign="top">
<tbody>
<tr>
<td><span class="term"><em class="parameter"><code>filename</code></em>&#160;:</span></td>
<td><p><span class="term"><em class="parameter"><code>filename</code></em>&#160;:</span></p></td>
<td> The filename to be converted to UTF-8.
</td>
</tr>
<tr>
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></p></td>
<td> A temporarily valid UTF-8 representation of <em class="parameter"><code>filename</code></em>.
This string must not be changed or freed.
</td>
@ -290,16 +186,10 @@ UTF-8 encoded filename.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2605934"></a><h3>
<a name="id2623434"></a><h3>
<a name="gimp-utf8-strtrim"></a>gimp_utf8_strtrim ()</h3>
<a class="indexterm" name="id2605947"></a><pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a>* gimp_utf8_strtrim (const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *str,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> max_chars);</pre>
<a class="indexterm" name="id2623446"></a><pre class="programlisting">gchar* gimp_utf8_strtrim (const gchar *str,
gint max_chars);</pre>
<p>
Creates a (possibly trimmed) copy of <em class="parameter"><code>str</code></em>. The string is cut if it
exceeds <em class="parameter"><code>max_chars</code></em> characters or on the first newline. The fact
@ -311,24 +201,20 @@ that the string was trimmed is indicated by appending an ellipsis.</p>
<col align="left" valign="top">
<tbody>
<tr>
<td><span class="term"><em class="parameter"><code>str</code></em>&#160;:</span></td>
<td> an UTF-8 encoded string (or <a
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a>)
<td><p><span class="term"><em class="parameter"><code>str</code></em>&#160;:</span></p></td>
<td> an UTF-8 encoded string (or <code class="literal">NULL</code>)
</td>
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>max_chars</code></em>&#160;:</span></td>
<td><p><span class="term"><em class="parameter"><code>max_chars</code></em>&#160;:</span></p></td>
<td> the maximum number of characters before the string get
trimmed
</td>
</tr>
<tr>
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></p></td>
<td> A (possibly trimmed) copy of <em class="parameter"><code>str</code></em> which should be freed
using <a
href="../glib/glib-Memory-Allocation.html#g-free"
><code class="function">g_free()</code></a> when it is not needed any longer.
using <code class="function">g_free()</code> when it is not needed any longer.
</td>
</tr>
</tbody>
@ -336,13 +222,9 @@ href="../glib/glib-Memory-Allocation.html#g-free"
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2606066"></a><h3>
<a name="id2623565"></a><h3>
<a name="gimp-escape-uline"></a>gimp_escape_uline ()</h3>
<a class="indexterm" name="id2606080"></a><pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a>* gimp_escape_uline (const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *str);</pre>
<a class="indexterm" name="id2623580"></a><pre class="programlisting">gchar* gimp_escape_uline (const gchar *str);</pre>
<p>
This function returns a copy of <em class="parameter"><code>str</code></em> with all underline converted
to two adjacent underlines. This comes in handy when needing to display
@ -355,18 +237,14 @@ them to mnemonics.</p>
<col align="left" valign="top">
<tbody>
<tr>
<td><span class="term"><em class="parameter"><code>str</code></em>&#160;:</span></td>
<td> Underline infested string (or <a
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a>)
<td><p><span class="term"><em class="parameter"><code>str</code></em>&#160;:</span></p></td>
<td> Underline infested string (or <code class="literal">NULL</code>)
</td>
</tr>
<tr>
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></p></td>
<td> A (possibly escaped) copy of <em class="parameter"><code>str</code></em> which should be
freed using <a
href="../glib/glib-Memory-Allocation.html#g-free"
><code class="function">g_free()</code></a> when it is not needed any longer.
freed using <code class="function">g_free()</code> when it is not needed any longer.
</td>
</tr>
@ -377,13 +255,9 @@ href="../glib/glib-Memory-Allocation.html#g-free"
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2612373"></a><h3>
<a name="id2629534"></a><h3>
<a name="gimp-strip-uline"></a>gimp_strip_uline ()</h3>
<a class="indexterm" name="id2612384"></a><pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a>* gimp_strip_uline (const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *str);</pre>
<a class="indexterm" name="id2629544"></a><pre class="programlisting">gchar* gimp_strip_uline (const gchar *str);</pre>
<p>
This function returns a copy of <em class="parameter"><code>str</code></em> stripped of underline
characters. This comes in handy when needing to strip mnemonics
@ -401,18 +275,14 @@ rid of the mnemonic (see bug <span class="type">157561</span>).</p>
<col align="left" valign="top">
<tbody>
<tr>
<td><span class="term"><em class="parameter"><code>str</code></em>&#160;:</span></td>
<td> underline infested string (or <a
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a>)
<td><p><span class="term"><em class="parameter"><code>str</code></em>&#160;:</span></p></td>
<td> underline infested string (or <code class="literal">NULL</code>)
</td>
</tr>
<tr>
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></p></td>
<td> A (possibly stripped) copy of <em class="parameter"><code>str</code></em> which should be
freed using <a
href="../glib/glib-Memory-Allocation.html#g-free"
><code class="function">g_free()</code></a> when it is not needed any longer.
freed using <code class="function">g_free()</code> when it is not needed any longer.
</td>
</tr>
</tbody>
@ -420,13 +290,9 @@ href="../glib/glib-Memory-Allocation.html#g-free"
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2612488"></a><h3>
<a name="id2629650"></a><h3>
<a name="gimp-canonicalize-identifier"></a>gimp_canonicalize_identifier ()</h3>
<a class="indexterm" name="id2612503"></a><pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a>* gimp_canonicalize_identifier (const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *identifier);</pre>
<a class="indexterm" name="id2629665"></a><pre class="programlisting">gchar* gimp_canonicalize_identifier (const gchar *identifier);</pre>
<p>
Turns any input string into a canonicalized string.
</p>
@ -441,16 +307,14 @@ not either '-', 'a-z', 'A-Z' or '0-9' will be replaced by a '-'.</p>
<col align="left" valign="top">
<tbody>
<tr>
<td><span class="term"><em class="parameter"><code>identifier</code></em>&#160;:</span></td>
<td><p><span class="term"><em class="parameter"><code>identifier</code></em>&#160;:</span></p></td>
<td> The identifier string to canonicalize.
</td>
</tr>
<tr>
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></p></td>
<td> The canonicalized identifier. This is a newly
allocated string that should be freed with <a
href="../glib/glib-Memory-Allocation.html#g-free"
><code class="function">g_free()</code></a>
allocated string that should be freed with <code class="function">g_free()</code>
when no longer needed.
</td>
@ -462,18 +326,12 @@ href="../glib/glib-Memory-Allocation.html#g-free"
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2612591"></a><h3>
<a name="id2629753"></a><h3>
<a name="gimp-enum-get-desc"></a>gimp_enum_get_desc ()</h3>
<a class="indexterm" name="id2612605"></a><pre class="programlisting"><a href="libgimpbase-gimpbasetypes.html#GimpEnumDesc">GimpEnumDesc</a>* gimp_enum_get_desc (<a
href="../gobject/gobject-Enumeration-and-Flag-Types.html#GEnumClass"
>GEnumClass</a> *enum_class,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> value);</pre>
<a class="indexterm" name="id2629767"></a><pre class="programlisting"><a class="link" href="libgimpbase-gimpbasetypes.html#GimpEnumDesc">GimpEnumDesc</a>* gimp_enum_get_desc (GEnumClass *enum_class,
gint value);</pre>
<p>
Retrieves <a href="libgimpbase-gimpbasetypes.html#GimpEnumDesc"><span class="type">GimpEnumDesc</span></a> associated with the given value, or <a
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a>.</p>
Retrieves <a class="link" href="libgimpbase-gimpbasetypes.html#GimpEnumDesc"><span class="type">GimpEnumDesc</span></a> associated with the given value, or <code class="literal">NULL</code>.</p>
<p>
</p>
@ -481,20 +339,18 @@ href="../glib/glib-Standard-Macros.html#NULL:CAPS"
<col align="left" valign="top">
<tbody>
<tr>
<td><span class="term"><em class="parameter"><code>enum_class</code></em>&#160;:</span></td>
<td> a <a
href="../gobject/gobject-Enumeration-and-Flag-Types.html#GEnumClass"
><span class="type">GEnumClass</span></a>
<td><p><span class="term"><em class="parameter"><code>enum_class</code></em>&#160;:</span></p></td>
<td> a <span class="type">GEnumClass</span>
</td>
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>value</code></em>&#160;:</span></td>
<td><p><span class="term"><em class="parameter"><code>value</code></em>&#160;:</span></p></td>
<td> a value from <em class="parameter"><code>enum_class</code></em>
</td>
</tr>
<tr>
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td> the value's <a href="libgimpbase-gimpbasetypes.html#GimpEnumDesc"><span class="type">GimpEnumDesc</span></a>.
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></p></td>
<td> the value's <a class="link" href="libgimpbase-gimpbasetypes.html#GimpEnumDesc"><span class="type">GimpEnumDesc</span></a>.
</td>
</tr>
@ -505,35 +361,19 @@ href="../gobject/gobject-Enumeration-and-Flag-Types.html#GEnumClass"
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2612732"></a><h3>
<a name="id2629894"></a><h3>
<a name="gimp-enum-get-value"></a>gimp_enum_get_value ()</h3>
<a class="indexterm" name="id2612747"></a><pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> gimp_enum_get_value (<a
href="../gobject/gobject-Type-Information.html#GType"
>GType</a> enum_type,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> value,
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> **value_name,
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> **value_nick,
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> **value_desc,
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> **value_help);</pre>
<a class="indexterm" name="id2629908"></a><pre class="programlisting">gboolean gimp_enum_get_value (GType enum_type,
gint value,
const gchar **value_name,
const gchar **value_nick,
const gchar **value_desc,
const gchar **value_help);</pre>
<p>
Checks if <em class="parameter"><code>value</code></em> is valid for the enum registered as <em class="parameter"><code>enum_type</code></em>.
If the value exists in that enum, its name, nick and its translated
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>
and <em class="parameter"><code>value_help</code></em> are not <a
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a>).</p>
and <em class="parameter"><code>value_help</code></em> are not <code class="literal">NULL</code>).</p>
<p>
</p>
@ -541,53 +381,39 @@ href="../glib/glib-Standard-Macros.html#NULL:CAPS"
<col align="left" valign="top">
<tbody>
<tr>
<td><span class="term"><em class="parameter"><code>enum_type</code></em>&#160;:</span></td>
<td> the <a
href="../gobject/gobject-Type-Information.html#GType"
><span class="type">GType</span></a> of a registered enum
<td><p><span class="term"><em class="parameter"><code>enum_type</code></em>&#160;:</span></p></td>
<td> the <span class="type">GType</span> of a registered enum
</td>
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>value</code></em>&#160;:</span></td>
<td><p><span class="term"><em class="parameter"><code>value</code></em>&#160;:</span></p></td>
<td> an integer value
</td>
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>value_name</code></em>&#160;:</span></td>
<td> return location for the value's name (or <a
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a>)
<td><p><span class="term"><em class="parameter"><code>value_name</code></em>&#160;:</span></p></td>
<td> return location for the value's name (or <code class="literal">NULL</code>)
</td>
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>value_nick</code></em>&#160;:</span></td>
<td> return location for the value's nick (or <a
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a>)
<td><p><span class="term"><em class="parameter"><code>value_nick</code></em>&#160;:</span></p></td>
<td> return location for the value's nick (or <code class="literal">NULL</code>)
</td>
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>value_desc</code></em>&#160;:</span></td>
<td> return location for the value's translated desc (or <a
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a>)
<td><p><span class="term"><em class="parameter"><code>value_desc</code></em>&#160;:</span></p></td>
<td> return location for the value's translated desc (or <code class="literal">NULL</code>)
</td>
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>value_help</code></em>&#160;:</span></td>
<td> return location for the value's translated help (or <a
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a>)
<td><p><span class="term"><em class="parameter"><code>value_help</code></em>&#160;:</span></p></td>
<td> return location for the value's translated help (or <code class="literal">NULL</code>)
</td>
</tr>
<tr>
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td> <a
href="../glib/glib-Standard-Macros.html#TRUE:CAPS"
><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>,
<a
href="../glib/glib-Standard-Macros.html#FALSE:CAPS"
><code class="literal">FALSE</code></a> otherwise
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></p></td>
<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>,
<code class="literal">FALSE</code> otherwise
</td>
</tr>
@ -598,16 +424,10 @@ href="../glib/glib-Standard-Macros.html#FALSE:CAPS"
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2613046"></a><h3>
<a name="id2630208"></a><h3>
<a name="gimp-enum-value-get-desc"></a>gimp_enum_value_get_desc ()</h3>
<a class="indexterm" name="id2613060"></a><pre class="programlisting">const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a>* gimp_enum_value_get_desc (<a
href="../gobject/gobject-Enumeration-and-Flag-Types.html#GEnumClass"
>GEnumClass</a> *enum_class,
<a
href="../gobject/gobject-Enumeration-and-Flag-Types.html#GEnumValue"
>GEnumValue</a> *enum_value);</pre>
<a class="indexterm" name="id2630222"></a><pre class="programlisting">const gchar* gimp_enum_value_get_desc (GEnumClass *enum_class,
GEnumValue *enum_value);</pre>
<p>
Retrieves the translated desc for a given <em class="parameter"><code>enum_value</code></em>.</p>
<p>
@ -617,21 +437,17 @@ Retrieves the translated desc for a given <em class="parameter"><code>enum_value
<col align="left" valign="top">
<tbody>
<tr>
<td><span class="term"><em class="parameter"><code>enum_class</code></em>&#160;:</span></td>
<td> a <a
href="../gobject/gobject-Enumeration-and-Flag-Types.html#GEnumClass"
><span class="type">GEnumClass</span></a>
<td><p><span class="term"><em class="parameter"><code>enum_class</code></em>&#160;:</span></p></td>
<td> a <span class="type">GEnumClass</span>
</td>
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>enum_value</code></em>&#160;:</span></td>
<td> a <a
href="../gobject/gobject-Enumeration-and-Flag-Types.html#GEnumValue"
><span class="type">GEnumValue</span></a> from <em class="parameter"><code>enum_class</code></em>
<td><p><span class="term"><em class="parameter"><code>enum_value</code></em>&#160;:</span></p></td>
<td> a <span class="type">GEnumValue</span> from <em class="parameter"><code>enum_class</code></em>
</td>
</tr>
<tr>
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></p></td>
<td> the translated desc of the enum value
</td>
@ -643,16 +459,10 @@ href="../gobject/gobject-Enumeration-and-Flag-Types.html#GEnumValue"
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2613177"></a><h3>
<a name="id2630339"></a><h3>
<a name="gimp-enum-value-get-help"></a>gimp_enum_value_get_help ()</h3>
<a class="indexterm" name="id2613191"></a><pre class="programlisting">const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a>* gimp_enum_value_get_help (<a
href="../gobject/gobject-Enumeration-and-Flag-Types.html#GEnumClass"
>GEnumClass</a> *enum_class,
<a
href="../gobject/gobject-Enumeration-and-Flag-Types.html#GEnumValue"
>GEnumValue</a> *enum_value);</pre>
<a class="indexterm" name="id2630352"></a><pre class="programlisting">const gchar* gimp_enum_value_get_help (GEnumClass *enum_class,
GEnumValue *enum_value);</pre>
<p>
Retrieves the translated help for a given <em class="parameter"><code>enum_value</code></em>.</p>
<p>
@ -662,21 +472,17 @@ Retrieves the translated help for a given <em class="parameter"><code>enum_value
<col align="left" valign="top">
<tbody>
<tr>
<td><span class="term"><em class="parameter"><code>enum_class</code></em>&#160;:</span></td>
<td> a <a
href="../gobject/gobject-Enumeration-and-Flag-Types.html#GEnumClass"
><span class="type">GEnumClass</span></a>
<td><p><span class="term"><em class="parameter"><code>enum_class</code></em>&#160;:</span></p></td>
<td> a <span class="type">GEnumClass</span>
</td>
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>enum_value</code></em>&#160;:</span></td>
<td> a <a
href="../gobject/gobject-Enumeration-and-Flag-Types.html#GEnumValue"
><span class="type">GEnumValue</span></a> from <em class="parameter"><code>enum_class</code></em>
<td><p><span class="term"><em class="parameter"><code>enum_value</code></em>&#160;:</span></p></td>
<td> a <span class="type">GEnumValue</span> from <em class="parameter"><code>enum_class</code></em>
</td>
</tr>
<tr>
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></p></td>
<td> the translated help of the enum value
</td>
@ -688,18 +494,12 @@ href="../gobject/gobject-Enumeration-and-Flag-Types.html#GEnumValue"
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2613308"></a><h3>
<a name="id2630470"></a><h3>
<a name="gimp-flags-get-first-desc"></a>gimp_flags_get_first_desc ()</h3>
<a class="indexterm" name="id2613322"></a><pre class="programlisting"><a href="libgimpbase-gimpbasetypes.html#GimpFlagsDesc">GimpFlagsDesc</a>* gimp_flags_get_first_desc (<a
href="../gobject/gobject-Enumeration-and-Flag-Types.html#GFlagsClass"
>GFlagsClass</a> *flags_class,
<a
href="../glib/glib-Basic-Types.html#guint"
>guint</a> value);</pre>
<a class="indexterm" name="id2630484"></a><pre class="programlisting"><a class="link" href="libgimpbase-gimpbasetypes.html#GimpFlagsDesc">GimpFlagsDesc</a>* gimp_flags_get_first_desc (GFlagsClass *flags_class,
guint value);</pre>
<p>
Retrieves the first <a href="libgimpbase-gimpbasetypes.html#GimpFlagsDesc"><span class="type">GimpFlagsDesc</span></a> that matches the given value, or <a
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a>.</p>
Retrieves the first <a class="link" href="libgimpbase-gimpbasetypes.html#GimpFlagsDesc"><span class="type">GimpFlagsDesc</span></a> that matches the given value, or <code class="literal">NULL</code>.</p>
<p>
</p>
@ -707,20 +507,18 @@ href="../glib/glib-Standard-Macros.html#NULL:CAPS"
<col align="left" valign="top">
<tbody>
<tr>
<td><span class="term"><em class="parameter"><code>flags_class</code></em>&#160;:</span></td>
<td> a <a
href="../gobject/gobject-Enumeration-and-Flag-Types.html#GFlagsClass"
><span class="type">GFlagsClass</span></a>
<td><p><span class="term"><em class="parameter"><code>flags_class</code></em>&#160;:</span></p></td>
<td> a <span class="type">GFlagsClass</span>
</td>
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>value</code></em>&#160;:</span></td>
<td><p><span class="term"><em class="parameter"><code>value</code></em>&#160;:</span></p></td>
<td> a value from <em class="parameter"><code>flags_class</code></em>
</td>
</tr>
<tr>
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td> the value's <a href="libgimpbase-gimpbasetypes.html#GimpFlagsDesc"><span class="type">GimpFlagsDesc</span></a>.
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></p></td>
<td> the value's <a class="link" href="libgimpbase-gimpbasetypes.html#GimpFlagsDesc"><span class="type">GimpFlagsDesc</span></a>.
</td>
</tr>
@ -731,35 +529,19 @@ href="../gobject/gobject-Enumeration-and-Flag-Types.html#GFlagsClass"
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2613448"></a><h3>
<a name="id2630610"></a><h3>
<a name="gimp-flags-get-first-value"></a>gimp_flags_get_first_value ()</h3>
<a class="indexterm" name="id2613462"></a><pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> gimp_flags_get_first_value (<a
href="../gobject/gobject-Type-Information.html#GType"
>GType</a> flags_type,
<a
href="../glib/glib-Basic-Types.html#guint"
>guint</a> value,
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> **value_name,
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> **value_nick,
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> **value_desc,
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> **value_help);</pre>
<a class="indexterm" name="id2630624"></a><pre class="programlisting">gboolean gimp_flags_get_first_value (GType flags_type,
guint value,
const gchar **value_name,
const gchar **value_nick,
const gchar **value_desc,
const gchar **value_help);</pre>
<p>
Checks if <em class="parameter"><code>value</code></em> is valid for the flags registered as <em class="parameter"><code>flags_type</code></em>.
If the value exists in that flags, its name, nick and its translated
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>
and <em class="parameter"><code>value_help</code></em> are not <a
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a>).</p>
and <em class="parameter"><code>value_help</code></em> are not <code class="literal">NULL</code>).</p>
<p>
</p>
@ -767,53 +549,39 @@ href="../glib/glib-Standard-Macros.html#NULL:CAPS"
<col align="left" valign="top">
<tbody>
<tr>
<td><span class="term"><em class="parameter"><code>flags_type</code></em>&#160;:</span></td>
<td> the <a
href="../gobject/gobject-Type-Information.html#GType"
><span class="type">GType</span></a> of registered flags
<td><p><span class="term"><em class="parameter"><code>flags_type</code></em>&#160;:</span></p></td>
<td> the <span class="type">GType</span> of registered flags
</td>
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>value</code></em>&#160;:</span></td>
<td><p><span class="term"><em class="parameter"><code>value</code></em>&#160;:</span></p></td>
<td> an integer value
</td>
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>value_name</code></em>&#160;:</span></td>
<td> return location for the value's name (or <a
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a>)
<td><p><span class="term"><em class="parameter"><code>value_name</code></em>&#160;:</span></p></td>
<td> return location for the value's name (or <code class="literal">NULL</code>)
</td>
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>value_nick</code></em>&#160;:</span></td>
<td> return location for the value's nick (or <a
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a>)
<td><p><span class="term"><em class="parameter"><code>value_nick</code></em>&#160;:</span></p></td>
<td> return location for the value's nick (or <code class="literal">NULL</code>)
</td>
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>value_desc</code></em>&#160;:</span></td>
<td> return location for the value's translated desc (or <a
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a>)
<td><p><span class="term"><em class="parameter"><code>value_desc</code></em>&#160;:</span></p></td>
<td> return location for the value's translated desc (or <code class="literal">NULL</code>)
</td>
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>value_help</code></em>&#160;:</span></td>
<td> return location for the value's translated help (or <a
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a>)
<td><p><span class="term"><em class="parameter"><code>value_help</code></em>&#160;:</span></p></td>
<td> return location for the value's translated help (or <code class="literal">NULL</code>)
</td>
</tr>
<tr>
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td> <a
href="../glib/glib-Standard-Macros.html#TRUE:CAPS"
><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>,
<a
href="../glib/glib-Standard-Macros.html#FALSE:CAPS"
><code class="literal">FALSE</code></a> otherwise
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></p></td>
<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>,
<code class="literal">FALSE</code> otherwise
</td>
</tr>
@ -824,16 +592,10 @@ href="../glib/glib-Standard-Macros.html#FALSE:CAPS"
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2613761"></a><h3>
<a name="id2630896"></a><h3>
<a name="gimp-flags-value-get-desc"></a>gimp_flags_value_get_desc ()</h3>
<a class="indexterm" name="id2613776"></a><pre class="programlisting">const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a>* gimp_flags_value_get_desc (<a
href="../gobject/gobject-Enumeration-and-Flag-Types.html#GFlagsClass"
>GFlagsClass</a> *flags_class,
<a
href="../gobject/gobject-Enumeration-and-Flag-Types.html#GFlagsValue"
>GFlagsValue</a> *flags_value);</pre>
<a class="indexterm" name="id2630910"></a><pre class="programlisting">const gchar* gimp_flags_value_get_desc (GFlagsClass *flags_class,
GFlagsValue *flags_value);</pre>
<p>
Retrieves the translated desc for a given <em class="parameter"><code>flags_value</code></em>.</p>
<p>
@ -843,21 +605,17 @@ Retrieves the translated desc for a given <em class="parameter"><code>flags_valu
<col align="left" valign="top">
<tbody>
<tr>
<td><span class="term"><em class="parameter"><code>flags_class</code></em>&#160;:</span></td>
<td> a <a
href="../gobject/gobject-Enumeration-and-Flag-Types.html#GFlagsClass"
><span class="type">GFlagsClass</span></a>
<td><p><span class="term"><em class="parameter"><code>flags_class</code></em>&#160;:</span></p></td>
<td> a <span class="type">GFlagsClass</span>
</td>
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>flags_value</code></em>&#160;:</span></td>
<td> a <a
href="../gobject/gobject-Enumeration-and-Flag-Types.html#GFlagsValue"
><span class="type">GFlagsValue</span></a> from <em class="parameter"><code>flags_class</code></em>
<td><p><span class="term"><em class="parameter"><code>flags_value</code></em>&#160;:</span></p></td>
<td> a <span class="type">GFlagsValue</span> from <em class="parameter"><code>flags_class</code></em>
</td>
</tr>
<tr>
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></p></td>
<td> the translated desc of the flags value
</td>
@ -869,16 +627,10 @@ href="../gobject/gobject-Enumeration-and-Flag-Types.html#GFlagsValue"
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2613893"></a><h3>
<a name="id2631014"></a><h3>
<a name="gimp-flags-value-get-help"></a>gimp_flags_value_get_help ()</h3>
<a class="indexterm" name="id2613907"></a><pre class="programlisting">const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a>* gimp_flags_value_get_help (<a
href="../gobject/gobject-Enumeration-and-Flag-Types.html#GFlagsClass"
>GFlagsClass</a> *flags_class,
<a
href="../gobject/gobject-Enumeration-and-Flag-Types.html#GFlagsValue"
>GFlagsValue</a> *flags_value);</pre>
<a class="indexterm" name="id2631027"></a><pre class="programlisting">const gchar* gimp_flags_value_get_help (GFlagsClass *flags_class,
GFlagsValue *flags_value);</pre>
<p>
Retrieves the translated help for a given <em class="parameter"><code>flags_value</code></em>.</p>
<p>
@ -888,21 +640,17 @@ Retrieves the translated help for a given <em class="parameter"><code>flags_valu
<col align="left" valign="top">
<tbody>
<tr>
<td><span class="term"><em class="parameter"><code>flags_class</code></em>&#160;:</span></td>
<td> a <a
href="../gobject/gobject-Enumeration-and-Flag-Types.html#GFlagsClass"
><span class="type">GFlagsClass</span></a>
<td><p><span class="term"><em class="parameter"><code>flags_class</code></em>&#160;:</span></p></td>
<td> a <span class="type">GFlagsClass</span>
</td>
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>flags_value</code></em>&#160;:</span></td>
<td> a <a
href="../gobject/gobject-Enumeration-and-Flag-Types.html#GFlagsValue"
><span class="type">GFlagsValue</span></a> from <em class="parameter"><code>flags_class</code></em>
<td><p><span class="term"><em class="parameter"><code>flags_value</code></em>&#160;:</span></p></td>
<td> a <span class="type">GFlagsValue</span> from <em class="parameter"><code>flags_class</code></em>
</td>
</tr>
<tr>
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></p></td>
<td> the translated help of the flags value
</td>

View File

@ -3,7 +3,7 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>gimpversion</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.72.0">
<meta name="generator" content="DocBook XSL Stylesheets V1.73.2">
<link rel="start" href="index.html" title="GIMP Base Library Reference Manual">
<link rel="up" href="libgimpbase.html" title="Part&#160;I.&#160;GIMP Base Library">
<link rel="prev" href="libgimpbase-gimpbasetypes.html" title="gimpbasetypes">
@ -25,16 +25,16 @@
<th width="100%" align="center">GIMP Base Library Reference Manual</th>
<td><a accesskey="n" href="libgimpbase-gimplimits.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2592681" class="shortcut">Top</a>
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2589078" class="shortcut">Top</a>
&#160;|&#160;
<a href="#id2589535" class="shortcut">Description</a></nobr></td></tr>
<a href="#id2598163" class="shortcut">Description</a></nobr></td></tr>
</table>
<div class="refentry" lang="en">
<a name="libgimpbase-gimpversion"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2>
<a name="id2592681"></a><span class="refentrytitle">gimpversion</span>
<a name="id2589078"></a><span class="refentrytitle">gimpversion</span>
</h2>
<p>gimpversion &#8212; Macros and constants useful for determining GIMP's version number and
capabilities.</p>
@ -47,20 +47,20 @@ capabilities.</p>
#define <a href="libgimpbase-gimpversion.html#GIMP-MAJOR-VERSION:CAPS">GIMP_MAJOR_VERSION</a>
#define <a href="libgimpbase-gimpversion.html#GIMP-MINOR-VERSION:CAPS">GIMP_MINOR_VERSION</a>
#define <a href="libgimpbase-gimpversion.html#GIMP-MICRO-VERSION:CAPS">GIMP_MICRO_VERSION</a>
#define <a href="libgimpbase-gimpversion.html#GIMP-VERSION:CAPS">GIMP_VERSION</a>
#define <a href="libgimpbase-gimpversion.html#GIMP-API-VERSION:CAPS">GIMP_API_VERSION</a>
#define <a href="libgimpbase-gimpversion.html#GIMP-CHECK-VERSION:CAPS">GIMP_CHECK_VERSION</a> (major, minor, micro)
#define <a href="libgimpbase-gimpversion.html#GIMPVAR:CAPS">GIMPVAR</a>
extern const guint <a href="libgimpbase-gimpversion.html#gimp-major-version">gimp_major_version</a>;
extern const guint <a href="libgimpbase-gimpversion.html#gimp-minor-version">gimp_minor_version</a>;
extern const guint <a href="libgimpbase-gimpversion.html#gimp-micro-version">gimp_micro_version</a>;
#define <a class="link" href="libgimpbase-gimpversion.html#GIMP-MAJOR-VERSION:CAPS">GIMP_MAJOR_VERSION</a>
#define <a class="link" href="libgimpbase-gimpversion.html#GIMP-MINOR-VERSION:CAPS">GIMP_MINOR_VERSION</a>
#define <a class="link" href="libgimpbase-gimpversion.html#GIMP-MICRO-VERSION:CAPS">GIMP_MICRO_VERSION</a>
#define <a class="link" href="libgimpbase-gimpversion.html#GIMP-VERSION:CAPS">GIMP_VERSION</a>
#define <a class="link" href="libgimpbase-gimpversion.html#GIMP-API-VERSION:CAPS">GIMP_API_VERSION</a>
#define <a class="link" href="libgimpbase-gimpversion.html#GIMP-CHECK-VERSION:CAPS">GIMP_CHECK_VERSION</a> (major, minor, micro)
#define <a class="link" href="libgimpbase-gimpversion.html#GIMPVAR:CAPS">GIMPVAR</a>
extern const guint <a class="link" href="libgimpbase-gimpversion.html#gimp-major-version">gimp_major_version</a>;
extern const guint <a class="link" href="libgimpbase-gimpversion.html#gimp-minor-version">gimp_minor_version</a>;
extern const guint <a class="link" href="libgimpbase-gimpversion.html#gimp-micro-version">gimp_micro_version</a>;
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2589535"></a><h2>Description</h2>
<a name="id2598163"></a><h2>Description</h2>
<p>
Macros and constants useful for determining GIMP's version number and
capabilities.
@ -68,11 +68,11 @@ capabilities.
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2589552"></a><h2>Details</h2>
<a name="id2598180"></a><h2>Details</h2>
<div class="refsect2" lang="en">
<a name="id2589563"></a><h3>
<a name="id2598190"></a><h3>
<a name="GIMP-MAJOR-VERSION:CAPS"></a>GIMP_MAJOR_VERSION</h3>
<a class="indexterm" name="id2589574"></a><pre class="programlisting">#define GIMP_MAJOR_VERSION (2)
<a class="indexterm" name="id2598202"></a><pre class="programlisting">#define GIMP_MAJOR_VERSION (2)
</pre>
<p>
@ -80,9 +80,9 @@ capabilities.
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2589591"></a><h3>
<a name="id2598219"></a><h3>
<a name="GIMP-MINOR-VERSION:CAPS"></a>GIMP_MINOR_VERSION</h3>
<a class="indexterm" name="id2589603"></a><pre class="programlisting">#define GIMP_MINOR_VERSION (4)
<a class="indexterm" name="id2598230"></a><pre class="programlisting">#define GIMP_MINOR_VERSION (4)
</pre>
<p>
@ -90,9 +90,9 @@ capabilities.
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2589619"></a><h3>
<a name="id2598247"></a><h3>
<a name="GIMP-MICRO-VERSION:CAPS"></a>GIMP_MICRO_VERSION</h3>
<a class="indexterm" name="id2589631"></a><pre class="programlisting">#define GIMP_MICRO_VERSION (0)
<a class="indexterm" name="id2598259"></a><pre class="programlisting">#define GIMP_MICRO_VERSION (0)
</pre>
<p>
@ -100,9 +100,9 @@ capabilities.
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2593204"></a><h3>
<a name="id2583040"></a><h3>
<a name="GIMP-VERSION:CAPS"></a>GIMP_VERSION</h3>
<a class="indexterm" name="id2593216"></a><pre class="programlisting">#define GIMP_VERSION "2.4.0-rc1"
<a class="indexterm" name="id2583052"></a><pre class="programlisting">#define GIMP_VERSION "2.4.0-rc2"
</pre>
<p>
@ -110,9 +110,9 @@ capabilities.
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2593233"></a><h3>
<a name="id2583069"></a><h3>
<a name="GIMP-API-VERSION:CAPS"></a>GIMP_API_VERSION</h3>
<a class="indexterm" name="id2593244"></a><pre class="programlisting">#define GIMP_API_VERSION "2.0"
<a class="indexterm" name="id2583081"></a><pre class="programlisting">#define GIMP_API_VERSION "2.0"
</pre>
<p>
Since: GIMP 2.2
@ -120,9 +120,9 @@ Since: GIMP 2.2
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2593261"></a><h3>
<a name="id2583098"></a><h3>
<a name="GIMP-CHECK-VERSION:CAPS"></a>GIMP_CHECK_VERSION()</h3>
<a class="indexterm" name="id2593272"></a><pre class="programlisting">#define GIMP_CHECK_VERSION(major, minor, micro)</pre>
<a class="indexterm" name="id2583109"></a><pre class="programlisting">#define GIMP_CHECK_VERSION(major, minor, micro)</pre>
<p>
</p>
@ -130,17 +130,17 @@ Since: GIMP 2.2
<col align="left" valign="top">
<tbody>
<tr>
<td><span class="term"><em class="parameter"><code>major</code></em>&#160;:</span></td>
<td><p><span class="term"><em class="parameter"><code>major</code></em>&#160;:</span></p></td>
<td>
</td>
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>minor</code></em>&#160;:</span></td>
<td><p><span class="term"><em class="parameter"><code>minor</code></em>&#160;:</span></p></td>
<td>
</td>
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>micro</code></em>&#160;:</span></td>
<td><p><span class="term"><em class="parameter"><code>micro</code></em>&#160;:</span></p></td>
<td>
@ -151,18 +151,18 @@ Since: GIMP 2.2
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2593336"></a><h3>
<a name="id2583173"></a><h3>
<a name="GIMPVAR:CAPS"></a>GIMPVAR</h3>
<a class="indexterm" name="id2590125"></a><pre class="programlisting">#define GIMPVAR</pre>
<a class="indexterm" name="id2610671"></a><pre class="programlisting">#define GIMPVAR</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2590140"></a><h3>
<a name="id2610686"></a><h3>
<a name="gimp-major-version"></a>gimp_major_version</h3>
<a class="indexterm" name="id2590152"></a><pre class="programlisting">extern const guint gimp_major_version;
<a class="indexterm" name="id2610699"></a><pre class="programlisting">extern const guint gimp_major_version;
</pre>
<p>
@ -170,9 +170,9 @@ Since: GIMP 2.2
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2590167"></a><h3>
<a name="id2610714"></a><h3>
<a name="gimp-minor-version"></a>gimp_minor_version</h3>
<a class="indexterm" name="id2590180"></a><pre class="programlisting">extern const guint gimp_minor_version;
<a class="indexterm" name="id2610726"></a><pre class="programlisting">extern const guint gimp_minor_version;
</pre>
<p>
@ -180,9 +180,9 @@ Since: GIMP 2.2
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2590195"></a><h3>
<a name="id2610742"></a><h3>
<a name="gimp-micro-version"></a>gimp_micro_version</h3>
<a class="indexterm" name="id2590208"></a><pre class="programlisting">extern const guint gimp_micro_version;
<a class="indexterm" name="id2610754"></a><pre class="programlisting">extern const guint gimp_micro_version;
</pre>
<p>

View File

@ -3,7 +3,7 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>Index of deprecated symbols</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.72.0">
<meta name="generator" content="DocBook XSL Stylesheets V1.73.2">
<link rel="start" href="index.html" title="GIMP Base Library Reference Manual">
<link rel="up" href="index.html" title="GIMP Base Library Reference Manual">
<link rel="prev" href="libgimpbase-index-new-in-2-4.html" title="Index of new symbols in GIMP 2.4">

View File

@ -3,7 +3,7 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>Index of new symbols in GIMP 2.2</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.72.0">
<meta name="generator" content="DocBook XSL Stylesheets V1.73.2">
<link rel="start" href="index.html" title="GIMP Base Library Reference Manual">
<link rel="up" href="index.html" title="GIMP Base Library Reference Manual">
<link rel="prev" href="libgimpbase-index.html" title="Index">
@ -30,41 +30,41 @@
<div class="index"><div class="indexdiv">
<h3>G</h3>
<dl>
<dt>gimp_checks_get_shades, <a href="libgimpbase-gimpchecks.html#id2564006">gimp_checks_get_shades ()</a>
<dt>gimp_checks_get_shades, <a class="indexterm" href="libgimpbase-gimpchecks.html#id2590006">gimp_checks_get_shades ()</a>
</dt>
<dt>gimp_enum_get_desc, <a href="libgimpbase-gimputils.html#id2612591">gimp_enum_get_desc ()</a>
<dt>gimp_enum_get_desc, <a class="indexterm" href="libgimpbase-gimputils.html#id2629753">gimp_enum_get_desc ()</a>
</dt>
<dt>gimp_enum_get_value, <a href="libgimpbase-gimputils.html#id2612732">gimp_enum_get_value ()</a>
<dt>gimp_enum_get_value, <a class="indexterm" href="libgimpbase-gimputils.html#id2629894">gimp_enum_get_value ()</a>
</dt>
<dt>gimp_enum_get_value_descriptions, <a href="libgimpbase-gimpbasetypes.html#id2510842">gimp_enum_get_value_descriptions ()</a>
<dt>gimp_enum_get_value_descriptions, <a class="indexterm" href="libgimpbase-gimpbasetypes.html#id2526984">gimp_enum_get_value_descriptions ()</a>
</dt>
<dt>gimp_enum_set_value_descriptions, <a href="libgimpbase-gimpbasetypes.html#id2562553">gimp_enum_set_value_descriptions ()</a>
<dt>gimp_enum_set_value_descriptions, <a class="indexterm" href="libgimpbase-gimpbasetypes.html#id2596394">gimp_enum_set_value_descriptions ()</a>
</dt>
<dt>gimp_enum_value_get_desc, <a href="libgimpbase-gimputils.html#id2613046">gimp_enum_value_get_desc ()</a>
<dt>gimp_enum_value_get_desc, <a class="indexterm" href="libgimpbase-gimputils.html#id2630208">gimp_enum_value_get_desc ()</a>
</dt>
<dt>gimp_enum_value_get_help, <a href="libgimpbase-gimputils.html#id2613177">gimp_enum_value_get_help ()</a>
<dt>gimp_enum_value_get_help, <a class="indexterm" href="libgimpbase-gimputils.html#id2630339">gimp_enum_value_get_help ()</a>
</dt>
<dt>gimp_escape_uline, <a href="libgimpbase-gimputils.html#id2606066">gimp_escape_uline ()</a>
<dt>gimp_escape_uline, <a class="indexterm" href="libgimpbase-gimputils.html#id2623565">gimp_escape_uline ()</a>
</dt>
<dt>gimp_flags_get_first_desc, <a href="libgimpbase-gimputils.html#id2613308">gimp_flags_get_first_desc ()</a>
<dt>gimp_flags_get_first_desc, <a class="indexterm" href="libgimpbase-gimputils.html#id2630470">gimp_flags_get_first_desc ()</a>
</dt>
<dt>gimp_flags_get_first_value, <a href="libgimpbase-gimputils.html#id2613448">gimp_flags_get_first_value ()</a>
<dt>gimp_flags_get_first_value, <a class="indexterm" href="libgimpbase-gimputils.html#id2630610">gimp_flags_get_first_value ()</a>
</dt>
<dt>gimp_flags_get_value_descriptions, <a href="libgimpbase-gimpbasetypes.html#id2510952">gimp_flags_get_value_descriptions ()</a>
<dt>gimp_flags_get_value_descriptions, <a class="indexterm" href="libgimpbase-gimpbasetypes.html#id2527093">gimp_flags_get_value_descriptions ()</a>
</dt>
<dt>gimp_flags_set_value_descriptions, <a href="libgimpbase-gimpbasetypes.html#id2511061">gimp_flags_set_value_descriptions ()</a>
<dt>gimp_flags_set_value_descriptions, <a class="indexterm" href="libgimpbase-gimpbasetypes.html#id2527203">gimp_flags_set_value_descriptions ()</a>
</dt>
<dt>gimp_flags_value_get_desc, <a href="libgimpbase-gimputils.html#id2613761">gimp_flags_value_get_desc ()</a>
<dt>gimp_flags_value_get_desc, <a class="indexterm" href="libgimpbase-gimputils.html#id2630896">gimp_flags_value_get_desc ()</a>
</dt>
<dt>gimp_flags_value_get_help, <a href="libgimpbase-gimputils.html#id2613893">gimp_flags_value_get_help ()</a>
<dt>gimp_flags_value_get_help, <a class="indexterm" href="libgimpbase-gimputils.html#id2631014">gimp_flags_value_get_help ()</a>
</dt>
<dt>gimp_memsize_deserialize, <a href="libgimpbase-gimpmemsize.html#id2577976">gimp_memsize_deserialize ()</a>
<dt>gimp_memsize_deserialize, <a class="indexterm" href="libgimpbase-gimpmemsize.html#id2618748">gimp_memsize_deserialize ()</a>
</dt>
<dt>gimp_memsize_serialize, <a href="libgimpbase-gimpmemsize.html#id2596578">gimp_memsize_serialize ()</a>
<dt>gimp_memsize_serialize, <a class="indexterm" href="libgimpbase-gimpmemsize.html#id2618640">gimp_memsize_serialize ()</a>
</dt>
<dt>gimp_type_get_translation_domain, <a href="libgimpbase-gimpbasetypes.html#id2562417">gimp_type_get_translation_domain ()</a>
<dt>gimp_type_get_translation_domain, <a class="indexterm" href="libgimpbase-gimpbasetypes.html#id2596257">gimp_type_get_translation_domain ()</a>
</dt>
<dt>gimp_type_set_translation_domain, <a href="libgimpbase-gimpbasetypes.html#id2566885">gimp_type_set_translation_domain ()</a>
<dt>gimp_type_set_translation_domain, <a class="indexterm" href="libgimpbase-gimpbasetypes.html#id2588565">gimp_type_set_translation_domain ()</a>
</dt>
</dl>
</div></div>

View File

@ -3,7 +3,7 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>Index of new symbols in GIMP 2.4</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.72.0">
<meta name="generator" content="DocBook XSL Stylesheets V1.73.2">
<link rel="start" href="index.html" title="GIMP Base Library Reference Manual">
<link rel="up" href="index.html" title="GIMP Base Library Reference Manual">
<link rel="prev" href="libgimpbase-index-new-in-2-2.html" title="Index of new symbols in GIMP 2.2">
@ -30,21 +30,21 @@
<div class="index"><div class="indexdiv">
<h3>G</h3>
<dl>
<dt>gimp_canonicalize_identifier, <a href="libgimpbase-gimputils.html#id2612488">gimp_canonicalize_identifier ()</a>
<dt>gimp_canonicalize_identifier, <a class="indexterm" href="libgimpbase-gimputils.html#id2629650">gimp_canonicalize_identifier ()</a>
</dt>
<dt>gimp_cpu_accel_get_support, <a href="libgimpbase-gimpcpuaccel.html#id2589353">gimp_cpu_accel_get_support ()</a>
<dt>gimp_cpu_accel_get_support, <a class="indexterm" href="libgimpbase-gimpcpuaccel.html#id2581324">gimp_cpu_accel_get_support ()</a>
</dt>
<dt>gimp_cpu_accel_set_use, <a href="libgimpbase-gimpcpuaccel.html#id2589421">gimp_cpu_accel_set_use ()</a>
<dt>gimp_cpu_accel_set_use, <a class="indexterm" href="libgimpbase-gimpcpuaccel.html#id2581392">gimp_cpu_accel_set_use ()</a>
</dt>
<dt>gimp_env_init, <a href="libgimpbase-gimpenv.html#id2563404">gimp_env_init ()</a>
<dt>gimp_env_init, <a class="indexterm" href="libgimpbase-gimpenv.html#id2587588">gimp_env_init ()</a>
</dt>
<dt>gimp_param_spec_memsize, <a href="libgimpbase-gimpmemsize.html#id2557783">gimp_param_spec_memsize ()</a>
<dt>gimp_param_spec_memsize, <a class="indexterm" href="libgimpbase-gimpmemsize.html#id2587288">gimp_param_spec_memsize ()</a>
</dt>
<dt>gimp_param_spec_unit, <a href="libgimpbase-gimpunit.html#id2610264">gimp_param_spec_unit ()</a>
<dt>gimp_param_spec_unit, <a class="indexterm" href="libgimpbase-gimpunit.html#id2627508">gimp_param_spec_unit ()</a>
</dt>
<dt>gimp_rectangle_intersect, <a href="libgimpbase-gimprectangle.html#id2600048">gimp_rectangle_intersect ()</a>
<dt>gimp_rectangle_intersect, <a class="indexterm" href="libgimpbase-gimprectangle.html#id2580590">gimp_rectangle_intersect ()</a>
</dt>
<dt>gimp_user_directory, <a href="libgimpbase-gimpenv.html#id2600358">gimp_user_directory ()</a>
<dt>gimp_user_directory, <a class="indexterm" href="libgimpbase-gimpenv.html#id2582738">gimp_user_directory ()</a>
</dt>
</dl>
</div></div>

View File

@ -3,7 +3,7 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>Index</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.72.0">
<meta name="generator" content="DocBook XSL Stylesheets V1.73.2">
<link rel="start" href="index.html" title="GIMP Base Library Reference Manual">
<link rel="up" href="index.html" title="GIMP Base Library Reference Manual">
<link rel="prev" href="libgimpbase-gimputils.html" title="gimputils">
@ -30,319 +30,319 @@
<div class="index"><div class="indexdiv">
<h3>G</h3>
<dl>
<dt>GimpAddMaskType, <a href="libgimpbase-gimpbaseenums.html#id2533010">enum GimpAddMaskType</a>
<dt>GimpAddMaskType, <a class="indexterm" href="libgimpbase-gimpbaseenums.html#id2550167">enum GimpAddMaskType</a>
</dt>
<dt>GimpBlendMode, <a href="libgimpbase-gimpbaseenums.html#id2583105">enum GimpBlendMode</a>
<dt>GimpBlendMode, <a class="indexterm" href="libgimpbase-gimpbaseenums.html#id2586210">enum GimpBlendMode</a>
</dt>
<dt>GimpBucketFillMode, <a href="libgimpbase-gimpbaseenums.html#id2533052">enum GimpBucketFillMode</a>
<dt>GimpBucketFillMode, <a class="indexterm" href="libgimpbase-gimpbaseenums.html#id2550209">enum GimpBucketFillMode</a>
</dt>
<dt>GimpChannelOps, <a href="libgimpbase-gimpbaseenums.html#id2533083">enum GimpChannelOps</a>
<dt>GimpChannelOps, <a class="indexterm" href="libgimpbase-gimpbaseenums.html#id2550240">enum GimpChannelOps</a>
</dt>
<dt>GimpChannelType, <a href="libgimpbase-gimpbaseenums.html#id2533117">enum GimpChannelType</a>
<dt>GimpChannelType, <a class="indexterm" href="libgimpbase-gimpbaseenums.html#id2550274">enum GimpChannelType</a>
</dt>
<dt>GimpCheckSize, <a href="libgimpbase-gimpbaseenums.html#id2575052">enum GimpCheckSize</a>
<dt>GimpCheckSize, <a class="indexterm" href="libgimpbase-gimpbaseenums.html#id2592214">enum GimpCheckSize</a>
</dt>
<dt>GimpCheckType, <a href="libgimpbase-gimpbaseenums.html#id2575084">enum GimpCheckType</a>
<dt>GimpCheckType, <a class="indexterm" href="libgimpbase-gimpbaseenums.html#id2592246">enum GimpCheckType</a>
</dt>
<dt>GimpCloneType, <a href="libgimpbase-gimpbaseenums.html#id2575119">enum GimpCloneType</a>
<dt>GimpCloneType, <a class="indexterm" href="libgimpbase-gimpbaseenums.html#id2592281">enum GimpCloneType</a>
</dt>
<dt>GimpCpuAccelFlags, <a href="libgimpbase-gimpcpuaccel.html#id2565714">enum GimpCpuAccelFlags</a>
<dt>GimpCpuAccelFlags, <a class="indexterm" href="libgimpbase-gimpcpuaccel.html#id2593169">enum GimpCpuAccelFlags</a>
</dt>
<dt>GimpDatafileData, <a href="libgimpbase-gimpdatafiles.html#id2562142">GimpDatafileData</a>
<dt>GimpDatafileData, <a class="indexterm" href="libgimpbase-gimpdatafiles.html#id2580799">GimpDatafileData</a>
</dt>
<dt>GimpDatafileLoaderFunc, <a href="libgimpbase-gimpdatafiles.html#id2599893">GimpDatafileLoaderFunc ()</a>
<dt>GimpDatafileLoaderFunc, <a class="indexterm" href="libgimpbase-gimpdatafiles.html#id2614670">GimpDatafileLoaderFunc ()</a>
</dt>
<dt>GimpDesaturateMode, <a href="libgimpbase-gimpbaseenums.html#id2575149">enum GimpDesaturateMode</a>
<dt>GimpDesaturateMode, <a class="indexterm" href="libgimpbase-gimpbaseenums.html#id2592311">enum GimpDesaturateMode</a>
</dt>
<dt>GimpDodgeBurnType, <a href="libgimpbase-gimpbaseenums.html#id2575180">enum GimpDodgeBurnType</a>
<dt>GimpDodgeBurnType, <a class="indexterm" href="libgimpbase-gimpbaseenums.html#id2592342">enum GimpDodgeBurnType</a>
</dt>
<dt>GimpEnumDesc, <a href="libgimpbase-gimpbasetypes.html#id2566826">GimpEnumDesc</a>
<dt>GimpEnumDesc, <a class="indexterm" href="libgimpbase-gimpbasetypes.html#id2588506">GimpEnumDesc</a>
</dt>
<dt>GimpFlagsDesc, <a href="libgimpbase-gimpbasetypes.html#id2566855">GimpFlagsDesc</a>
<dt>GimpFlagsDesc, <a class="indexterm" href="libgimpbase-gimpbasetypes.html#id2588536">GimpFlagsDesc</a>
</dt>
<dt>GimpForegroundExtractMode, <a href="libgimpbase-gimpbaseenums.html#id2575210">enum GimpForegroundExtractMode</a>
<dt>GimpForegroundExtractMode, <a class="indexterm" href="libgimpbase-gimpbaseenums.html#id2592372">enum GimpForegroundExtractMode</a>
</dt>
<dt>GimpGradientType, <a href="libgimpbase-gimpbaseenums.html#id2575237">enum GimpGradientType</a>
<dt>GimpGradientType, <a class="indexterm" href="libgimpbase-gimpbaseenums.html#id2592399">enum GimpGradientType</a>
</dt>
<dt>GimpGridStyle, <a href="libgimpbase-gimpbaseenums.html#id2575279">enum GimpGridStyle</a>
<dt>GimpGridStyle, <a class="indexterm" href="libgimpbase-gimpbaseenums.html#id2592441">enum GimpGridStyle</a>
</dt>
<dt>GimpIconType, <a href="libgimpbase-gimpbaseenums.html#id2510508">enum GimpIconType</a>
<dt>GimpIconType, <a class="indexterm" href="libgimpbase-gimpbaseenums.html#id2527752">enum GimpIconType</a>
</dt>
<dt>GimpImageBaseType, <a href="libgimpbase-gimpbaseenums.html#id2510539">enum GimpImageBaseType</a>
<dt>GimpImageBaseType, <a class="indexterm" href="libgimpbase-gimpbaseenums.html#id2527784">enum GimpImageBaseType</a>
</dt>
<dt>GimpImageType, <a href="libgimpbase-gimpbaseenums.html#id2510570">enum GimpImageType</a>
<dt>GimpImageType, <a class="indexterm" href="libgimpbase-gimpbaseenums.html#id2527814">enum GimpImageType</a>
</dt>
<dt>GimpInterpolationType, <a href="libgimpbase-gimpbaseenums.html#id2510604">enum GimpInterpolationType</a>
<dt>GimpInterpolationType, <a class="indexterm" href="libgimpbase-gimpbaseenums.html#id2527848">enum GimpInterpolationType</a>
</dt>
<dt>GimpMessageHandlerType, <a href="libgimpbase-gimpbaseenums.html#id2510635">enum GimpMessageHandlerType</a>
<dt>GimpMessageHandlerType, <a class="indexterm" href="libgimpbase-gimpbaseenums.html#id2527880">enum GimpMessageHandlerType</a>
</dt>
<dt>GimpPaintApplicationMode, <a href="libgimpbase-gimpbaseenums.html#id2510663">enum GimpPaintApplicationMode</a>
<dt>GimpPaintApplicationMode, <a class="indexterm" href="libgimpbase-gimpbaseenums.html#id2527908">enum GimpPaintApplicationMode</a>
</dt>
<dt>GimpParasite, <a href="libgimpbase-gimpparasite.html#id2561245">GimpParasite</a>
<dt>GimpParasite, <a class="indexterm" href="libgimpbase-gimpparasite.html#id2576817">GimpParasite</a>
</dt>
<dt>GimpPDBArgType, <a href="libgimpbase-gimpbaseenums.html#id2510692">enum GimpPDBArgType</a>
<dt>GimpPDBArgType, <a class="indexterm" href="libgimpbase-gimpbaseenums.html#id2527937">enum GimpPDBArgType</a>
</dt>
<dt>GimpPDBProcType, <a href="libgimpbase-gimpbaseenums.html#id2510729">enum GimpPDBProcType</a>
<dt>GimpPDBProcType, <a class="indexterm" href="libgimpbase-gimpbaseenums.html#id2527974">enum GimpPDBProcType</a>
</dt>
<dt>GimpPDBStatusType, <a href="libgimpbase-gimpbaseenums.html#id2598018">enum GimpPDBStatusType</a>
<dt>GimpPDBStatusType, <a class="indexterm" href="libgimpbase-gimpbaseenums.html#id2615179">enum GimpPDBStatusType</a>
</dt>
<dt>GimpProgressCommand, <a href="libgimpbase-gimpbaseenums.html#id2598044">enum GimpProgressCommand</a>
<dt>GimpProgressCommand, <a class="indexterm" href="libgimpbase-gimpbaseenums.html#id2615205">enum GimpProgressCommand</a>
</dt>
<dt>GimpRepeatMode, <a href="libgimpbase-gimpbaseenums.html#id2598072">enum GimpRepeatMode</a>
<dt>GimpRepeatMode, <a class="indexterm" href="libgimpbase-gimpbaseenums.html#id2615233">enum GimpRepeatMode</a>
</dt>
<dt>GimpRunMode, <a href="libgimpbase-gimpbaseenums.html#id2598100">enum GimpRunMode</a>
<dt>GimpRunMode, <a class="indexterm" href="libgimpbase-gimpbaseenums.html#id2615261">enum GimpRunMode</a>
</dt>
<dt>GimpSignalHandlerFunc, <a href="libgimpbase-gimpsignal.html#id2558620">GimpSignalHandlerFunc ()</a>
<dt>GimpSignalHandlerFunc, <a class="indexterm" href="libgimpbase-gimpsignal.html#id2579432">GimpSignalHandlerFunc ()</a>
</dt>
<dt>GimpSizeType, <a href="libgimpbase-gimpbaseenums.html#id2598128">enum GimpSizeType</a>
<dt>GimpSizeType, <a class="indexterm" href="libgimpbase-gimpbaseenums.html#id2615289">enum GimpSizeType</a>
</dt>
<dt>GimpStackTraceMode, <a href="libgimpbase-gimpbaseenums.html#id2598154">enum GimpStackTraceMode</a>
<dt>GimpStackTraceMode, <a class="indexterm" href="libgimpbase-gimpbaseenums.html#id2615315">enum GimpStackTraceMode</a>
</dt>
<dt>GimpTransferMode, <a href="libgimpbase-gimpbaseenums.html#id2598180">enum GimpTransferMode</a>
<dt>GimpTransferMode, <a class="indexterm" href="libgimpbase-gimpbaseenums.html#id2615341">enum GimpTransferMode</a>
</dt>
<dt>GimpTransformDirection, <a href="libgimpbase-gimpbaseenums.html#id2598207">enum GimpTransformDirection</a>
<dt>GimpTransformDirection, <a class="indexterm" href="libgimpbase-gimpbaseenums.html#id2615368">enum GimpTransformDirection</a>
</dt>
<dt>GimpTransformResize, <a href="libgimpbase-gimpbaseenums.html#id2598234">enum GimpTransformResize</a>
<dt>GimpTransformResize, <a class="indexterm" href="libgimpbase-gimpbaseenums.html#id2615395">enum GimpTransformResize</a>
</dt>
<dt>GimpUnit, <a href="libgimpbase-gimpunit.html#id2604785">enum GimpUnit</a>
<dt>GimpUnit, <a class="indexterm" href="libgimpbase-gimpunit.html#id2622567">enum GimpUnit</a>
</dt>
<dt>GimpUserDirectory, <a href="libgimpbase-gimpbaseenums.html#id2598264">enum GimpUserDirectory</a>
<dt>GimpUserDirectory, <a class="indexterm" href="libgimpbase-gimpbaseenums.html#id2615425">enum GimpUserDirectory</a>
</dt>
<dt>GIMPVAR, <a href="libgimpbase-gimpversion.html#id2593336">GIMPVAR</a>
<dt>GIMPVAR, <a class="indexterm" href="libgimpbase-gimpversion.html#id2583173">GIMPVAR</a>
</dt>
<dt>GimpVectorsStrokeType, <a href="libgimpbase-gimpbaseenums.html#id2598292">enum GimpVectorsStrokeType</a>
<dt>GimpVectorsStrokeType, <a class="indexterm" href="libgimpbase-gimpbaseenums.html#id2615454">enum GimpVectorsStrokeType</a>
</dt>
<dt>gimp_any_to_utf8, <a href="libgimpbase-gimputils.html#id2608275">gimp_any_to_utf8 ()</a>
<dt>gimp_any_to_utf8, <a class="indexterm" href="libgimpbase-gimputils.html#id2626271">gimp_any_to_utf8 ()</a>
</dt>
<dt>GIMP_API_VERSION, <a href="libgimpbase-gimpversion.html#id2593233">GIMP_API_VERSION</a>
<dt>GIMP_API_VERSION, <a class="indexterm" href="libgimpbase-gimpversion.html#id2583069">GIMP_API_VERSION</a>
</dt>
<dt>gimp_canonicalize_identifier, <a href="libgimpbase-gimputils.html#id2612488">gimp_canonicalize_identifier ()</a>
<dt>gimp_canonicalize_identifier, <a class="indexterm" href="libgimpbase-gimputils.html#id2629650">gimp_canonicalize_identifier ()</a>
</dt>
<dt>gimp_checks_get_shades, <a href="libgimpbase-gimpchecks.html#id2564006">gimp_checks_get_shades ()</a>
<dt>gimp_checks_get_shades, <a class="indexterm" href="libgimpbase-gimpchecks.html#id2590006">gimp_checks_get_shades ()</a>
</dt>
<dt>GIMP_CHECK_DARK, <a href="libgimpbase-gimpchecks.html#id2563951">GIMP_CHECK_DARK</a>
<dt>GIMP_CHECK_DARK, <a class="indexterm" href="libgimpbase-gimpchecks.html#id2589950">GIMP_CHECK_DARK</a>
</dt>
<dt>GIMP_CHECK_LIGHT, <a href="libgimpbase-gimpchecks.html#id2563978">GIMP_CHECK_LIGHT</a>
<dt>GIMP_CHECK_LIGHT, <a class="indexterm" href="libgimpbase-gimpchecks.html#id2589978">GIMP_CHECK_LIGHT</a>
</dt>
<dt>GIMP_CHECK_SIZE, <a href="libgimpbase-gimpchecks.html#id2597265">GIMP_CHECK_SIZE</a>
<dt>GIMP_CHECK_SIZE, <a class="indexterm" href="libgimpbase-gimpchecks.html#id2594873">GIMP_CHECK_SIZE</a>
</dt>
<dt>GIMP_CHECK_SIZE_SM, <a href="libgimpbase-gimpchecks.html#id2597295">GIMP_CHECK_SIZE_SM</a>
<dt>GIMP_CHECK_SIZE_SM, <a class="indexterm" href="libgimpbase-gimpchecks.html#id2594902">GIMP_CHECK_SIZE_SM</a>
</dt>
<dt>GIMP_CHECK_VERSION, <a href="libgimpbase-gimpversion.html#id2593261">GIMP_CHECK_VERSION()</a>
<dt>GIMP_CHECK_VERSION, <a class="indexterm" href="libgimpbase-gimpversion.html#id2583098">GIMP_CHECK_VERSION()</a>
</dt>
<dt>gimp_cpu_accel_get_support, <a href="libgimpbase-gimpcpuaccel.html#id2589353">gimp_cpu_accel_get_support ()</a>
<dt>gimp_cpu_accel_get_support, <a class="indexterm" href="libgimpbase-gimpcpuaccel.html#id2581324">gimp_cpu_accel_get_support ()</a>
</dt>
<dt>gimp_cpu_accel_set_use, <a href="libgimpbase-gimpcpuaccel.html#id2589421">gimp_cpu_accel_set_use ()</a>
<dt>gimp_cpu_accel_set_use, <a class="indexterm" href="libgimpbase-gimpcpuaccel.html#id2581392">gimp_cpu_accel_set_use ()</a>
</dt>
<dt>gimp_datafiles_check_extension, <a href="libgimpbase-gimpdatafiles.html#id2599972">gimp_datafiles_check_extension ()</a>
<dt>gimp_datafiles_check_extension, <a class="indexterm" href="libgimpbase-gimpdatafiles.html#id2614748">gimp_datafiles_check_extension ()</a>
</dt>
<dt>gimp_datafiles_read_directories, <a href="libgimpbase-gimpdatafiles.html#id2557009">gimp_datafiles_read_directories ()</a>
<dt>gimp_datafiles_read_directories, <a class="indexterm" href="libgimpbase-gimpdatafiles.html#id2616304">gimp_datafiles_read_directories ()</a>
</dt>
<dt>gimp_data_directory, <a href="libgimpbase-gimpenv.html#id2564323">gimp_data_directory ()</a>
<dt>gimp_data_directory, <a class="indexterm" href="libgimpbase-gimpenv.html#id2614324">gimp_data_directory ()</a>
</dt>
<dt>gimp_directory, <a href="libgimpbase-gimpenv.html#id2564229">gimp_directory ()</a>
<dt>gimp_directory, <a class="indexterm" href="libgimpbase-gimpenv.html#id2614230">gimp_directory ()</a>
</dt>
<dt>gimp_enum_get_desc, <a href="libgimpbase-gimputils.html#id2612591">gimp_enum_get_desc ()</a>
<dt>gimp_enum_get_desc, <a class="indexterm" href="libgimpbase-gimputils.html#id2629753">gimp_enum_get_desc ()</a>
</dt>
<dt>gimp_enum_get_value, <a href="libgimpbase-gimputils.html#id2612732">gimp_enum_get_value ()</a>
<dt>gimp_enum_get_value, <a class="indexterm" href="libgimpbase-gimputils.html#id2629894">gimp_enum_get_value ()</a>
</dt>
<dt>gimp_enum_get_value_descriptions, <a href="libgimpbase-gimpbasetypes.html#id2510842">gimp_enum_get_value_descriptions ()</a>
<dt>gimp_enum_get_value_descriptions, <a class="indexterm" href="libgimpbase-gimpbasetypes.html#id2526984">gimp_enum_get_value_descriptions ()</a>
</dt>
<dt>gimp_enum_set_value_descriptions, <a href="libgimpbase-gimpbasetypes.html#id2562553">gimp_enum_set_value_descriptions ()</a>
<dt>gimp_enum_set_value_descriptions, <a class="indexterm" href="libgimpbase-gimpbasetypes.html#id2596394">gimp_enum_set_value_descriptions ()</a>
</dt>
<dt>gimp_enum_value_get_desc, <a href="libgimpbase-gimputils.html#id2613046">gimp_enum_value_get_desc ()</a>
<dt>gimp_enum_value_get_desc, <a class="indexterm" href="libgimpbase-gimputils.html#id2630208">gimp_enum_value_get_desc ()</a>
</dt>
<dt>gimp_enum_value_get_help, <a href="libgimpbase-gimputils.html#id2613177">gimp_enum_value_get_help ()</a>
<dt>gimp_enum_value_get_help, <a class="indexterm" href="libgimpbase-gimputils.html#id2630339">gimp_enum_value_get_help ()</a>
</dt>
<dt>gimp_env_init, <a href="libgimpbase-gimpenv.html#id2563404">gimp_env_init ()</a>
<dt>gimp_env_init, <a class="indexterm" href="libgimpbase-gimpenv.html#id2587588">gimp_env_init ()</a>
</dt>
<dt>gimp_escape_uline, <a href="libgimpbase-gimputils.html#id2606066">gimp_escape_uline ()</a>
<dt>gimp_escape_uline, <a class="indexterm" href="libgimpbase-gimputils.html#id2623565">gimp_escape_uline ()</a>
</dt>
<dt>gimp_filename_to_utf8, <a href="libgimpbase-gimputils.html#id2605836">gimp_filename_to_utf8 ()</a>
<dt>gimp_filename_to_utf8, <a class="indexterm" href="libgimpbase-gimputils.html#id2623336">gimp_filename_to_utf8 ()</a>
</dt>
<dt>gimp_flags_get_first_desc, <a href="libgimpbase-gimputils.html#id2613308">gimp_flags_get_first_desc ()</a>
<dt>gimp_flags_get_first_desc, <a class="indexterm" href="libgimpbase-gimputils.html#id2630470">gimp_flags_get_first_desc ()</a>
</dt>
<dt>gimp_flags_get_first_value, <a href="libgimpbase-gimputils.html#id2613448">gimp_flags_get_first_value ()</a>
<dt>gimp_flags_get_first_value, <a class="indexterm" href="libgimpbase-gimputils.html#id2630610">gimp_flags_get_first_value ()</a>
</dt>
<dt>gimp_flags_get_value_descriptions, <a href="libgimpbase-gimpbasetypes.html#id2510952">gimp_flags_get_value_descriptions ()</a>
<dt>gimp_flags_get_value_descriptions, <a class="indexterm" href="libgimpbase-gimpbasetypes.html#id2527093">gimp_flags_get_value_descriptions ()</a>
</dt>
<dt>gimp_flags_set_value_descriptions, <a href="libgimpbase-gimpbasetypes.html#id2511061">gimp_flags_set_value_descriptions ()</a>
<dt>gimp_flags_set_value_descriptions, <a class="indexterm" href="libgimpbase-gimpbasetypes.html#id2527203">gimp_flags_set_value_descriptions ()</a>
</dt>
<dt>gimp_flags_value_get_desc, <a href="libgimpbase-gimputils.html#id2613761">gimp_flags_value_get_desc ()</a>
<dt>gimp_flags_value_get_desc, <a class="indexterm" href="libgimpbase-gimputils.html#id2630896">gimp_flags_value_get_desc ()</a>
</dt>
<dt>gimp_flags_value_get_help, <a href="libgimpbase-gimputils.html#id2613893">gimp_flags_value_get_help ()</a>
<dt>gimp_flags_value_get_help, <a class="indexterm" href="libgimpbase-gimputils.html#id2631014">gimp_flags_value_get_help ()</a>
</dt>
<dt>gimp_gtkrc, <a href="libgimpbase-gimpenv.html#id2602823">gimp_gtkrc ()</a>
<dt>gimp_gtkrc, <a class="indexterm" href="libgimpbase-gimpenv.html#id2619984">gimp_gtkrc ()</a>
</dt>
<dt>GIMP_IS_PARAM_SPEC_MEMSIZE, <a href="libgimpbase-gimpmemsize.html#id2557737">GIMP_IS_PARAM_SPEC_MEMSIZE()</a>
<dt>GIMP_IS_PARAM_SPEC_MEMSIZE, <a class="indexterm" href="libgimpbase-gimpmemsize.html#id2587241">GIMP_IS_PARAM_SPEC_MEMSIZE()</a>
</dt>
<dt>GIMP_IS_PARAM_SPEC_PARASITE, <a href="libgimpbase-gimpparasite.html#id2607302">GIMP_IS_PARAM_SPEC_PARASITE()</a>
<dt>GIMP_IS_PARAM_SPEC_PARASITE, <a class="indexterm" href="libgimpbase-gimpparasite.html#id2624378">GIMP_IS_PARAM_SPEC_PARASITE()</a>
</dt>
<dt>GIMP_IS_PARAM_SPEC_UNIT, <a href="libgimpbase-gimpunit.html#id2610219">GIMP_IS_PARAM_SPEC_UNIT()</a>
<dt>GIMP_IS_PARAM_SPEC_UNIT, <a class="indexterm" href="libgimpbase-gimpunit.html#id2627459">GIMP_IS_PARAM_SPEC_UNIT()</a>
</dt>
<dt>gimp_locale_directory, <a href="libgimpbase-gimpenv.html#id2564388">gimp_locale_directory ()</a>
<dt>gimp_locale_directory, <a class="indexterm" href="libgimpbase-gimpenv.html#id2614390">gimp_locale_directory ()</a>
</dt>
<dt>GIMP_MAJOR_VERSION, <a href="libgimpbase-gimpversion.html#id2589563">GIMP_MAJOR_VERSION</a>
<dt>GIMP_MAJOR_VERSION, <a class="indexterm" href="libgimpbase-gimpversion.html#id2598190">GIMP_MAJOR_VERSION</a>
</dt>
<dt>gimp_major_version, <a href="libgimpbase-gimpversion.html#id2590140">gimp_major_version</a>
<dt>gimp_major_version, <a class="indexterm" href="libgimpbase-gimpversion.html#id2610686">gimp_major_version</a>
</dt>
<dt>GIMP_MAX_IMAGE_SIZE, <a href="libgimpbase-gimplimits.html#id2563308">GIMP_MAX_IMAGE_SIZE</a>
<dt>GIMP_MAX_IMAGE_SIZE, <a class="indexterm" href="libgimpbase-gimplimits.html#id2605220">GIMP_MAX_IMAGE_SIZE</a>
</dt>
<dt>GIMP_MAX_MEMSIZE, <a href="libgimpbase-gimplimits.html#id2594662">GIMP_MAX_MEMSIZE</a>
<dt>GIMP_MAX_MEMSIZE, <a class="indexterm" href="libgimpbase-gimplimits.html#id2590759">GIMP_MAX_MEMSIZE</a>
</dt>
<dt>GIMP_MAX_RESOLUTION, <a href="libgimpbase-gimplimits.html#id2594631">GIMP_MAX_RESOLUTION</a>
<dt>GIMP_MAX_RESOLUTION, <a class="indexterm" href="libgimpbase-gimplimits.html#id2590728">GIMP_MAX_RESOLUTION</a>
</dt>
<dt>gimp_memsize_deserialize, <a href="libgimpbase-gimpmemsize.html#id2577976">gimp_memsize_deserialize ()</a>
<dt>gimp_memsize_deserialize, <a class="indexterm" href="libgimpbase-gimpmemsize.html#id2618748">gimp_memsize_deserialize ()</a>
</dt>
<dt>gimp_memsize_serialize, <a href="libgimpbase-gimpmemsize.html#id2596578">gimp_memsize_serialize ()</a>
<dt>gimp_memsize_serialize, <a class="indexterm" href="libgimpbase-gimpmemsize.html#id2618640">gimp_memsize_serialize ()</a>
</dt>
<dt>gimp_memsize_to_string, <a href="libgimpbase-gimpmemsize.html#id2558829">gimp_memsize_to_string ()</a>
<dt>gimp_memsize_to_string, <a class="indexterm" href="libgimpbase-gimpmemsize.html#id2577190">gimp_memsize_to_string ()</a>
</dt>
<dt>GIMP_MICRO_VERSION, <a href="libgimpbase-gimpversion.html#id2589619">GIMP_MICRO_VERSION</a>
<dt>GIMP_MICRO_VERSION, <a class="indexterm" href="libgimpbase-gimpversion.html#id2598247">GIMP_MICRO_VERSION</a>
</dt>
<dt>gimp_micro_version, <a href="libgimpbase-gimpversion.html#id2590195">gimp_micro_version</a>
<dt>gimp_micro_version, <a class="indexterm" href="libgimpbase-gimpversion.html#id2610742">gimp_micro_version</a>
</dt>
<dt>GIMP_MINOR_VERSION, <a href="libgimpbase-gimpversion.html#id2589591">GIMP_MINOR_VERSION</a>
<dt>GIMP_MINOR_VERSION, <a class="indexterm" href="libgimpbase-gimpversion.html#id2598219">GIMP_MINOR_VERSION</a>
</dt>
<dt>gimp_minor_version, <a href="libgimpbase-gimpversion.html#id2590167">gimp_minor_version</a>
<dt>gimp_minor_version, <a class="indexterm" href="libgimpbase-gimpversion.html#id2610714">gimp_minor_version</a>
</dt>
<dt>GIMP_MIN_IMAGE_SIZE, <a href="libgimpbase-gimplimits.html#id2563280">GIMP_MIN_IMAGE_SIZE</a>
<dt>GIMP_MIN_IMAGE_SIZE, <a class="indexterm" href="libgimpbase-gimplimits.html#id2605192">GIMP_MIN_IMAGE_SIZE</a>
</dt>
<dt>GIMP_MIN_RESOLUTION, <a href="libgimpbase-gimplimits.html#id2594599">GIMP_MIN_RESOLUTION</a>
<dt>GIMP_MIN_RESOLUTION, <a class="indexterm" href="libgimpbase-gimplimits.html#id2590697">GIMP_MIN_RESOLUTION</a>
</dt>
<dt>GIMP_PARAM_READABLE, <a href="libgimpbase-gimpparam.html#id2593628">GIMP_PARAM_READABLE</a>
<dt>GIMP_PARAM_READABLE, <a class="indexterm" href="libgimpbase-gimpparam.html#id2611882">GIMP_PARAM_READABLE</a>
</dt>
<dt>GIMP_PARAM_READWRITE, <a href="libgimpbase-gimpparam.html#id2593682">GIMP_PARAM_READWRITE</a>
<dt>GIMP_PARAM_READWRITE, <a class="indexterm" href="libgimpbase-gimpparam.html#id2611936">GIMP_PARAM_READWRITE</a>
</dt>
<dt>gimp_param_spec_memsize, <a href="libgimpbase-gimpmemsize.html#id2557783">gimp_param_spec_memsize ()</a>
<dt>gimp_param_spec_memsize, <a class="indexterm" href="libgimpbase-gimpmemsize.html#id2587288">gimp_param_spec_memsize ()</a>
</dt>
<dt>gimp_param_spec_parasite, <a href="libgimpbase-gimpparasite.html#id2607351">gimp_param_spec_parasite ()</a>
<dt>gimp_param_spec_parasite, <a class="indexterm" href="libgimpbase-gimpparasite.html#id2624422">gimp_param_spec_parasite ()</a>
</dt>
<dt>gimp_param_spec_unit, <a href="libgimpbase-gimpunit.html#id2610264">gimp_param_spec_unit ()</a>
<dt>gimp_param_spec_unit, <a class="indexterm" href="libgimpbase-gimpunit.html#id2627508">gimp_param_spec_unit ()</a>
</dt>
<dt>GIMP_PARAM_STATIC_STRINGS, <a href="libgimpbase-gimpparam.html#id2593600">GIMP_PARAM_STATIC_STRINGS</a>
<dt>GIMP_PARAM_STATIC_STRINGS, <a class="indexterm" href="libgimpbase-gimpparam.html#id2611855">GIMP_PARAM_STATIC_STRINGS</a>
</dt>
<dt>GIMP_PARAM_WRITABLE, <a href="libgimpbase-gimpparam.html#id2593655">GIMP_PARAM_WRITABLE</a>
<dt>GIMP_PARAM_WRITABLE, <a class="indexterm" href="libgimpbase-gimpparam.html#id2611909">GIMP_PARAM_WRITABLE</a>
</dt>
<dt>GIMP_PARASITE_ATTACH_GRANDPARENT, <a href="libgimpbase-gimpparasite.html#id2607152">GIMP_PARASITE_ATTACH_GRANDPARENT</a>
<dt>GIMP_PARASITE_ATTACH_GRANDPARENT, <a class="indexterm" href="libgimpbase-gimpparasite.html#id2624240">GIMP_PARASITE_ATTACH_GRANDPARENT</a>
</dt>
<dt>GIMP_PARASITE_ATTACH_PARENT, <a href="libgimpbase-gimpparasite.html#id2607062">GIMP_PARASITE_ATTACH_PARENT</a>
<dt>GIMP_PARASITE_ATTACH_PARENT, <a class="indexterm" href="libgimpbase-gimpparasite.html#id2624157">GIMP_PARASITE_ATTACH_PARENT</a>
</dt>
<dt>gimp_parasite_compare, <a href="libgimpbase-gimpparasite.html#id2601242">gimp_parasite_compare ()</a>
<dt>gimp_parasite_compare, <a class="indexterm" href="libgimpbase-gimpparasite.html#id2593373">gimp_parasite_compare ()</a>
</dt>
<dt>gimp_parasite_copy, <a href="libgimpbase-gimpparasite.html#id2601173">gimp_parasite_copy ()</a>
<dt>gimp_parasite_copy, <a class="indexterm" href="libgimpbase-gimpparasite.html#id2593304">gimp_parasite_copy ()</a>
</dt>
<dt>gimp_parasite_data, <a href="libgimpbase-gimpparasite.html#id2606870">gimp_parasite_data ()</a>
<dt>gimp_parasite_data, <a class="indexterm" href="libgimpbase-gimpparasite.html#id2623985">gimp_parasite_data ()</a>
</dt>
<dt>gimp_parasite_data_size, <a href="libgimpbase-gimpparasite.html#id2606939">gimp_parasite_data_size ()</a>
<dt>gimp_parasite_data_size, <a class="indexterm" href="libgimpbase-gimpparasite.html#id2624046">gimp_parasite_data_size ()</a>
</dt>
<dt>gimp_parasite_flags, <a href="libgimpbase-gimpparasite.html#id2606730">gimp_parasite_flags ()</a>
<dt>gimp_parasite_flags, <a class="indexterm" href="libgimpbase-gimpparasite.html#id2623862">gimp_parasite_flags ()</a>
</dt>
<dt>gimp_parasite_free, <a href="libgimpbase-gimpparasite.html#id2561413">gimp_parasite_free ()</a>
<dt>gimp_parasite_free, <a class="indexterm" href="libgimpbase-gimpparasite.html#id2576984">gimp_parasite_free ()</a>
</dt>
<dt>GIMP_PARASITE_GRANDPARENT_PERSISTENT, <a href="libgimpbase-gimpparasite.html#id2607183">GIMP_PARASITE_GRANDPARENT_PERSISTENT</a>
<dt>GIMP_PARASITE_GRANDPARENT_PERSISTENT, <a class="indexterm" href="libgimpbase-gimpparasite.html#id2624268">GIMP_PARASITE_GRANDPARENT_PERSISTENT</a>
</dt>
<dt>GIMP_PARASITE_GRANDPARENT_UNDOABLE, <a href="libgimpbase-gimpparasite.html#id2607213">GIMP_PARASITE_GRANDPARENT_UNDOABLE</a>
<dt>GIMP_PARASITE_GRANDPARENT_UNDOABLE, <a class="indexterm" href="libgimpbase-gimpparasite.html#id2624296">GIMP_PARASITE_GRANDPARENT_UNDOABLE</a>
</dt>
<dt>gimp_parasite_has_flag, <a href="libgimpbase-gimpparasite.html#id2606641">gimp_parasite_has_flag ()</a>
<dt>gimp_parasite_has_flag, <a class="indexterm" href="libgimpbase-gimpparasite.html#id2623799">gimp_parasite_has_flag ()</a>
</dt>
<dt>gimp_parasite_is_persistent, <a href="libgimpbase-gimpparasite.html#id2606517">gimp_parasite_is_persistent ()</a>
<dt>gimp_parasite_is_persistent, <a class="indexterm" href="libgimpbase-gimpparasite.html#id2623677">gimp_parasite_is_persistent ()</a>
</dt>
<dt>gimp_parasite_is_type, <a href="libgimpbase-gimpparasite.html#id2601332">gimp_parasite_is_type ()</a>
<dt>gimp_parasite_is_type, <a class="indexterm" href="libgimpbase-gimpparasite.html#id2593463">gimp_parasite_is_type ()</a>
</dt>
<dt>gimp_parasite_is_undoable, <a href="libgimpbase-gimpparasite.html#id2606578">gimp_parasite_is_undoable ()</a>
<dt>gimp_parasite_is_undoable, <a class="indexterm" href="libgimpbase-gimpparasite.html#id2623738">gimp_parasite_is_undoable ()</a>
</dt>
<dt>gimp_parasite_name, <a href="libgimpbase-gimpparasite.html#id2606799">gimp_parasite_name ()</a>
<dt>gimp_parasite_name, <a class="indexterm" href="libgimpbase-gimpparasite.html#id2623923">gimp_parasite_name ()</a>
</dt>
<dt>gimp_parasite_new, <a href="libgimpbase-gimpparasite.html#id2561280">gimp_parasite_new ()</a>
<dt>gimp_parasite_new, <a class="indexterm" href="libgimpbase-gimpparasite.html#id2576852">gimp_parasite_new ()</a>
</dt>
<dt>GIMP_PARASITE_PARENT_PERSISTENT, <a href="libgimpbase-gimpparasite.html#id2607092">GIMP_PARASITE_PARENT_PERSISTENT</a>
<dt>GIMP_PARASITE_PARENT_PERSISTENT, <a class="indexterm" href="libgimpbase-gimpparasite.html#id2624184">GIMP_PARASITE_PARENT_PERSISTENT</a>
</dt>
<dt>GIMP_PARASITE_PARENT_UNDOABLE, <a href="libgimpbase-gimpparasite.html#id2607122">GIMP_PARASITE_PARENT_UNDOABLE</a>
<dt>GIMP_PARASITE_PARENT_UNDOABLE, <a class="indexterm" href="libgimpbase-gimpparasite.html#id2624212">GIMP_PARASITE_PARENT_UNDOABLE</a>
</dt>
<dt>GIMP_PARASITE_PERSISTENT, <a href="libgimpbase-gimpparasite.html#id2607007">GIMP_PARASITE_PERSISTENT</a>
<dt>GIMP_PARASITE_PERSISTENT, <a class="indexterm" href="libgimpbase-gimpparasite.html#id2624106">GIMP_PARASITE_PERSISTENT</a>
</dt>
<dt>GIMP_PARASITE_UNDOABLE, <a href="libgimpbase-gimpparasite.html#id2607035">GIMP_PARASITE_UNDOABLE</a>
<dt>GIMP_PARASITE_UNDOABLE, <a class="indexterm" href="libgimpbase-gimpparasite.html#id2624132">GIMP_PARASITE_UNDOABLE</a>
</dt>
<dt>gimp_path_free, <a href="libgimpbase-gimpenv.html#id2603139">gimp_path_free ()</a>
<dt>gimp_path_free, <a class="indexterm" href="libgimpbase-gimpenv.html#id2620299">gimp_path_free ()</a>
</dt>
<dt>gimp_path_get_user_writable_dir, <a href="libgimpbase-gimpenv.html#id2583543">gimp_path_get_user_writable_dir ()</a>
<dt>gimp_path_get_user_writable_dir, <a class="indexterm" href="libgimpbase-gimpenv.html#id2620373">gimp_path_get_user_writable_dir ()</a>
</dt>
<dt>gimp_path_parse, <a href="libgimpbase-gimpenv.html#id2602879">gimp_path_parse ()</a>
<dt>gimp_path_parse, <a class="indexterm" href="libgimpbase-gimpenv.html#id2620040">gimp_path_parse ()</a>
</dt>
<dt>gimp_path_to_str, <a href="libgimpbase-gimpenv.html#id2603049">gimp_path_to_str ()</a>
<dt>gimp_path_to_str, <a class="indexterm" href="libgimpbase-gimpenv.html#id2620209">gimp_path_to_str ()</a>
</dt>
<dt>gimp_personal_rc_file, <a href="libgimpbase-gimpenv.html#id2600459">gimp_personal_rc_file ()</a>
<dt>gimp_personal_rc_file, <a class="indexterm" href="libgimpbase-gimpenv.html#id2582840">gimp_personal_rc_file ()</a>
</dt>
<dt>GIMP_PIXPIPE_MAXDIM, <a href="libgimpbase-gimpparasiteio.html#id2560553">GIMP_PIXPIPE_MAXDIM</a>
<dt>GIMP_PIXPIPE_MAXDIM, <a class="indexterm" href="libgimpbase-gimpparasiteio.html#id2619767">GIMP_PIXPIPE_MAXDIM</a>
</dt>
<dt>gimp_pixpipe_params_build, <a href="libgimpbase-gimpparasiteio.html#id2561545">gimp_pixpipe_params_build ()</a>
<dt>gimp_pixpipe_params_build, <a class="indexterm" href="libgimpbase-gimpparasiteio.html#id2621166">gimp_pixpipe_params_build ()</a>
</dt>
<dt>gimp_pixpipe_params_init, <a href="libgimpbase-gimpparasiteio.html#id2560580">gimp_pixpipe_params_init ()</a>
<dt>gimp_pixpipe_params_init, <a class="indexterm" href="libgimpbase-gimpparasiteio.html#id2619794">gimp_pixpipe_params_init ()</a>
</dt>
<dt>gimp_pixpipe_params_parse, <a href="libgimpbase-gimpparasiteio.html#id2561466">gimp_pixpipe_params_parse ()</a>
<dt>gimp_pixpipe_params_parse, <a class="indexterm" href="libgimpbase-gimpparasiteio.html#id2621087">gimp_pixpipe_params_parse ()</a>
</dt>
<dt>gimp_plug_in_directory, <a href="libgimpbase-gimpenv.html#id2564452">gimp_plug_in_directory ()</a>
<dt>gimp_plug_in_directory, <a class="indexterm" href="libgimpbase-gimpenv.html#id2614454">gimp_plug_in_directory ()</a>
</dt>
<dt>gimp_rectangle_intersect, <a href="libgimpbase-gimprectangle.html#id2600048">gimp_rectangle_intersect ()</a>
<dt>gimp_rectangle_intersect, <a class="indexterm" href="libgimpbase-gimprectangle.html#id2580590">gimp_rectangle_intersect ()</a>
</dt>
<dt>gimp_signal_private, <a href="libgimpbase-gimpsignal.html#id2558693">gimp_signal_private ()</a>
<dt>gimp_signal_private, <a class="indexterm" href="libgimpbase-gimpsignal.html#id2579506">gimp_signal_private ()</a>
</dt>
<dt>gimp_strip_uline, <a href="libgimpbase-gimputils.html#id2612373">gimp_strip_uline ()</a>
<dt>gimp_strip_uline, <a class="indexterm" href="libgimpbase-gimputils.html#id2629534">gimp_strip_uline ()</a>
</dt>
<dt>gimp_sysconf_directory, <a href="libgimpbase-gimpenv.html#id2600294">gimp_sysconf_directory ()</a>
<dt>gimp_sysconf_directory, <a class="indexterm" href="libgimpbase-gimpenv.html#id2582674">gimp_sysconf_directory ()</a>
</dt>
<dt>gimp_type_get_translation_domain, <a href="libgimpbase-gimpbasetypes.html#id2562417">gimp_type_get_translation_domain ()</a>
<dt>gimp_type_get_translation_domain, <a class="indexterm" href="libgimpbase-gimpbasetypes.html#id2596257">gimp_type_get_translation_domain ()</a>
</dt>
<dt>GIMP_TYPE_MEMSIZE, <a href="libgimpbase-gimpmemsize.html#id2558910">GIMP_TYPE_MEMSIZE</a>
<dt>GIMP_TYPE_MEMSIZE, <a class="indexterm" href="libgimpbase-gimpmemsize.html#id2577272">GIMP_TYPE_MEMSIZE</a>
</dt>
<dt>GIMP_TYPE_PARAM_MEMSIZE, <a href="libgimpbase-gimpmemsize.html#id2558959">GIMP_TYPE_PARAM_MEMSIZE</a>
<dt>GIMP_TYPE_PARAM_MEMSIZE, <a class="indexterm" href="libgimpbase-gimpmemsize.html#id2577321">GIMP_TYPE_PARAM_MEMSIZE</a>
</dt>
<dt>GIMP_TYPE_PARAM_PARASITE, <a href="libgimpbase-gimpparasite.html#id2607273">GIMP_TYPE_PARAM_PARASITE</a>
<dt>GIMP_TYPE_PARAM_PARASITE, <a class="indexterm" href="libgimpbase-gimpparasite.html#id2624351">GIMP_TYPE_PARAM_PARASITE</a>
</dt>
<dt>GIMP_TYPE_PARAM_UNIT, <a href="libgimpbase-gimpunit.html#id2610194">GIMP_TYPE_PARAM_UNIT</a>
<dt>GIMP_TYPE_PARAM_UNIT, <a class="indexterm" href="libgimpbase-gimpunit.html#id2627431">GIMP_TYPE_PARAM_UNIT</a>
</dt>
<dt>GIMP_TYPE_PARASITE, <a href="libgimpbase-gimpparasite.html#id2607244">GIMP_TYPE_PARASITE</a>
<dt>GIMP_TYPE_PARASITE, <a class="indexterm" href="libgimpbase-gimpparasite.html#id2624326">GIMP_TYPE_PARASITE</a>
</dt>
<dt>gimp_type_set_translation_domain, <a href="libgimpbase-gimpbasetypes.html#id2566885">gimp_type_set_translation_domain ()</a>
<dt>gimp_type_set_translation_domain, <a class="indexterm" href="libgimpbase-gimpbasetypes.html#id2588565">gimp_type_set_translation_domain ()</a>
</dt>
<dt>GIMP_TYPE_UNIT, <a href="libgimpbase-gimpunit.html#id2610150">GIMP_TYPE_UNIT</a>
<dt>GIMP_TYPE_UNIT, <a class="indexterm" href="libgimpbase-gimpunit.html#id2627381">GIMP_TYPE_UNIT</a>
</dt>
<dt>gimp_unit_get_abbreviation, <a href="libgimpbase-gimpunit.html#id2609934">gimp_unit_get_abbreviation ()</a>
<dt>gimp_unit_get_abbreviation, <a class="indexterm" href="libgimpbase-gimpunit.html#id2627144">gimp_unit_get_abbreviation ()</a>
</dt>
<dt>gimp_unit_get_deletion_flag, <a href="libgimpbase-gimpunit.html#id2576374">gimp_unit_get_deletion_flag ()</a>
<dt>gimp_unit_get_deletion_flag, <a class="indexterm" href="libgimpbase-gimpunit.html#id2619042">gimp_unit_get_deletion_flag ()</a>
</dt>
<dt>gimp_unit_get_digits, <a href="libgimpbase-gimpunit.html#id2609738">gimp_unit_get_digits ()</a>
<dt>gimp_unit_get_digits, <a class="indexterm" href="libgimpbase-gimpunit.html#id2626908">gimp_unit_get_digits ()</a>
</dt>
<dt>gimp_unit_get_factor, <a href="libgimpbase-gimpunit.html#id2609636">gimp_unit_get_factor ()</a>
<dt>gimp_unit_get_factor, <a class="indexterm" href="libgimpbase-gimpunit.html#id2626806">gimp_unit_get_factor ()</a>
</dt>
<dt>gimp_unit_get_identifier, <a href="libgimpbase-gimpunit.html#id2609797">gimp_unit_get_identifier ()</a>
<dt>gimp_unit_get_identifier, <a class="indexterm" href="libgimpbase-gimpunit.html#id2626992">gimp_unit_get_identifier ()</a>
</dt>
<dt>gimp_unit_get_number_of_built_in_units, <a href="libgimpbase-gimpunit.html#id2604876">gimp_unit_get_number_of_built_in_units ()</a>
<dt>gimp_unit_get_number_of_built_in_units, <a class="indexterm" href="libgimpbase-gimpunit.html#id2622657">gimp_unit_get_number_of_built_in_units ()</a>
</dt>
<dt>gimp_unit_get_number_of_units, <a href="libgimpbase-gimpunit.html#id2604817">gimp_unit_get_number_of_units ()</a>
<dt>gimp_unit_get_number_of_units, <a class="indexterm" href="libgimpbase-gimpunit.html#id2622598">gimp_unit_get_number_of_units ()</a>
</dt>
<dt>gimp_unit_get_plural, <a href="libgimpbase-gimpunit.html#id2610078">gimp_unit_get_plural ()</a>
<dt>gimp_unit_get_plural, <a class="indexterm" href="libgimpbase-gimpunit.html#id2627302">gimp_unit_get_plural ()</a>
</dt>
<dt>gimp_unit_get_singular, <a href="libgimpbase-gimpunit.html#id2610007">gimp_unit_get_singular ()</a>
<dt>gimp_unit_get_singular, <a class="indexterm" href="libgimpbase-gimpunit.html#id2627223">gimp_unit_get_singular ()</a>
</dt>
<dt>gimp_unit_get_symbol, <a href="libgimpbase-gimpunit.html#id2609864">gimp_unit_get_symbol ()</a>
<dt>gimp_unit_get_symbol, <a class="indexterm" href="libgimpbase-gimpunit.html#id2627066">gimp_unit_get_symbol ()</a>
</dt>
<dt>gimp_unit_new, <a href="libgimpbase-gimpunit.html#id2604937">gimp_unit_new ()</a>
<dt>gimp_unit_new, <a class="indexterm" href="libgimpbase-gimpunit.html#id2622719">gimp_unit_new ()</a>
</dt>
<dt>gimp_unit_set_deletion_flag, <a href="libgimpbase-gimpunit.html#id2576458">gimp_unit_set_deletion_flag ()</a>
<dt>gimp_unit_set_deletion_flag, <a class="indexterm" href="libgimpbase-gimpunit.html#id2619126">gimp_unit_set_deletion_flag ()</a>
</dt>
<dt>gimp_user_directory, <a href="libgimpbase-gimpenv.html#id2600358">gimp_user_directory ()</a>
<dt>gimp_user_directory, <a class="indexterm" href="libgimpbase-gimpenv.html#id2582738">gimp_user_directory ()</a>
</dt>
<dt>gimp_utf8_strtrim, <a href="libgimpbase-gimputils.html#id2605934">gimp_utf8_strtrim ()</a>
<dt>gimp_utf8_strtrim, <a class="indexterm" href="libgimpbase-gimputils.html#id2623434">gimp_utf8_strtrim ()</a>
</dt>
<dt>GIMP_VALUE_HOLDS_MEMSIZE, <a href="libgimpbase-gimpmemsize.html#id2603823">GIMP_VALUE_HOLDS_MEMSIZE()</a>
<dt>GIMP_VALUE_HOLDS_MEMSIZE, <a class="indexterm" href="libgimpbase-gimpmemsize.html#id2620992">GIMP_VALUE_HOLDS_MEMSIZE()</a>
</dt>
<dt>GIMP_VALUE_HOLDS_PARASITE, <a href="libgimpbase-gimpparasite.html#id2607482">GIMP_VALUE_HOLDS_PARASITE()</a>
<dt>GIMP_VALUE_HOLDS_PARASITE, <a class="indexterm" href="libgimpbase-gimpparasite.html#id2624541">GIMP_VALUE_HOLDS_PARASITE()</a>
</dt>
<dt>GIMP_VALUE_HOLDS_UNIT, <a href="libgimpbase-gimpunit.html#id2610477">GIMP_VALUE_HOLDS_UNIT()</a>
<dt>GIMP_VALUE_HOLDS_UNIT, <a class="indexterm" href="libgimpbase-gimpunit.html#id2627743">GIMP_VALUE_HOLDS_UNIT()</a>
</dt>
<dt>GIMP_VERSION, <a href="libgimpbase-gimpversion.html#id2593204">GIMP_VERSION</a>
<dt>GIMP_VERSION, <a class="indexterm" href="libgimpbase-gimpversion.html#id2583040">GIMP_VERSION</a>
</dt>
</dl>
</div></div>

View File

@ -3,7 +3,7 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>Part&#160;I.&#160;GIMP Base Library</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.72.0">
<meta name="generator" content="DocBook XSL Stylesheets V1.73.2">
<link rel="start" href="index.html" title="GIMP Base Library Reference Manual">
<link rel="up" href="index.html" title="GIMP Base Library Reference Manual">
<link rel="prev" href="index.html" title="GIMP Base Library Reference Manual">