Imported Upstream version 2.2.14
This commit is contained in:
@ -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.68.1">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.72.0">
|
||||
<link rel="start" href="index.html" title="GIMP Base Library Reference Manual">
|
||||
<link rel="next" href="libgimpbase.html" title="Part I. GIMP Base Library">
|
||||
<meta name="generator" content="GTK-Doc V1.7 (XML mode)">
|
||||
@ -15,67 +15,64 @@
|
||||
<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.2.13
|
||||
for GIMP 2.2.14
|
||||
|
||||
</p></div>
|
||||
</div>
|
||||
<hr>
|
||||
</div>
|
||||
<div class="toc">
|
||||
<p><b>Table of Contents</b></p>
|
||||
<dl>
|
||||
<div class="toc"><dl>
|
||||
<dt><span class="part"><a href="libgimpbase.html">I. GIMP Base Library</a></span></dt>
|
||||
<dd><dl>
|
||||
<dt>
|
||||
<span class="refentrytitle"><a href="libgimpbase-gimpbaseenums.html">gimpbaseenums</a></span><span class="refpurpose"> - Basic GIMP enumeration data types.</span>
|
||||
<span class="refentrytitle"><a href="libgimpbase-gimpbaseenums.html">gimpbaseenums</a></span><span class="refpurpose"> — Basic GIMP enumeration data types.</span>
|
||||
</dt>
|
||||
<dt>
|
||||
<span class="refentrytitle"><a href="libgimpbase-gimpbasetypes.html">gimpbasetypes</a></span><span class="refpurpose"> - Translation between gettext translation domain identifier and GType.</span>
|
||||
<span class="refentrytitle"><a href="libgimpbase-gimpbasetypes.html">gimpbasetypes</a></span><span class="refpurpose"> — Translation between gettext translation domain identifier and GType.</span>
|
||||
</dt>
|
||||
<dt>
|
||||
<span class="refentrytitle"><a href="libgimpbase-gimpversion.html">gimpversion</a></span><span class="refpurpose"> - Macros and constants useful for determining GIMP's version number and
|
||||
<span class="refentrytitle"><a href="libgimpbase-gimpversion.html">gimpversion</a></span><span class="refpurpose"> — Macros and constants useful for determining GIMP's version number and
|
||||
capabilities.</span>
|
||||
</dt>
|
||||
<dt>
|
||||
<span class="refentrytitle"><a href="libgimpbase-gimplimits.html">gimplimits</a></span><span class="refpurpose"> - Boundaries of some GIMP data types and some global constants.</span>
|
||||
<span class="refentrytitle"><a href="libgimpbase-gimplimits.html">gimplimits</a></span><span class="refpurpose"> — Boundaries of some GIMP data types and some global constants.</span>
|
||||
</dt>
|
||||
<dt>
|
||||
<span class="refentrytitle"><a href="libgimpbase-gimpchecks.html">gimpchecks</a></span><span class="refpurpose"> - Constants and functions related to rendering checkerboards.</span>
|
||||
<span class="refentrytitle"><a href="libgimpbase-gimpchecks.html">gimpchecks</a></span><span class="refpurpose"> — Constants and functions related to rendering checkerboards.</span>
|
||||
</dt>
|
||||
<dt>
|
||||
<span class="refentrytitle"><a href="libgimpbase-gimpdatafiles.html">gimpdatafiles</a></span><span class="refpurpose"> - Functions to handle GIMP data files.</span>
|
||||
<span class="refentrytitle"><a href="libgimpbase-gimpdatafiles.html">gimpdatafiles</a></span><span class="refpurpose"> — Functions to handle GIMP data files.</span>
|
||||
</dt>
|
||||
<dt>
|
||||
<span class="refentrytitle"><a href="libgimpbase-gimpenv.html">gimpenv</a></span><span class="refpurpose"> - Functions to access the GIMP environment.</span>
|
||||
<span class="refentrytitle"><a href="libgimpbase-gimpenv.html">gimpenv</a></span><span class="refpurpose"> — Functions to access the GIMP environment.</span>
|
||||
</dt>
|
||||
<dt>
|
||||
<span class="refentrytitle"><a href="libgimpbase-gimpmemsize.html">gimpmemsize</a></span><span class="refpurpose"> - Functions to (de)serialize a given memory size.</span>
|
||||
<span class="refentrytitle"><a href="libgimpbase-gimpmemsize.html">gimpmemsize</a></span><span class="refpurpose"> — Functions to (de)serialize a given memory size.</span>
|
||||
</dt>
|
||||
<dt>
|
||||
<span class="refentrytitle"><a href="libgimpbase-gimpparasite.html">gimpparasite</a></span><span class="refpurpose"> - Arbitrary pieces of data which can be attached to various GIMP objects.</span>
|
||||
<span class="refentrytitle"><a href="libgimpbase-gimpparasite.html">gimpparasite</a></span><span class="refpurpose"> — 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"> - Utility functions to (de)serialize certain C structures to/from GimpParasite's.</span>
|
||||
<span class="refentrytitle"><a href="libgimpbase-gimpparasiteio.html">gimpparasiteio</a></span><span class="refpurpose"> — Utility functions to (de)serialize certain C structures to/from <a 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"> - Portable signal handling.</span>
|
||||
<span class="refentrytitle"><a href="libgimpbase-gimpsignal.html">gimpsignal</a></span><span class="refpurpose"> — Portable signal handling.</span>
|
||||
</dt>
|
||||
<dt>
|
||||
<span class="refentrytitle"><a href="libgimpbase-gimpunit.html">gimpunit</a></span><span class="refpurpose"> - Provides a collection of predefined units and functions for creating
|
||||
<span class="refentrytitle"><a href="libgimpbase-gimpunit.html">gimpunit</a></span><span class="refpurpose"> — Provides a collection of predefined units and functions for creating
|
||||
user-defined units.</span>
|
||||
</dt>
|
||||
<dt>
|
||||
<span class="refentrytitle"><a href="libgimpbase-gimputils.html">gimputils</a></span><span class="refpurpose"> - Utilities of general interest</span>
|
||||
<span class="refentrytitle"><a href="libgimpbase-gimputils.html">gimputils</a></span><span class="refpurpose"> — Utilities of general interest</span>
|
||||
</dt>
|
||||
<dt>
|
||||
<span class="refentrytitle"><a href="libgimpbase-gimpprotocol.html">gimpprotocol</a></span><span class="refpurpose"> - The communication protocol between GIMP and it's plug-ins.</span>
|
||||
<span class="refentrytitle"><a href="libgimpbase-gimpprotocol.html">gimpprotocol</a></span><span class="refpurpose"> — The communication protocol between GIMP and it's plug-ins.</span>
|
||||
</dt>
|
||||
<dt>
|
||||
<span class="refentrytitle"><a href="libgimpbase-gimpwire.html">gimpwire</a></span><span class="refpurpose"> - The lowlevel I/O protocol used for communication between GIMP and
|
||||
<span class="refentrytitle"><a href="libgimpbase-gimpwire.html">gimpwire</a></span><span class="refpurpose"> — The lowlevel I/O protocol used for communication between GIMP and
|
||||
it's plug-ins.</span>
|
||||
</dt>
|
||||
</dl></dd>
|
||||
</dl>
|
||||
</div>
|
||||
</dl></div>
|
||||
</div></body>
|
||||
</html>
|
||||
|
||||
@ -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.68.1">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.72.0">
|
||||
<link rel="start" href="index.html" title="GIMP Base Library Reference Manual">
|
||||
<link rel="up" href="libgimpbase.html" title="Part I. GIMP Base Library">
|
||||
<link rel="prev" href="libgimpbase.html" title="Part I. GIMP Base Library">
|
||||
@ -21,16 +21,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="#id2538288" class="shortcut">Top</a>
|
||||
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2571273" class="shortcut">Top</a>
|
||||
 | 
|
||||
<a href="#id2481874" class="shortcut">Description</a></nobr></td></tr>
|
||||
<a href="#id2514870" 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="id2538288"></a><span class="refentrytitle">gimpbaseenums</span>
|
||||
<a name="id2571273"></a><span class="refentrytitle">gimpbaseenums</span>
|
||||
</h2>
|
||||
<p>gimpbaseenums — Basic GIMP enumeration data types.</p>
|
||||
</td>
|
||||
@ -56,17 +56,17 @@ enum <a href="libgimpbase-gimpbaseenums.html#GimpStackTraceMode">GimpStac
|
||||
</pre>
|
||||
</div>
|
||||
<div class="refsect1" lang="en">
|
||||
<a name="id2481874"></a><h2>Description</h2>
|
||||
<a name="id2514870"></a><h2>Description</h2>
|
||||
<p>
|
||||
Basic GIMP enumeration data types.
|
||||
</p>
|
||||
</div>
|
||||
<div class="refsect1" lang="en">
|
||||
<a name="id2481889"></a><h2>Details</h2>
|
||||
<a name="id2514886"></a><h2>Details</h2>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2481900"></a><h3>
|
||||
<a name="id2514897"></a><h3>
|
||||
<a name="GimpCheckSize"></a>enum GimpCheckSize</h3>
|
||||
<a class="indexterm" name="id2481912"></a><pre class="programlisting">typedef enum /*< pdb-skip >*/
|
||||
<a class="indexterm" name="id2514909"></a><pre class="programlisting">typedef enum /*< pdb-skip >*/
|
||||
{
|
||||
GIMP_CHECK_SIZE_SMALL_CHECKS = 0, /*< desc="Small" >*/
|
||||
GIMP_CHECK_SIZE_MEDIUM_CHECKS = 1, /*< desc="Medium" >*/
|
||||
@ -79,9 +79,9 @@ Basic GIMP enumeration data types.
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2481932"></a><h3>
|
||||
<a name="id2514929"></a><h3>
|
||||
<a name="GimpCheckType"></a>enum GimpCheckType</h3>
|
||||
<a class="indexterm" name="id2481944"></a><pre class="programlisting">typedef enum /*< pdb-skip >*/
|
||||
<a class="indexterm" name="id2514941"></a><pre class="programlisting">typedef enum /*< pdb-skip >*/
|
||||
{
|
||||
GIMP_CHECK_TYPE_LIGHT_CHECKS = 0, /*< desc="Light Checks" >*/
|
||||
GIMP_CHECK_TYPE_GRAY_CHECKS = 1, /*< desc="Mid-Tone Checks" >*/
|
||||
@ -97,9 +97,9 @@ Basic GIMP enumeration data types.
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2481968"></a><h3>
|
||||
<a name="id2514964"></a><h3>
|
||||
<a name="GimpImageBaseType"></a>enum GimpImageBaseType</h3>
|
||||
<a class="indexterm" name="id2476797"></a><pre class="programlisting">typedef enum
|
||||
<a class="indexterm" name="id2509790"></a><pre class="programlisting">typedef enum
|
||||
{
|
||||
GIMP_RGB, /*< desc="RGB color" >*/
|
||||
GIMP_GRAY, /*< desc="Grayscale" >*/
|
||||
@ -112,9 +112,9 @@ Basic GIMP enumeration data types.
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2476814"></a><h3>
|
||||
<a name="id2509808"></a><h3>
|
||||
<a name="GimpImageType"></a>enum GimpImageType</h3>
|
||||
<a class="indexterm" name="id2476827"></a><pre class="programlisting">typedef enum
|
||||
<a class="indexterm" name="id2509820"></a><pre class="programlisting">typedef enum
|
||||
{
|
||||
GIMP_RGB_IMAGE, /*< desc="RGB" >*/
|
||||
GIMP_RGBA_IMAGE, /*< desc="RGB-alpha" >*/
|
||||
@ -130,9 +130,9 @@ Basic GIMP enumeration data types.
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2476848"></a><h3>
|
||||
<a name="id2509842"></a><h3>
|
||||
<a name="GimpMessageHandlerType"></a>enum GimpMessageHandlerType</h3>
|
||||
<a class="indexterm" name="id2476860"></a><pre class="programlisting">typedef enum
|
||||
<a class="indexterm" name="id2509853"></a><pre class="programlisting">typedef enum
|
||||
{
|
||||
GIMP_MESSAGE_BOX,
|
||||
GIMP_CONSOLE,
|
||||
@ -145,9 +145,9 @@ Basic GIMP enumeration data types.
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2476876"></a><h3>
|
||||
<a name="id2509870"></a><h3>
|
||||
<a name="GimpPDBArgType"></a>enum GimpPDBArgType</h3>
|
||||
<a class="indexterm" name="id2476889"></a><pre class="programlisting">typedef enum
|
||||
<a class="indexterm" name="id2509882"></a><pre class="programlisting">typedef enum
|
||||
{
|
||||
GIMP_PDB_INT32,
|
||||
GIMP_PDB_INT16,
|
||||
@ -180,9 +180,9 @@ Basic GIMP enumeration data types.
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2476913"></a><h3>
|
||||
<a name="id2509906"></a><h3>
|
||||
<a name="GimpPDBProcType"></a>enum GimpPDBProcType</h3>
|
||||
<a class="indexterm" name="id2476925"></a><pre class="programlisting">typedef enum
|
||||
<a class="indexterm" name="id2509918"></a><pre class="programlisting">typedef enum
|
||||
{
|
||||
GIMP_INTERNAL,
|
||||
GIMP_PLUGIN,
|
||||
@ -196,9 +196,9 @@ Basic GIMP enumeration data types.
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2499810"></a><h3>
|
||||
<a name="id2532795"></a><h3>
|
||||
<a name="GimpPDBStatusType"></a>enum GimpPDBStatusType</h3>
|
||||
<a class="indexterm" name="id2499823"></a><pre class="programlisting">typedef enum
|
||||
<a class="indexterm" name="id2532808"></a><pre class="programlisting">typedef enum
|
||||
{
|
||||
GIMP_PDB_EXECUTION_ERROR,
|
||||
GIMP_PDB_CALLING_ERROR,
|
||||
@ -213,9 +213,9 @@ Basic GIMP enumeration data types.
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2499841"></a><h3>
|
||||
<a name="id2532825"></a><h3>
|
||||
<a name="GimpProgressCommand"></a>enum GimpProgressCommand</h3>
|
||||
<a class="indexterm" name="id2499853"></a><pre class="programlisting">typedef enum
|
||||
<a class="indexterm" name="id2532838"></a><pre class="programlisting">typedef enum
|
||||
{
|
||||
GIMP_PROGRESS_COMMAND_START,
|
||||
GIMP_PROGRESS_COMMAND_END,
|
||||
@ -229,9 +229,9 @@ Basic GIMP enumeration data types.
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2499871"></a><h3>
|
||||
<a name="id2532856"></a><h3>
|
||||
<a name="GimpStackTraceMode"></a>enum GimpStackTraceMode</h3>
|
||||
<a class="indexterm" name="id2499883"></a><pre class="programlisting">typedef enum
|
||||
<a class="indexterm" name="id2532868"></a><pre class="programlisting">typedef enum
|
||||
{
|
||||
GIMP_STACK_TRACE_NEVER,
|
||||
GIMP_STACK_TRACE_QUERY,
|
||||
|
||||
@ -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.68.1">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.72.0">
|
||||
<link rel="start" href="index.html" title="GIMP Base Library Reference Manual">
|
||||
<link rel="up" href="libgimpbase.html" title="Part I. GIMP Base Library">
|
||||
<link rel="prev" href="libgimpbase-gimpbaseenums.html" title="gimpbaseenums">
|
||||
@ -21,16 +21,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="#id2552900" class="shortcut">Top</a>
|
||||
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2585529" class="shortcut">Top</a>
|
||||
 | 
|
||||
<a href="#id2544047" class="shortcut">Description</a></nobr></td></tr>
|
||||
<a href="#id2509511" 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="id2552900"></a><span class="refentrytitle">gimpbasetypes</span>
|
||||
<a name="id2585529"></a><span class="refentrytitle">gimpbasetypes</span>
|
||||
</h2>
|
||||
<p>gimpbasetypes — Translation between gettext translation domain identifier and GType.</p>
|
||||
</td>
|
||||
@ -62,17 +62,17 @@ void <a href="libgimpbase-gimpbasetypes.html#gimp-flags-set-value-descrip
|
||||
</pre>
|
||||
</div>
|
||||
<div class="refsect1" lang="en">
|
||||
<a name="id2544047"></a><h2>Description</h2>
|
||||
<a name="id2509511"></a><h2>Description</h2>
|
||||
<p>
|
||||
Translation between gettext translation domain identifier and GType.
|
||||
</p>
|
||||
</div>
|
||||
<div class="refsect1" lang="en">
|
||||
<a name="id2544064"></a><h2>Details</h2>
|
||||
<a name="id2509528"></a><h2>Details</h2>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2548243"></a><h3>
|
||||
<a name="id2532895"></a><h3>
|
||||
<a name="GimpEnumDesc"></a>GimpEnumDesc</h3>
|
||||
<a class="indexterm" name="id2548255"></a><pre class="programlisting">typedef struct {
|
||||
<a class="indexterm" name="id2532907"></a><pre class="programlisting">typedef struct {
|
||||
gint value;
|
||||
gchar *value_desc;
|
||||
gchar *value_help;
|
||||
@ -84,9 +84,9 @@ Translation between gettext translation domain identifier and GType.
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2548272"></a><h3>
|
||||
<a name="id2532924"></a><h3>
|
||||
<a name="GimpFlagsDesc"></a>GimpFlagsDesc</h3>
|
||||
<a class="indexterm" name="id2548285"></a><pre class="programlisting">typedef struct {
|
||||
<a class="indexterm" name="id2532936"></a><pre class="programlisting">typedef struct {
|
||||
guint value;
|
||||
gchar *value_desc;
|
||||
gchar *value_help;
|
||||
@ -98,9 +98,9 @@ Translation between gettext translation domain identifier and GType.
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2548302"></a><h3>
|
||||
<a name="id2532954"></a><h3>
|
||||
<a name="gimp-type-set-translation-domain"></a>gimp_type_set_translation_domain ()</h3>
|
||||
<a class="indexterm" name="id2548317"></a><pre class="programlisting">void gimp_type_set_translation_domain
|
||||
<a class="indexterm" name="id2532969"></a><pre class="programlisting">void gimp_type_set_translation_domain
|
||||
(GType type,
|
||||
const gchar *domain);</pre>
|
||||
<p>
|
||||
@ -115,14 +115,12 @@ names.</p>
|
||||
<col align="left" valign="top">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>type</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>type</code></em> :</span></td>
|
||||
<td> a <span class="type">GType</span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>domain</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>domain</code></em> :</span></td>
|
||||
<td> a constant string that identifies a translation domain or <code class="literal">NULL</code>
|
||||
</td>
|
||||
</tr>
|
||||
@ -133,9 +131,9 @@ names.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2537113"></a><h3>
|
||||
<a name="id2569746"></a><h3>
|
||||
<a name="gimp-type-get-translation-domain"></a>gimp_type_get_translation_domain ()</h3>
|
||||
<a class="indexterm" name="id2537129"></a><pre class="programlisting">const gchar* gimp_type_get_translation_domain
|
||||
<a class="indexterm" name="id2569761"></a><pre class="programlisting">const gchar* gimp_type_get_translation_domain
|
||||
(GType type);</pre>
|
||||
<p>
|
||||
Retrieves the gettext translation domain identifier that has been
|
||||
@ -149,14 +147,12 @@ 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> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>type</code></em> :</span></td>
|
||||
<td> a <span class="type">GType</span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td> the translation domain associated with <em class="parameter"><code>type</code></em>
|
||||
or <code class="literal">NULL</code> if no domain was set
|
||||
|
||||
@ -169,9 +165,9 @@ or <code class="function">gimp_enum_value_get_name()</code> instead.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2537249"></a><h3>
|
||||
<a name="id2569880"></a><h3>
|
||||
<a name="gimp-enum-set-value-descriptions"></a>gimp_enum_set_value_descriptions ()</h3>
|
||||
<a class="indexterm" name="id2537264"></a><pre class="programlisting">void gimp_enum_set_value_descriptions
|
||||
<a class="indexterm" name="id2569896"></a><pre class="programlisting">void gimp_enum_set_value_descriptions
|
||||
(GType enum_type,
|
||||
const <a href="libgimpbase-gimpbasetypes.html#GimpEnumDesc">GimpEnumDesc</a> *descriptions);</pre>
|
||||
<p>
|
||||
@ -184,14 +180,12 @@ 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> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>enum_type</code></em> :</span></td>
|
||||
<td> a <span class="type">GType</span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>descriptions</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>descriptions</code></em> :</span></td>
|
||||
<td> a <code class="literal">NULL</code> terminated constant static array of <a href="libgimpbase-gimpbasetypes.html#GimpEnumDesc"><span class="type">GimpEnumDesc</span></a>
|
||||
</td>
|
||||
</tr>
|
||||
@ -202,9 +196,9 @@ and help texts for enum values.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2477336"></a><h3>
|
||||
<a name="id2510330"></a><h3>
|
||||
<a name="gimp-enum-get-value-descriptions"></a>gimp_enum_get_value_descriptions ()</h3>
|
||||
<a class="indexterm" name="id2477351"></a><pre class="programlisting">const <a href="libgimpbase-gimpbasetypes.html#GimpEnumDesc">GimpEnumDesc</a>* gimp_enum_get_value_descriptions
|
||||
<a class="indexterm" name="id2510346"></a><pre class="programlisting">const <a 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
|
||||
@ -216,14 +210,12 @@ 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> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>enum_type</code></em> :</span></td>
|
||||
<td> a <span class="type">GType</span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td> a <code class="literal">NULL</code> terminated constant array of <a href="libgimpbase-gimpbasetypes.html#GimpEnumDesc"><span class="type">GimpEnumDesc</span></a>
|
||||
|
||||
</td>
|
||||
@ -235,9 +227,9 @@ and help texts for enum values.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2477445"></a><h3>
|
||||
<a name="id2510439"></a><h3>
|
||||
<a name="gimp-flags-get-value-descriptions"></a>gimp_flags_get_value_descriptions ()</h3>
|
||||
<a class="indexterm" name="id2477460"></a><pre class="programlisting">const <a href="libgimpbase-gimpbasetypes.html#GimpFlagsDesc">GimpFlagsDesc</a>* gimp_flags_get_value_descriptions
|
||||
<a class="indexterm" name="id2510455"></a><pre class="programlisting">const <a 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
|
||||
@ -249,14 +241,12 @@ 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> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>flags_type</code></em> :</span></td>
|
||||
<td> a <span class="type">GType</span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td> a <code class="literal">NULL</code> terminated constant array of <a href="libgimpbase-gimpbasetypes.html#GimpFlagsDesc"><span class="type">GimpFlagsDesc</span></a>
|
||||
|
||||
</td>
|
||||
@ -268,9 +258,9 @@ and help texts for flags values.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2477553"></a><h3>
|
||||
<a name="id2510548"></a><h3>
|
||||
<a name="gimp-flags-set-value-descriptions"></a>gimp_flags_set_value_descriptions ()</h3>
|
||||
<a class="indexterm" name="id2477569"></a><pre class="programlisting">void gimp_flags_set_value_descriptions
|
||||
<a class="indexterm" name="id2510563"></a><pre class="programlisting">void gimp_flags_set_value_descriptions
|
||||
(GType flags_type,
|
||||
const <a href="libgimpbase-gimpbasetypes.html#GimpFlagsDesc">GimpFlagsDesc</a> *descriptions);</pre>
|
||||
<p>
|
||||
@ -283,14 +273,12 @@ 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> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>flags_type</code></em> :</span></td>
|
||||
<td> a <span class="type">GType</span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>descriptions</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>descriptions</code></em> :</span></td>
|
||||
<td> a <code class="literal">NULL</code> terminated constant static array of <a href="libgimpbase-gimpbasetypes.html#GimpFlagsDesc"><span class="type">GimpFlagsDesc</span></a>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@ -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.68.1">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.72.0">
|
||||
<link rel="start" href="index.html" title="GIMP Base Library Reference Manual">
|
||||
<link rel="up" href="libgimpbase.html" title="Part I. GIMP Base Library">
|
||||
<link rel="prev" href="libgimpbase-gimplimits.html" title="gimplimits">
|
||||
@ -21,16 +21,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="#id2565707" class="shortcut">Top</a>
|
||||
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2571674" class="shortcut">Top</a>
|
||||
 | 
|
||||
<a href="#id2535156" class="shortcut">Description</a></nobr></td></tr>
|
||||
<a href="#id2573536" 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="id2565707"></a><span class="refentrytitle">gimpchecks</span>
|
||||
<a name="id2571674"></a><span class="refentrytitle">gimpchecks</span>
|
||||
</h2>
|
||||
<p>gimpchecks — Constants and functions related to rendering checkerboards.</p>
|
||||
</td>
|
||||
@ -52,17 +52,17 @@ void <a href="libgimpbase-gimpchecks.html#gimp-checks-get-shades">gimp_ch
|
||||
</pre>
|
||||
</div>
|
||||
<div class="refsect1" lang="en">
|
||||
<a name="id2535156"></a><h2>Description</h2>
|
||||
<a name="id2573536"></a><h2>Description</h2>
|
||||
<p>
|
||||
Constants and functions related to rendering checkerboards.
|
||||
</p>
|
||||
</div>
|
||||
<div class="refsect1" lang="en">
|
||||
<a name="id2535171"></a><h2>Details</h2>
|
||||
<a name="id2573552"></a><h2>Details</h2>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2535182"></a><h3>
|
||||
<a name="id2573563"></a><h3>
|
||||
<a name="GIMP-CHECK-SIZE:CAPS"></a>GIMP_CHECK_SIZE</h3>
|
||||
<a class="indexterm" name="id2535193"></a><pre class="programlisting">#define GIMP_CHECK_SIZE 8
|
||||
<a class="indexterm" name="id2573574"></a><pre class="programlisting">#define GIMP_CHECK_SIZE 8
|
||||
</pre>
|
||||
<p>
|
||||
The default checkerboard size in pixels. This is configurable in the
|
||||
@ -72,9 +72,9 @@ this constant instead.
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2535212"></a><h3>
|
||||
<a name="id2573592"></a><h3>
|
||||
<a name="GIMP-CHECK-SIZE-SM:CAPS"></a>GIMP_CHECK_SIZE_SM</h3>
|
||||
<a class="indexterm" name="id2535223"></a><pre class="programlisting">#define GIMP_CHECK_SIZE_SM 4
|
||||
<a class="indexterm" name="id2573604"></a><pre class="programlisting">#define GIMP_CHECK_SIZE_SM 4
|
||||
</pre>
|
||||
<p>
|
||||
The default small checkerboard size in pixels.
|
||||
@ -82,9 +82,9 @@ The default small checkerboard size in pixels.
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2559248"></a><h3>
|
||||
<a name="id2564171"></a><h3>
|
||||
<a name="GIMP-CHECK-DARK:CAPS"></a>GIMP_CHECK_DARK</h3>
|
||||
<a class="indexterm" name="id2559260"></a><pre class="programlisting">#define GIMP_CHECK_DARK 0.4
|
||||
<a class="indexterm" name="id2564182"></a><pre class="programlisting">#define GIMP_CHECK_DARK 0.4
|
||||
</pre>
|
||||
<p>
|
||||
The dark gray value for the default checkerboard pattern.
|
||||
@ -92,9 +92,9 @@ The dark gray value for the default checkerboard pattern.
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2559276"></a><h3>
|
||||
<a name="id2564198"></a><h3>
|
||||
<a name="GIMP-CHECK-LIGHT:CAPS"></a>GIMP_CHECK_LIGHT</h3>
|
||||
<a class="indexterm" name="id2559288"></a><pre class="programlisting">#define GIMP_CHECK_LIGHT 0.6
|
||||
<a class="indexterm" name="id2564210"></a><pre class="programlisting">#define GIMP_CHECK_LIGHT 0.6
|
||||
</pre>
|
||||
<p>
|
||||
The light gray value for the default checkerboard pattern.
|
||||
@ -102,9 +102,9 @@ The light gray value for the default checkerboard pattern.
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2559303"></a><h3>
|
||||
<a name="id2564226"></a><h3>
|
||||
<a name="gimp-checks-get-shades"></a>gimp_checks_get_shades ()</h3>
|
||||
<a class="indexterm" name="id2559317"></a><pre class="programlisting">void gimp_checks_get_shades (<a href="libgimpbase-gimpbaseenums.html#GimpCheckType">GimpCheckType</a> type,
|
||||
<a class="indexterm" name="id2564240"></a><pre class="programlisting">void gimp_checks_get_shades (<a href="libgimpbase-gimpbaseenums.html#GimpCheckType">GimpCheckType</a> type,
|
||||
guchar *light,
|
||||
guchar *dark);</pre>
|
||||
<p>
|
||||
@ -117,20 +117,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> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>type</code></em> :</span></td>
|
||||
<td> the checkerboard type
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>light</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>light</code></em> :</span></td>
|
||||
<td> return location for the light shade
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>dark</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>dark</code></em> :</span></td>
|
||||
<td> return location for the dark shade
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@ -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.68.1">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.72.0">
|
||||
<link rel="start" href="index.html" title="GIMP Base Library Reference Manual">
|
||||
<link rel="up" href="libgimpbase.html" title="Part I. GIMP Base Library">
|
||||
<link rel="prev" href="libgimpbase-gimpchecks.html" title="gimpchecks">
|
||||
@ -21,16 +21,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="#id2531608" class="shortcut">Top</a>
|
||||
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2584472" class="shortcut">Top</a>
|
||||
 | 
|
||||
<a href="#id2530388" class="shortcut">Description</a></nobr></td></tr>
|
||||
<a href="#id2599196" 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="id2531608"></a><span class="refentrytitle">gimpdatafiles</span>
|
||||
<a name="id2584472"></a><span class="refentrytitle">gimpdatafiles</span>
|
||||
</h2>
|
||||
<p>gimpdatafiles — Functions to handle GIMP data files.</p>
|
||||
</td>
|
||||
@ -54,17 +54,17 @@ void <a href="libgimpbase-gimpdatafiles.html#gimp-datafiles-read-director
|
||||
</pre>
|
||||
</div>
|
||||
<div class="refsect1" lang="en">
|
||||
<a name="id2530388"></a><h2>Description</h2>
|
||||
<a name="id2599196"></a><h2>Description</h2>
|
||||
<p>
|
||||
Functions to handle GIMP data files.
|
||||
</p>
|
||||
</div>
|
||||
<div class="refsect1" lang="en">
|
||||
<a name="id2530403"></a><h2>Details</h2>
|
||||
<a name="id2599211"></a><h2>Details</h2>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2530414"></a><h3>
|
||||
<a name="id2599222"></a><h3>
|
||||
<a name="GimpDatafileData"></a>GimpDatafileData</h3>
|
||||
<a class="indexterm" name="id2530426"></a><pre class="programlisting">typedef struct {
|
||||
<a class="indexterm" name="id2599234"></a><pre class="programlisting">typedef struct {
|
||||
const gchar *filename;
|
||||
const gchar *dirname;
|
||||
const gchar *basename;
|
||||
@ -80,9 +80,9 @@ Functions to handle GIMP data files.
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2550950"></a><h3>
|
||||
<a name="id2576580"></a><h3>
|
||||
<a name="GimpDatafileLoaderFunc"></a>GimpDatafileLoaderFunc ()</h3>
|
||||
<a class="indexterm" name="id2550961"></a><pre class="programlisting">void (*GimpDatafileLoaderFunc) (const <a href="libgimpbase-gimpdatafiles.html#GimpDatafileData">GimpDatafileData</a> *file_data,
|
||||
<a class="indexterm" name="id2576591"></a><pre class="programlisting">void (*GimpDatafileLoaderFunc) (const <a href="libgimpbase-gimpdatafiles.html#GimpDatafileData">GimpDatafileData</a> *file_data,
|
||||
gpointer user_data);</pre>
|
||||
<p>
|
||||
|
||||
@ -91,14 +91,12 @@ Functions to handle GIMP data files.
|
||||
<col align="left" valign="top">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>file_data</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>file_data</code></em> :</span></td>
|
||||
<td>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>user_data</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>user_data</code></em> :</span></td>
|
||||
<td>
|
||||
|
||||
|
||||
@ -109,9 +107,9 @@ Functions to handle GIMP data files.
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2551028"></a><h3>
|
||||
<a name="id2576658"></a><h3>
|
||||
<a name="gimp-datafiles-check-extension"></a>gimp_datafiles_check_extension ()</h3>
|
||||
<a class="indexterm" name="id2551039"></a><pre class="programlisting">gboolean gimp_datafiles_check_extension (const gchar *filename,
|
||||
<a class="indexterm" name="id2576669"></a><pre class="programlisting">gboolean gimp_datafiles_check_extension (const gchar *filename,
|
||||
const gchar *extension);</pre>
|
||||
<p>
|
||||
|
||||
@ -120,20 +118,17 @@ Functions to handle GIMP data files.
|
||||
<col align="left" valign="top">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>filename</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>filename</code></em> :</span></td>
|
||||
<td>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>extension</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>extension</code></em> :</span></td>
|
||||
<td>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td>
|
||||
|
||||
|
||||
@ -144,9 +139,9 @@ Functions to handle GIMP data files.
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2545090"></a><h3>
|
||||
<a name="id2556360"></a><h3>
|
||||
<a name="gimp-datafiles-read-directories"></a>gimp_datafiles_read_directories ()</h3>
|
||||
<a class="indexterm" name="id2545101"></a><pre class="programlisting">void gimp_datafiles_read_directories (const gchar *path_str,
|
||||
<a class="indexterm" name="id2556372"></a><pre class="programlisting">void gimp_datafiles_read_directories (const gchar *path_str,
|
||||
GFileTest flags,
|
||||
<a href="libgimpbase-gimpdatafiles.html#GimpDatafileLoaderFunc">GimpDatafileLoaderFunc</a> loader_func,
|
||||
gpointer user_data);</pre>
|
||||
@ -157,26 +152,22 @@ Functions to handle GIMP data files.
|
||||
<col align="left" valign="top">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>path_str</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>path_str</code></em> :</span></td>
|
||||
<td>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>flags</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>flags</code></em> :</span></td>
|
||||
<td>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>loader_func</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>loader_func</code></em> :</span></td>
|
||||
<td>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>user_data</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>user_data</code></em> :</span></td>
|
||||
<td>
|
||||
|
||||
|
||||
|
||||
@ -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.68.1">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.72.0">
|
||||
<link rel="start" href="index.html" title="GIMP Base Library Reference Manual">
|
||||
<link rel="up" href="libgimpbase.html" title="Part I. GIMP Base Library">
|
||||
<link rel="prev" href="libgimpbase-gimpdatafiles.html" title="gimpdatafiles">
|
||||
@ -21,16 +21,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="#id2548073" class="shortcut">Top</a>
|
||||
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2576947" class="shortcut">Top</a>
|
||||
 | 
|
||||
<a href="#id2548492" class="shortcut">Description</a></nobr></td></tr>
|
||||
<a href="#id2589620" 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="id2548073"></a><span class="refentrytitle">gimpenv</span>
|
||||
<a name="id2576947"></a><span class="refentrytitle">gimpenv</span>
|
||||
</h2>
|
||||
<p>gimpenv — Functions to access the GIMP environment.</p>
|
||||
</td>
|
||||
@ -59,18 +59,18 @@ gchar* <a href="libgimpbase-gimpenv.html#gimp-path-get-user-writable-dir">g
|
||||
</pre>
|
||||
</div>
|
||||
<div class="refsect1" lang="en">
|
||||
<a name="id2548492"></a><h2>Description</h2>
|
||||
<a name="id2589620"></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="id2548509"></a><h2>Details</h2>
|
||||
<a name="id2589637"></a><h2>Details</h2>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2548520"></a><h3>
|
||||
<a name="id2589648"></a><h3>
|
||||
<a name="gimp-directory"></a>gimp_directory ()</h3>
|
||||
<a class="indexterm" name="id2548532"></a><pre class="programlisting">const gchar* gimp_directory (void);</pre>
|
||||
<a class="indexterm" name="id2589660"></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
|
||||
@ -98,8 +98,7 @@ is on Windows).</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> :</span></td>
|
||||
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td> The user-specific GIMP settings directory.
|
||||
</td>
|
||||
</tr></tbody>
|
||||
@ -107,9 +106,9 @@ is on Windows).</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2548622"></a><h3>
|
||||
<a name="id2589750"></a><h3>
|
||||
<a name="gimp-personal-rc-file"></a>gimp_personal_rc_file ()</h3>
|
||||
<a class="indexterm" name="id2548634"></a><pre class="programlisting">gchar* gimp_personal_rc_file (const gchar *basename);</pre>
|
||||
<a class="indexterm" name="id2589761"></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>
|
||||
@ -125,14 +124,12 @@ is on Windows).</p>
|
||||
<col align="left" valign="top">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>basename</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>basename</code></em> :</span></td>
|
||||
<td> The basename of a rc_file.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td> The name of a file in the user-specific GIMP settings directory.
|
||||
</td>
|
||||
</tr>
|
||||
@ -141,9 +138,9 @@ is on Windows).</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2566085"></a><h3>
|
||||
<a name="id2574614"></a><h3>
|
||||
<a name="gimp-data-directory"></a>gimp_data_directory ()</h3>
|
||||
<a class="indexterm" name="id2566098"></a><pre class="programlisting">const gchar* gimp_data_directory (void);</pre>
|
||||
<a class="indexterm" name="id2574627"></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
|
||||
@ -162,8 +159,7 @@ is on Windows).</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> :</span></td>
|
||||
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td> The top directory for GIMP data.
|
||||
</td>
|
||||
</tr></tbody>
|
||||
@ -171,9 +167,9 @@ is on Windows).</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2566159"></a><h3>
|
||||
<a name="id2574687"></a><h3>
|
||||
<a name="gimp-locale-directory"></a>gimp_locale_directory ()</h3>
|
||||
<a class="indexterm" name="id2566170"></a><pre class="programlisting">const gchar* gimp_locale_directory (void);</pre>
|
||||
<a class="indexterm" name="id2574699"></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
|
||||
@ -192,8 +188,7 @@ is on Windows).</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> :</span></td>
|
||||
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td> The top directory for GIMP locale files.
|
||||
</td>
|
||||
</tr></tbody>
|
||||
@ -201,9 +196,9 @@ is on Windows).</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2566232"></a><h3>
|
||||
<a name="id2574760"></a><h3>
|
||||
<a name="gimp-plug-in-directory"></a>gimp_plug_in_directory ()</h3>
|
||||
<a class="indexterm" name="id2566243"></a><pre class="programlisting">const gchar* gimp_plug_in_directory (void);</pre>
|
||||
<a class="indexterm" name="id2574772"></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
|
||||
@ -222,8 +217,7 @@ is on Windows).</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> :</span></td>
|
||||
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td> The top directory for GIMP plug_ins and modules.
|
||||
</td>
|
||||
</tr></tbody>
|
||||
@ -231,9 +225,9 @@ is on Windows).</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2527459"></a><h3>
|
||||
<a name="id2580726"></a><h3>
|
||||
<a name="gimp-sysconf-directory"></a>gimp_sysconf_directory ()</h3>
|
||||
<a class="indexterm" name="id2527470"></a><pre class="programlisting">const gchar* gimp_sysconf_directory (void);</pre>
|
||||
<a class="indexterm" name="id2580738"></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
|
||||
@ -252,8 +246,7 @@ is on Windows).</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> :</span></td>
|
||||
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td> The top directory for GIMP config files.
|
||||
</td>
|
||||
</tr></tbody>
|
||||
@ -261,9 +254,9 @@ is on Windows).</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2527533"></a><h3>
|
||||
<a name="id2580800"></a><h3>
|
||||
<a name="gimp-gtkrc"></a>gimp_gtkrc ()</h3>
|
||||
<a class="indexterm" name="id2527545"></a><pre class="programlisting">const gchar* gimp_gtkrc (void);</pre>
|
||||
<a class="indexterm" name="id2580812"></a><pre class="programlisting">const gchar* gimp_gtkrc (void);</pre>
|
||||
<p>
|
||||
Returns the name of the GIMP's application-specific gtkrc file.
|
||||
</p>
|
||||
@ -278,8 +271,7 @@ is on Windows).</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> :</span></td>
|
||||
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td> The name of the GIMP's application-specific gtkrc file.
|
||||
</td>
|
||||
</tr></tbody>
|
||||
@ -287,9 +279,9 @@ is on Windows).</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2527603"></a><h3>
|
||||
<a name="id2580871"></a><h3>
|
||||
<a name="gimp-path-parse"></a>gimp_path_parse ()</h3>
|
||||
<a class="indexterm" name="id2527616"></a><pre class="programlisting">GList* gimp_path_parse (const gchar *path,
|
||||
<a class="indexterm" name="id2580884"></a><pre class="programlisting">GList* gimp_path_parse (const gchar *path,
|
||||
gint max_paths,
|
||||
gboolean check,
|
||||
GList **check_failed);</pre>
|
||||
@ -302,33 +294,28 @@ is on Windows).</p>
|
||||
<col align="left" valign="top">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>path</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>path</code></em> :</span></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> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>max_paths</code></em> :</span></td>
|
||||
<td> The maximum number of directories to return.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>check</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>check</code></em> :</span></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> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>check_failed</code></em> :</span></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> :</span></td>
|
||||
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td> A <span class="type">GList</span> of all directories in <em class="parameter"><code>path</code></em>.
|
||||
</td>
|
||||
</tr>
|
||||
@ -337,9 +324,9 @@ is on Windows).</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2567863"></a><h3>
|
||||
<a name="id2600848"></a><h3>
|
||||
<a name="gimp-path-to-str"></a>gimp_path_to_str ()</h3>
|
||||
<a class="indexterm" name="id2567873"></a><pre class="programlisting">gchar* gimp_path_to_str (GList *path);</pre>
|
||||
<a class="indexterm" name="id2600858"></a><pre class="programlisting">gchar* gimp_path_to_str (GList *path);</pre>
|
||||
<p>
|
||||
</p>
|
||||
<p>
|
||||
@ -349,14 +336,12 @@ is on Windows).</p>
|
||||
<col align="left" valign="top">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>path</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>path</code></em> :</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>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td> A searchpath string separated by <span class="type">G_SEARCHPATH_SEPARATOR</span>.
|
||||
</td>
|
||||
</tr>
|
||||
@ -365,9 +350,9 @@ is on Windows).</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2567943"></a><h3>
|
||||
<a name="id2600928"></a><h3>
|
||||
<a name="gimp-path-free"></a>gimp_path_free ()</h3>
|
||||
<a class="indexterm" name="id2567956"></a><pre class="programlisting">void gimp_path_free (GList *path);</pre>
|
||||
<a class="indexterm" name="id2600941"></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>
|
||||
@ -377,8 +362,7 @@ 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> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>path</code></em> :</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>
|
||||
</tr></tbody>
|
||||
@ -386,9 +370,9 @@ it contains.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2568017"></a><h3>
|
||||
<a name="id2601002"></a><h3>
|
||||
<a name="gimp-path-get-user-writable-dir"></a>gimp_path_get_user_writable_dir ()</h3>
|
||||
<a class="indexterm" name="id2568030"></a><pre class="programlisting">gchar* gimp_path_get_user_writable_dir (GList *path);</pre>
|
||||
<a class="indexterm" name="id2601015"></a><pre class="programlisting">gchar* gimp_path_get_user_writable_dir (GList *path);</pre>
|
||||
<p>
|
||||
Note that you have to <code class="function">g_free()</code> the returned string.</p>
|
||||
<p>
|
||||
@ -398,14 +382,12 @@ Note that you have to <code class="function">g_free()</code> the returned string
|
||||
<col align="left" valign="top">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>path</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>path</code></em> :</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>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td> The first directory in <em class="parameter"><code>path</code></em> where the user has write permission.
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@ -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.68.1">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.72.0">
|
||||
<link rel="start" href="index.html" title="GIMP Base Library Reference Manual">
|
||||
<link rel="up" href="libgimpbase.html" title="Part I. GIMP Base Library">
|
||||
<link rel="prev" href="libgimpbase-gimpversion.html" title="gimpversion">
|
||||
@ -21,16 +21,16 @@
|
||||
<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="#id2541482" class="shortcut">Top</a>
|
||||
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2586172" class="shortcut">Top</a>
|
||||
 | 
|
||||
<a href="#id2552827" class="shortcut">Description</a></nobr></td></tr>
|
||||
<a href="#id2584346" 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="id2541482"></a><span class="refentrytitle">gimplimits</span>
|
||||
<a name="id2586172"></a><span class="refentrytitle">gimplimits</span>
|
||||
</h2>
|
||||
<p>gimplimits — Boundaries of some GIMP data types and some global constants.</p>
|
||||
</td>
|
||||
@ -50,18 +50,18 @@
|
||||
</pre>
|
||||
</div>
|
||||
<div class="refsect1" lang="en">
|
||||
<a name="id2552827"></a><h2>Description</h2>
|
||||
<a name="id2584346"></a><h2>Description</h2>
|
||||
<p>
|
||||
Boundaries of some GIMP data types and some global constants.
|
||||
|
||||
</p>
|
||||
</div>
|
||||
<div class="refsect1" lang="en">
|
||||
<a name="id2552842"></a><h2>Details</h2>
|
||||
<a name="id2584363"></a><h2>Details</h2>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2552853"></a><h3>
|
||||
<a name="id2584374"></a><h3>
|
||||
<a name="GIMP-MIN-IMAGE-SIZE:CAPS"></a>GIMP_MIN_IMAGE_SIZE</h3>
|
||||
<a class="indexterm" name="id2552865"></a><pre class="programlisting">#define GIMP_MIN_IMAGE_SIZE 1
|
||||
<a class="indexterm" name="id2584385"></a><pre class="programlisting">#define GIMP_MIN_IMAGE_SIZE 1
|
||||
</pre>
|
||||
<p>
|
||||
The minimum width and height of a GIMP image in pixels.
|
||||
@ -69,9 +69,9 @@ The minimum width and height of a GIMP image in pixels.
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2552881"></a><h3>
|
||||
<a name="id2584402"></a><h3>
|
||||
<a name="GIMP-MAX-IMAGE-SIZE:CAPS"></a>GIMP_MAX_IMAGE_SIZE</h3>
|
||||
<a class="indexterm" name="id2552893"></a><pre class="programlisting">#define GIMP_MAX_IMAGE_SIZE 262144 /* 2^18 */
|
||||
<a class="indexterm" name="id2563710"></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
|
||||
@ -81,9 +81,9 @@ sizes is needed; for example to give a spin button an upper limit.
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2554705"></a><h3>
|
||||
<a name="id2563729"></a><h3>
|
||||
<a name="GIMP-MIN-RESOLUTION:CAPS"></a>GIMP_MIN_RESOLUTION</h3>
|
||||
<a class="indexterm" name="id2554717"></a><pre class="programlisting">#define GIMP_MIN_RESOLUTION 5e-3 /* shouldn't display as 0.000 */
|
||||
<a class="indexterm" name="id2563741"></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
|
||||
@ -94,9 +94,9 @@ this value.
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2554737"></a><h3>
|
||||
<a name="id2563761"></a><h3>
|
||||
<a name="GIMP-MAX-RESOLUTION:CAPS"></a>GIMP_MAX_RESOLUTION</h3>
|
||||
<a class="indexterm" name="id2554749"></a><pre class="programlisting">#define GIMP_MAX_RESOLUTION 65536.0
|
||||
<a class="indexterm" name="id2563773"></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
|
||||
@ -107,9 +107,9 @@ this value.
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2554768"></a><h3>
|
||||
<a name="id2563792"></a><h3>
|
||||
<a name="GIMP-MAX-MEMSIZE:CAPS"></a>GIMP_MAX_MEMSIZE</h3>
|
||||
<a class="indexterm" name="id2554779"></a><pre class="programlisting">#define GIMP_MAX_MEMSIZE ((guint64) 1 << 42) /* 4 terabyte;
|
||||
<a class="indexterm" name="id2563803"></a><pre class="programlisting">#define GIMP_MAX_MEMSIZE ((guint64) 1 << 42) /* 4 terabyte;
|
||||
</pre>
|
||||
<p>
|
||||
A large but arbitrary value that can be used when an upper limit for a
|
||||
|
||||
@ -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.68.1">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.72.0">
|
||||
<link rel="start" href="index.html" title="GIMP Base Library Reference Manual">
|
||||
<link rel="up" href="libgimpbase.html" title="Part I. GIMP Base Library">
|
||||
<link rel="prev" href="libgimpbase-gimpenv.html" title="gimpenv">
|
||||
@ -21,16 +21,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="#id2561991" class="shortcut">Top</a>
|
||||
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2569229" class="shortcut">Top</a>
|
||||
 | 
|
||||
<a href="#id2543707" class="shortcut">Description</a></nobr></td></tr>
|
||||
<a href="#id2578785" 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="id2561991"></a><span class="refentrytitle">gimpmemsize</span>
|
||||
<a name="id2569229"></a><span class="refentrytitle">gimpmemsize</span>
|
||||
</h2>
|
||||
<p>gimpmemsize — Functions to (de)serialize a given memory size.</p>
|
||||
</td>
|
||||
@ -52,17 +52,17 @@ gchar* <a href="libgimpbase-gimpmemsize.html#gimp-memsize-to-string">gimp_m
|
||||
</pre>
|
||||
</div>
|
||||
<div class="refsect1" lang="en">
|
||||
<a name="id2543707"></a><h2>Description</h2>
|
||||
<a name="id2578785"></a><h2>Description</h2>
|
||||
<p>
|
||||
Functions to (de)serialize a given memory size.
|
||||
</p>
|
||||
</div>
|
||||
<div class="refsect1" lang="en">
|
||||
<a name="id2543723"></a><h2>Details</h2>
|
||||
<a name="id2578801"></a><h2>Details</h2>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2543734"></a><h3>
|
||||
<a name="id2578812"></a><h3>
|
||||
<a name="gimp-memsize-serialize"></a>gimp_memsize_serialize ()</h3>
|
||||
<a class="indexterm" name="id2543747"></a><pre class="programlisting">gchar* gimp_memsize_serialize (guint64 memsize);</pre>
|
||||
<a class="indexterm" name="id2578826"></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
|
||||
@ -75,14 +75,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> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>memsize</code></em> :</span></td>
|
||||
<td> memory size in bytes
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td> A newly allocated string representation of <em class="parameter"><code>memsize</code></em>.
|
||||
|
||||
</td>
|
||||
@ -94,9 +92,9 @@ nice human-readable string please use <a href="libgimpbase-gimpmemsize.html#gimp
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2544691"></a><h3>
|
||||
<a name="id2563332"></a><h3>
|
||||
<a name="gimp-memsize-deserialize"></a>gimp_memsize_deserialize ()</h3>
|
||||
<a class="indexterm" name="id2544704"></a><pre class="programlisting">gboolean gimp_memsize_deserialize (const gchar *string,
|
||||
<a class="indexterm" name="id2563345"></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
|
||||
@ -108,20 +106,17 @@ 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> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>string</code></em> :</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>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>memsize</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>memsize</code></em> :</span></td>
|
||||
<td> return location for memory size in bytes
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></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.
|
||||
|
||||
@ -134,9 +129,9 @@ Parses a string representation of a memory size as returned by
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2555586"></a><h3>
|
||||
<a name="id2564959"></a><h3>
|
||||
<a name="gimp-memsize-to-string"></a>gimp_memsize_to_string ()</h3>
|
||||
<a class="indexterm" name="id2555597"></a><pre class="programlisting">gchar* gimp_memsize_to_string (guint64 memsize);</pre>
|
||||
<a class="indexterm" name="id2564970"></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
|
||||
@ -149,14 +144,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> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>memsize</code></em> :</span></td>
|
||||
<td> A memory size in bytes.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td> A newly allocated human-readable, translated string.
|
||||
</td>
|
||||
</tr>
|
||||
@ -165,9 +158,9 @@ becomes "4.4 KB" and so on.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2555667"></a><h3>
|
||||
<a name="id2565039"></a><h3>
|
||||
<a name="GIMP-TYPE-MEMSIZE:CAPS"></a>GIMP_TYPE_MEMSIZE</h3>
|
||||
<a class="indexterm" name="id2555678"></a><pre class="programlisting">#define GIMP_TYPE_MEMSIZE (gimp_memsize_get_type ())
|
||||
<a class="indexterm" name="id2565050"></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 <span class="type">GType</span> derived from <span class="type">G_TYPE_UINT64</span>.
|
||||
@ -175,9 +168,9 @@ becomes "4.4 KB" and so on.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2555715"></a><h3>
|
||||
<a name="id2565088"></a><h3>
|
||||
<a name="GIMP-VALUE-HOLDS-MEMSIZE:CAPS"></a>GIMP_VALUE_HOLDS_MEMSIZE()</h3>
|
||||
<a class="indexterm" name="id2555727"></a><pre class="programlisting">#define GIMP_VALUE_HOLDS_MEMSIZE(value) (G_TYPE_CHECK_VALUE_TYPE ((value), GIMP_TYPE_MEMSIZE))
|
||||
<a class="indexterm" name="id2565100"></a><pre class="programlisting">#define GIMP_VALUE_HOLDS_MEMSIZE(value) (G_TYPE_CHECK_VALUE_TYPE ((value), GIMP_TYPE_MEMSIZE))
|
||||
</pre>
|
||||
<p>
|
||||
|
||||
@ -185,8 +178,7 @@ becomes "4.4 KB" and so on.</p>
|
||||
<div class="variablelist"><table border="0">
|
||||
<col align="left" valign="top">
|
||||
<tbody><tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>value</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>value</code></em> :</span></td>
|
||||
<td>
|
||||
|
||||
|
||||
|
||||
@ -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.68.1">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.72.0">
|
||||
<link rel="start" href="index.html" title="GIMP Base Library Reference Manual">
|
||||
<link rel="up" href="libgimpbase.html" title="Part I. GIMP Base Library">
|
||||
<link rel="prev" href="libgimpbase-gimpmemsize.html" title="gimpmemsize">
|
||||
@ -21,16 +21,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="#id2543534" class="shortcut">Top</a>
|
||||
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2590100" class="shortcut">Top</a>
|
||||
 | 
|
||||
<a href="#id2565550" class="shortcut">Description</a></nobr></td></tr>
|
||||
<a href="#id2598157" 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="id2543534"></a><span class="refentrytitle">gimpparasite</span>
|
||||
<a name="id2590100"></a><span class="refentrytitle">gimpparasite</span>
|
||||
</h2>
|
||||
<p>gimpparasite — Arbitrary pieces of data which can be attached to various GIMP objects.</p>
|
||||
</td>
|
||||
@ -72,18 +72,18 @@ glong <a href="libgimpbase-gimpparasite.html#gimp-parasite-data-size">gimp
|
||||
</pre>
|
||||
</div>
|
||||
<div class="refsect1" lang="en">
|
||||
<a name="id2565550"></a><h2>Description</h2>
|
||||
<a name="id2598157"></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="id2567190"></a><h2>Details</h2>
|
||||
<a name="id2557769"></a><h2>Details</h2>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2567201"></a><h3>
|
||||
<a name="id2557780"></a><h3>
|
||||
<a name="GimpParasite"></a>GimpParasite</h3>
|
||||
<a class="indexterm" name="id2567213"></a><pre class="programlisting">typedef struct {
|
||||
<a class="indexterm" name="id2557792"></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 */
|
||||
@ -97,9 +97,9 @@ Arbitrary pieces of data which can be attached to various GIMP objects.
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2567235"></a><h3>
|
||||
<a name="id2557814"></a><h3>
|
||||
<a name="gimp-parasite-new"></a>gimp_parasite_new ()</h3>
|
||||
<a class="indexterm" name="id2567248"></a><pre class="programlisting"><a href="libgimpbase-gimpparasite.html#GimpParasite">GimpParasite</a>* gimp_parasite_new (const gchar *name,
|
||||
<a class="indexterm" name="id2557827"></a><pre class="programlisting"><a href="libgimpbase-gimpparasite.html#GimpParasite">GimpParasite</a>* gimp_parasite_new (const gchar *name,
|
||||
guint32 flags,
|
||||
guint32 size,
|
||||
gconstpointer data);</pre>
|
||||
@ -110,32 +110,27 @@ Arbitrary pieces of data which can be attached to various GIMP objects.
|
||||
<col align="left" valign="top">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>name</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>name</code></em> :</span></td>
|
||||
<td>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>flags</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>flags</code></em> :</span></td>
|
||||
<td>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>size</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>size</code></em> :</span></td>
|
||||
<td>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>data</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>data</code></em> :</span></td>
|
||||
<td>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td>
|
||||
|
||||
|
||||
@ -146,17 +141,16 @@ Arbitrary pieces of data which can be attached to various GIMP objects.
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2567367"></a><h3>
|
||||
<a name="id2557947"></a><h3>
|
||||
<a name="gimp-parasite-free"></a>gimp_parasite_free ()</h3>
|
||||
<a class="indexterm" name="id2567379"></a><pre class="programlisting">void gimp_parasite_free (<a href="libgimpbase-gimpparasite.html#GimpParasite">GimpParasite</a> *parasite);</pre>
|
||||
<a class="indexterm" name="id2557959"></a><pre class="programlisting">void gimp_parasite_free (<a 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> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>parasite</code></em> :</span></td>
|
||||
<td>
|
||||
|
||||
|
||||
@ -166,9 +160,9 @@ Arbitrary pieces of data which can be attached to various GIMP objects.
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2567425"></a><h3>
|
||||
<a name="id2558005"></a><h3>
|
||||
<a name="gimp-parasite-copy"></a>gimp_parasite_copy ()</h3>
|
||||
<a class="indexterm" name="id2567437"></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="id2558017"></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>
|
||||
<p>
|
||||
|
||||
</p>
|
||||
@ -176,14 +170,12 @@ Arbitrary pieces of data which can be attached to various GIMP objects.
|
||||
<col align="left" valign="top">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>parasite</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>parasite</code></em> :</span></td>
|
||||
<td>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td>
|
||||
|
||||
|
||||
@ -194,9 +186,9 @@ Arbitrary pieces of data which can be attached to various GIMP objects.
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2566843"></a><h3>
|
||||
<a name="id2591973"></a><h3>
|
||||
<a name="gimp-parasite-compare"></a>gimp_parasite_compare ()</h3>
|
||||
<a class="indexterm" name="id2566854"></a><pre class="programlisting">gboolean gimp_parasite_compare (const <a href="libgimpbase-gimpparasite.html#GimpParasite">GimpParasite</a> *a,
|
||||
<a class="indexterm" name="id2591984"></a><pre class="programlisting">gboolean gimp_parasite_compare (const <a href="libgimpbase-gimpparasite.html#GimpParasite">GimpParasite</a> *a,
|
||||
const <a href="libgimpbase-gimpparasite.html#GimpParasite">GimpParasite</a> *b);</pre>
|
||||
<p>
|
||||
|
||||
@ -205,20 +197,17 @@ Arbitrary pieces of data which can be attached to various GIMP objects.
|
||||
<col align="left" valign="top">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>a</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>a</code></em> :</span></td>
|
||||
<td>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>b</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>b</code></em> :</span></td>
|
||||
<td>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td>
|
||||
|
||||
|
||||
@ -229,9 +218,9 @@ Arbitrary pieces of data which can be attached to various GIMP objects.
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2566932"></a><h3>
|
||||
<a name="id2592062"></a><h3>
|
||||
<a name="gimp-parasite-is-type"></a>gimp_parasite_is_type ()</h3>
|
||||
<a class="indexterm" name="id2566943"></a><pre class="programlisting">gboolean gimp_parasite_is_type (const <a href="libgimpbase-gimpparasite.html#GimpParasite">GimpParasite</a> *parasite,
|
||||
<a class="indexterm" name="id2592073"></a><pre class="programlisting">gboolean gimp_parasite_is_type (const <a href="libgimpbase-gimpparasite.html#GimpParasite">GimpParasite</a> *parasite,
|
||||
const gchar *name);</pre>
|
||||
<p>
|
||||
|
||||
@ -240,20 +229,17 @@ Arbitrary pieces of data which can be attached to various GIMP objects.
|
||||
<col align="left" valign="top">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>parasite</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>parasite</code></em> :</span></td>
|
||||
<td>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>name</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>name</code></em> :</span></td>
|
||||
<td>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td>
|
||||
|
||||
|
||||
@ -264,9 +250,9 @@ Arbitrary pieces of data which can be attached to various GIMP objects.
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2567020"></a><h3>
|
||||
<a name="id2592151"></a><h3>
|
||||
<a name="gimp-parasite-is-persistent"></a>gimp_parasite_is_persistent ()</h3>
|
||||
<a class="indexterm" name="id2567031"></a><pre class="programlisting">gboolean gimp_parasite_is_persistent (const <a href="libgimpbase-gimpparasite.html#GimpParasite">GimpParasite</a> *parasite);</pre>
|
||||
<a class="indexterm" name="id2592162"></a><pre class="programlisting">gboolean gimp_parasite_is_persistent (const <a href="libgimpbase-gimpparasite.html#GimpParasite">GimpParasite</a> *parasite);</pre>
|
||||
<p>
|
||||
|
||||
</p>
|
||||
@ -274,14 +260,12 @@ Arbitrary pieces of data which can be attached to various GIMP objects.
|
||||
<col align="left" valign="top">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>parasite</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>parasite</code></em> :</span></td>
|
||||
<td>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td>
|
||||
|
||||
|
||||
@ -292,9 +276,9 @@ Arbitrary pieces of data which can be attached to various GIMP objects.
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2570159"></a><h3>
|
||||
<a name="id2603146"></a><h3>
|
||||
<a name="gimp-parasite-is-undoable"></a>gimp_parasite_is_undoable ()</h3>
|
||||
<a class="indexterm" name="id2570170"></a><pre class="programlisting">gboolean gimp_parasite_is_undoable (const <a href="libgimpbase-gimpparasite.html#GimpParasite">GimpParasite</a> *parasite);</pre>
|
||||
<a class="indexterm" name="id2603157"></a><pre class="programlisting">gboolean gimp_parasite_is_undoable (const <a href="libgimpbase-gimpparasite.html#GimpParasite">GimpParasite</a> *parasite);</pre>
|
||||
<p>
|
||||
|
||||
</p>
|
||||
@ -302,14 +286,12 @@ Arbitrary pieces of data which can be attached to various GIMP objects.
|
||||
<col align="left" valign="top">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>parasite</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>parasite</code></em> :</span></td>
|
||||
<td>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td>
|
||||
|
||||
|
||||
@ -320,9 +302,9 @@ Arbitrary pieces of data which can be attached to various GIMP objects.
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2570220"></a><h3>
|
||||
<a name="id2603207"></a><h3>
|
||||
<a name="gimp-parasite-has-flag"></a>gimp_parasite_has_flag ()</h3>
|
||||
<a class="indexterm" name="id2570230"></a><pre class="programlisting">gboolean gimp_parasite_has_flag (const <a href="libgimpbase-gimpparasite.html#GimpParasite">GimpParasite</a> *parasite,
|
||||
<a class="indexterm" name="id2603217"></a><pre class="programlisting">gboolean gimp_parasite_has_flag (const <a href="libgimpbase-gimpparasite.html#GimpParasite">GimpParasite</a> *parasite,
|
||||
gulong flag);</pre>
|
||||
<p>
|
||||
|
||||
@ -331,20 +313,17 @@ Arbitrary pieces of data which can be attached to various GIMP objects.
|
||||
<col align="left" valign="top">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>parasite</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>parasite</code></em> :</span></td>
|
||||
<td>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>flag</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>flag</code></em> :</span></td>
|
||||
<td>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td>
|
||||
|
||||
|
||||
@ -355,9 +334,9 @@ Arbitrary pieces of data which can be attached to various GIMP objects.
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2570304"></a><h3>
|
||||
<a name="id2603290"></a><h3>
|
||||
<a name="gimp-parasite-flags"></a>gimp_parasite_flags ()</h3>
|
||||
<a class="indexterm" name="id2570317"></a><pre class="programlisting">gulong gimp_parasite_flags (const <a href="libgimpbase-gimpparasite.html#GimpParasite">GimpParasite</a> *parasite);</pre>
|
||||
<a class="indexterm" name="id2603302"></a><pre class="programlisting">gulong gimp_parasite_flags (const <a href="libgimpbase-gimpparasite.html#GimpParasite">GimpParasite</a> *parasite);</pre>
|
||||
<p>
|
||||
|
||||
</p>
|
||||
@ -365,14 +344,12 @@ Arbitrary pieces of data which can be attached to various GIMP objects.
|
||||
<col align="left" valign="top">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>parasite</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>parasite</code></em> :</span></td>
|
||||
<td>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td>
|
||||
|
||||
|
||||
@ -383,9 +360,9 @@ Arbitrary pieces of data which can be attached to various GIMP objects.
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2570373"></a><h3>
|
||||
<a name="id2603359"></a><h3>
|
||||
<a name="gimp-parasite-name"></a>gimp_parasite_name ()</h3>
|
||||
<a class="indexterm" name="id2570386"></a><pre class="programlisting">const gchar* gimp_parasite_name (const <a href="libgimpbase-gimpparasite.html#GimpParasite">GimpParasite</a> *parasite);</pre>
|
||||
<a class="indexterm" name="id2603372"></a><pre class="programlisting">const gchar* gimp_parasite_name (const <a href="libgimpbase-gimpparasite.html#GimpParasite">GimpParasite</a> *parasite);</pre>
|
||||
<p>
|
||||
|
||||
</p>
|
||||
@ -393,14 +370,12 @@ Arbitrary pieces of data which can be attached to various GIMP objects.
|
||||
<col align="left" valign="top">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>parasite</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>parasite</code></em> :</span></td>
|
||||
<td>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td>
|
||||
|
||||
|
||||
@ -411,9 +386,9 @@ Arbitrary pieces of data which can be attached to various GIMP objects.
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2570444"></a><h3>
|
||||
<a name="id2603429"></a><h3>
|
||||
<a name="gimp-parasite-data"></a>gimp_parasite_data ()</h3>
|
||||
<a class="indexterm" name="id2570456"></a><pre class="programlisting">gconstpointer gimp_parasite_data (const <a href="libgimpbase-gimpparasite.html#GimpParasite">GimpParasite</a> *parasite);</pre>
|
||||
<a class="indexterm" name="id2603442"></a><pre class="programlisting">gconstpointer gimp_parasite_data (const <a href="libgimpbase-gimpparasite.html#GimpParasite">GimpParasite</a> *parasite);</pre>
|
||||
<p>
|
||||
|
||||
</p>
|
||||
@ -421,14 +396,12 @@ Arbitrary pieces of data which can be attached to various GIMP objects.
|
||||
<col align="left" valign="top">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>parasite</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>parasite</code></em> :</span></td>
|
||||
<td>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td>
|
||||
|
||||
|
||||
@ -439,9 +412,9 @@ Arbitrary pieces of data which can be attached to various GIMP objects.
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2570513"></a><h3>
|
||||
<a name="id2603499"></a><h3>
|
||||
<a name="gimp-parasite-data-size"></a>gimp_parasite_data_size ()</h3>
|
||||
<a class="indexterm" name="id2570524"></a><pre class="programlisting">glong gimp_parasite_data_size (const <a href="libgimpbase-gimpparasite.html#GimpParasite">GimpParasite</a> *parasite);</pre>
|
||||
<a class="indexterm" name="id2603510"></a><pre class="programlisting">glong gimp_parasite_data_size (const <a href="libgimpbase-gimpparasite.html#GimpParasite">GimpParasite</a> *parasite);</pre>
|
||||
<p>
|
||||
|
||||
</p>
|
||||
@ -449,14 +422,12 @@ Arbitrary pieces of data which can be attached to various GIMP objects.
|
||||
<col align="left" valign="top">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>parasite</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>parasite</code></em> :</span></td>
|
||||
<td>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td>
|
||||
|
||||
|
||||
@ -467,9 +438,9 @@ Arbitrary pieces of data which can be attached to various GIMP objects.
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2570581"></a><h3>
|
||||
<a name="id2603566"></a><h3>
|
||||
<a name="GIMP-PARASITE-PERSISTENT:CAPS"></a>GIMP_PARASITE_PERSISTENT</h3>
|
||||
<a class="indexterm" name="id2570594"></a><pre class="programlisting">#define GIMP_PARASITE_PERSISTENT 1
|
||||
<a class="indexterm" name="id2603580"></a><pre class="programlisting">#define GIMP_PARASITE_PERSISTENT 1
|
||||
</pre>
|
||||
<p>
|
||||
|
||||
@ -477,9 +448,9 @@ Arbitrary pieces of data which can be attached to various GIMP objects.
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2570609"></a><h3>
|
||||
<a name="id2603595"></a><h3>
|
||||
<a name="GIMP-PARASITE-UNDOABLE:CAPS"></a>GIMP_PARASITE_UNDOABLE</h3>
|
||||
<a class="indexterm" name="id2570620"></a><pre class="programlisting">#define GIMP_PARASITE_UNDOABLE 2
|
||||
<a class="indexterm" name="id2603606"></a><pre class="programlisting">#define GIMP_PARASITE_UNDOABLE 2
|
||||
</pre>
|
||||
<p>
|
||||
|
||||
@ -487,9 +458,9 @@ Arbitrary pieces of data which can be attached to various GIMP objects.
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2570636"></a><h3>
|
||||
<a name="id2603622"></a><h3>
|
||||
<a name="GIMP-PARASITE-ATTACH-PARENT:CAPS"></a>GIMP_PARASITE_ATTACH_PARENT</h3>
|
||||
<a class="indexterm" name="id2570649"></a><pre class="programlisting">#define GIMP_PARASITE_ATTACH_PARENT (0x80 << 8)
|
||||
<a class="indexterm" name="id2603635"></a><pre class="programlisting">#define GIMP_PARASITE_ATTACH_PARENT (0x80 << 8)
|
||||
</pre>
|
||||
<p>
|
||||
|
||||
@ -497,9 +468,9 @@ Arbitrary pieces of data which can be attached to various GIMP objects.
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2570665"></a><h3>
|
||||
<a name="id2603651"></a><h3>
|
||||
<a name="GIMP-PARASITE-PARENT-PERSISTENT:CAPS"></a>GIMP_PARASITE_PARENT_PERSISTENT</h3>
|
||||
<a class="indexterm" name="id2570679"></a><pre class="programlisting">#define GIMP_PARASITE_PARENT_PERSISTENT (GIMP_PARASITE_PERSISTENT << 8)
|
||||
<a class="indexterm" name="id2603665"></a><pre class="programlisting">#define GIMP_PARASITE_PARENT_PERSISTENT (GIMP_PARASITE_PERSISTENT << 8)
|
||||
</pre>
|
||||
<p>
|
||||
|
||||
@ -507,9 +478,9 @@ Arbitrary pieces of data which can be attached to various GIMP objects.
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2570696"></a><h3>
|
||||
<a name="id2603682"></a><h3>
|
||||
<a name="GIMP-PARASITE-PARENT-UNDOABLE:CAPS"></a>GIMP_PARASITE_PARENT_UNDOABLE</h3>
|
||||
<a class="indexterm" name="id2570709"></a><pre class="programlisting">#define GIMP_PARASITE_PARENT_UNDOABLE (GIMP_PARASITE_UNDOABLE << 8)
|
||||
<a class="indexterm" name="id2603695"></a><pre class="programlisting">#define GIMP_PARASITE_PARENT_UNDOABLE (GIMP_PARASITE_UNDOABLE << 8)
|
||||
</pre>
|
||||
<p>
|
||||
|
||||
@ -517,9 +488,9 @@ Arbitrary pieces of data which can be attached to various GIMP objects.
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2570726"></a><h3>
|
||||
<a name="id2603712"></a><h3>
|
||||
<a name="GIMP-PARASITE-ATTACH-GRANDPARENT:CAPS"></a>GIMP_PARASITE_ATTACH_GRANDPARENT</h3>
|
||||
<a class="indexterm" name="id2570740"></a><pre class="programlisting">#define GIMP_PARASITE_ATTACH_GRANDPARENT (0x80 << 16)
|
||||
<a class="indexterm" name="id2603725"></a><pre class="programlisting">#define GIMP_PARASITE_ATTACH_GRANDPARENT (0x80 << 16)
|
||||
</pre>
|
||||
<p>
|
||||
|
||||
@ -527,9 +498,9 @@ Arbitrary pieces of data which can be attached to various GIMP objects.
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2570756"></a><h3>
|
||||
<a name="id2603742"></a><h3>
|
||||
<a name="GIMP-PARASITE-GRANDPARENT-PERSISTENT:CAPS"></a>GIMP_PARASITE_GRANDPARENT_PERSISTENT</h3>
|
||||
<a class="indexterm" name="id2570769"></a><pre class="programlisting">#define GIMP_PARASITE_GRANDPARENT_PERSISTENT (GIMP_PARASITE_PERSISTENT << 16)
|
||||
<a class="indexterm" name="id2603755"></a><pre class="programlisting">#define GIMP_PARASITE_GRANDPARENT_PERSISTENT (GIMP_PARASITE_PERSISTENT << 16)
|
||||
</pre>
|
||||
<p>
|
||||
|
||||
@ -537,9 +508,9 @@ Arbitrary pieces of data which can be attached to various GIMP objects.
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2570786"></a><h3>
|
||||
<a name="id2603772"></a><h3>
|
||||
<a name="GIMP-PARASITE-GRANDPARENT-UNDOABLE:CAPS"></a>GIMP_PARASITE_GRANDPARENT_UNDOABLE</h3>
|
||||
<a class="indexterm" name="id2570801"></a><pre class="programlisting">#define GIMP_PARASITE_GRANDPARENT_UNDOABLE (GIMP_PARASITE_UNDOABLE << 16)
|
||||
<a class="indexterm" name="id2603787"></a><pre class="programlisting">#define GIMP_PARASITE_GRANDPARENT_UNDOABLE (GIMP_PARASITE_UNDOABLE << 16)
|
||||
</pre>
|
||||
<p>
|
||||
|
||||
@ -547,7 +518,7 @@ Arbitrary pieces of data which can be attached to various GIMP objects.
|
||||
</div>
|
||||
</div>
|
||||
<div class="refsect1" lang="en">
|
||||
<a name="id2570819"></a><h2>See Also</h2>
|
||||
<a name="id2603805"></a><h2>See Also</h2>
|
||||
<p>
|
||||
<a
|
||||
href="../app/GimpImage.html#gimp-image-parasite-attach"
|
||||
|
||||
@ -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.68.1">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.72.0">
|
||||
<link rel="start" href="index.html" title="GIMP Base Library Reference Manual">
|
||||
<link rel="up" href="libgimpbase.html" title="Part I. GIMP Base Library">
|
||||
<link rel="prev" href="libgimpbase-gimpparasite.html" title="gimpparasite">
|
||||
@ -21,16 +21,16 @@
|
||||
<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="#id2544626" class="shortcut">Top</a>
|
||||
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2577227" class="shortcut">Top</a>
|
||||
 | 
|
||||
<a href="#id2525869" class="shortcut">Description</a></nobr></td></tr>
|
||||
<a href="#id2570437" 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="id2544626"></a><span class="refentrytitle">gimpparasiteio</span>
|
||||
<a name="id2577227"></a><span class="refentrytitle">gimpparasiteio</span>
|
||||
</h2>
|
||||
<p>gimpparasiteio — Utility functions to (de)serialize certain C structures to/from <a href="libgimpbase-gimpparasite.html#GimpParasite"><span class="type">GimpParasite</span></a>'s.</p>
|
||||
</td>
|
||||
@ -50,18 +50,18 @@ gchar* <a href="libgimpbase-gimpparasiteio.html#gimp-pixpipe-params-build">
|
||||
</pre>
|
||||
</div>
|
||||
<div class="refsect1" lang="en">
|
||||
<a name="id2525869"></a><h2>Description</h2>
|
||||
<a name="id2570437"></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.
|
||||
|
||||
</p>
|
||||
</div>
|
||||
<div class="refsect1" lang="en">
|
||||
<a name="id2525892"></a><h2>Details</h2>
|
||||
<a name="id2570461"></a><h2>Details</h2>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2525903"></a><h3>
|
||||
<a name="id2570472"></a><h3>
|
||||
<a name="GIMP-PIXPIPE-MAXDIM:CAPS"></a>GIMP_PIXPIPE_MAXDIM</h3>
|
||||
<a class="indexterm" name="id2525914"></a><pre class="programlisting">#define GIMP_PIXPIPE_MAXDIM 4
|
||||
<a class="indexterm" name="id2570483"></a><pre class="programlisting">#define GIMP_PIXPIPE_MAXDIM 4
|
||||
</pre>
|
||||
<p>
|
||||
|
||||
@ -69,17 +69,16 @@ Utility functions to (de)serialize certain C structures to/from <a href="libgimp
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2525930"></a><h3>
|
||||
<a name="id2570499"></a><h3>
|
||||
<a name="gimp-pixpipe-params-init"></a>gimp_pixpipe_params_init ()</h3>
|
||||
<a class="indexterm" name="id2525941"></a><pre class="programlisting">void gimp_pixpipe_params_init (GimpPixPipeParams *params);</pre>
|
||||
<a class="indexterm" name="id2570510"></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> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>params</code></em> :</span></td>
|
||||
<td>
|
||||
|
||||
|
||||
@ -89,9 +88,9 @@ Utility functions to (de)serialize certain C structures to/from <a href="libgimp
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2561739"></a><h3>
|
||||
<a name="id2566980"></a><h3>
|
||||
<a name="gimp-pixpipe-params-parse"></a>gimp_pixpipe_params_parse ()</h3>
|
||||
<a class="indexterm" name="id2561750"></a><pre class="programlisting">void gimp_pixpipe_params_parse (const gchar *parameters,
|
||||
<a class="indexterm" name="id2566991"></a><pre class="programlisting">void gimp_pixpipe_params_parse (const gchar *parameters,
|
||||
GimpPixPipeParams *params);</pre>
|
||||
<p>
|
||||
|
||||
@ -100,14 +99,12 @@ Utility functions to (de)serialize certain C structures to/from <a href="libgimp
|
||||
<col align="left" valign="top">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>parameters</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>parameters</code></em> :</span></td>
|
||||
<td>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>params</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>params</code></em> :</span></td>
|
||||
<td>
|
||||
|
||||
|
||||
@ -118,9 +115,9 @@ Utility functions to (de)serialize certain C structures to/from <a href="libgimp
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2561817"></a><h3>
|
||||
<a name="id2567058"></a><h3>
|
||||
<a name="gimp-pixpipe-params-build"></a>gimp_pixpipe_params_build ()</h3>
|
||||
<a class="indexterm" name="id2561828"></a><pre class="programlisting">gchar* gimp_pixpipe_params_build (GimpPixPipeParams *params);</pre>
|
||||
<a class="indexterm" name="id2567069"></a><pre class="programlisting">gchar* gimp_pixpipe_params_build (GimpPixPipeParams *params);</pre>
|
||||
<p>
|
||||
|
||||
</p>
|
||||
@ -128,14 +125,12 @@ Utility functions to (de)serialize certain C structures to/from <a href="libgimp
|
||||
<col align="left" valign="top">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>params</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>params</code></em> :</span></td>
|
||||
<td>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td>
|
||||
|
||||
|
||||
@ -146,7 +141,7 @@ Utility functions to (de)serialize certain C structures to/from <a href="libgimp
|
||||
</div>
|
||||
</div>
|
||||
<div class="refsect1" lang="en">
|
||||
<a name="id2568276"></a><h2>See Also</h2>
|
||||
<a name="id2578994"></a><h2>See Also</h2>
|
||||
<p>
|
||||
<a href="libgimpbase-gimpparasite.html#GimpParasite"><span class="type">GimpParasite</span></a>
|
||||
</p>
|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
|
||||
<title>gimpprotocol</title>
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.68.1">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.72.0">
|
||||
<link rel="start" href="index.html" title="GIMP Base Library Reference Manual">
|
||||
<link rel="up" href="libgimpbase.html" title="Part I. GIMP Base Library">
|
||||
<link rel="prev" href="libgimpbase-gimputils.html" title="gimputils">
|
||||
@ -21,16 +21,16 @@
|
||||
<th width="100%" align="center">GIMP Base Library Reference Manual</th>
|
||||
<td><a accesskey="n" href="libgimpbase-gimpwire.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="#id2557011" class="shortcut">Top</a>
|
||||
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2563606" class="shortcut">Top</a>
|
||||
 | 
|
||||
<a href="#id2573729" class="shortcut">Description</a></nobr></td></tr>
|
||||
<a href="#id2558664" class="shortcut">Description</a></nobr></td></tr>
|
||||
</table>
|
||||
<div class="refentry" lang="en">
|
||||
<a name="libgimpbase-gimpprotocol"></a><div class="titlepage"></div>
|
||||
<div class="refnamediv"><table width="100%"><tr>
|
||||
<td valign="top">
|
||||
<h2>
|
||||
<a name="id2557011"></a><span class="refentrytitle">gimpprotocol</span>
|
||||
<a name="id2563606"></a><span class="refentrytitle">gimpprotocol</span>
|
||||
</h2>
|
||||
<p>gimpprotocol — The communication protocol between GIMP and it's plug-ins.</p>
|
||||
</td>
|
||||
@ -92,18 +92,18 @@ gboolean <a href="libgimpbase-gimpprotocol.html#gp-extension-ack-write">gp_ex
|
||||
</pre>
|
||||
</div>
|
||||
<div class="refsect1" lang="en">
|
||||
<a name="id2573729"></a><h2>Description</h2>
|
||||
<a name="id2558664"></a><h2>Description</h2>
|
||||
<p>
|
||||
The communication protocol between GIMP and it's plug-ins.
|
||||
|
||||
</p>
|
||||
</div>
|
||||
<div class="refsect1" lang="en">
|
||||
<a name="id2573746"></a><h2>Details</h2>
|
||||
<a name="id2558681"></a><h2>Details</h2>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2573757"></a><h3>
|
||||
<a name="id2558691"></a><h3>
|
||||
<a name="GIMP-PROTOCOL-VERSION:CAPS"></a>GIMP_PROTOCOL_VERSION</h3>
|
||||
<a class="indexterm" name="id2573768"></a><pre class="programlisting">#define GIMP_PROTOCOL_VERSION 0x0011
|
||||
<a class="indexterm" name="id2558703"></a><pre class="programlisting">#define GIMP_PROTOCOL_VERSION 0x0011
|
||||
</pre>
|
||||
<p>
|
||||
|
||||
@ -111,9 +111,9 @@ The communication protocol between GIMP and it's plug-ins.
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2573783"></a><h3>
|
||||
<a name="id2558718"></a><h3>
|
||||
<a name="GPConfig"></a>GPConfig</h3>
|
||||
<a class="indexterm" name="id2573795"></a><pre class="programlisting">typedef struct {
|
||||
<a class="indexterm" name="id2558730"></a><pre class="programlisting">typedef struct {
|
||||
guint32 version;
|
||||
guint32 tile_width;
|
||||
guint32 tile_height;
|
||||
@ -142,9 +142,9 @@ The communication protocol between GIMP and it's plug-ins.
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2546146"></a><h3>
|
||||
<a name="id2583480"></a><h3>
|
||||
<a name="GPTileReq"></a>GPTileReq</h3>
|
||||
<a class="indexterm" name="id2530060"></a><pre class="programlisting">typedef struct {
|
||||
<a class="indexterm" name="id2583422"></a><pre class="programlisting">typedef struct {
|
||||
gint32 drawable_ID;
|
||||
guint32 tile_num;
|
||||
guint32 shadow;
|
||||
@ -156,18 +156,18 @@ The communication protocol between GIMP and it's plug-ins.
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2564520"></a><h3>
|
||||
<a name="id2599309"></a><h3>
|
||||
<a name="GPTileAck"></a>GPTileAck</h3>
|
||||
<a class="indexterm" name="id2573819"></a><pre class="programlisting">typedef struct _GPTileAck GPTileAck;</pre>
|
||||
<a class="indexterm" name="id2558755"></a><pre class="programlisting">typedef struct _GPTileAck GPTileAck;</pre>
|
||||
<p>
|
||||
|
||||
</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2573834"></a><h3>
|
||||
<a name="id2558771"></a><h3>
|
||||
<a name="GPTileData"></a>GPTileData</h3>
|
||||
<a class="indexterm" name="id2573846"></a><pre class="programlisting">typedef struct {
|
||||
<a class="indexterm" name="id2599402"></a><pre class="programlisting">typedef struct {
|
||||
gint32 drawable_ID;
|
||||
guint32 tile_num;
|
||||
guint32 shadow;
|
||||
@ -184,9 +184,9 @@ The communication protocol between GIMP and it's plug-ins.
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2533702"></a><h3>
|
||||
<a name="id2599420"></a><h3>
|
||||
<a name="GPParam"></a>GPParam</h3>
|
||||
<a class="indexterm" name="id2533714"></a><pre class="programlisting">typedef struct {
|
||||
<a class="indexterm" name="id2599432"></a><pre class="programlisting">typedef struct {
|
||||
guint32 type;
|
||||
|
||||
union
|
||||
@ -234,9 +234,9 @@ The communication protocol between GIMP and it's plug-ins.
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2533742"></a><h3>
|
||||
<a name="id2599461"></a><h3>
|
||||
<a name="GPParamDef"></a>GPParamDef</h3>
|
||||
<a class="indexterm" name="id2533754"></a><pre class="programlisting">typedef struct {
|
||||
<a class="indexterm" name="id2599473"></a><pre class="programlisting">typedef struct {
|
||||
guint32 type;
|
||||
gchar *name;
|
||||
gchar *description;
|
||||
@ -248,9 +248,9 @@ The communication protocol between GIMP and it's plug-ins.
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2533771"></a><h3>
|
||||
<a name="id2599490"></a><h3>
|
||||
<a name="GPProcRun"></a>GPProcRun</h3>
|
||||
<a class="indexterm" name="id2533783"></a><pre class="programlisting">typedef struct {
|
||||
<a class="indexterm" name="id2599502"></a><pre class="programlisting">typedef struct {
|
||||
gchar *name;
|
||||
guint32 nparams;
|
||||
GPParam *params;
|
||||
@ -262,9 +262,9 @@ The communication protocol between GIMP and it's plug-ins.
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2533800"></a><h3>
|
||||
<a name="id2599518"></a><h3>
|
||||
<a name="GPProcReturn"></a>GPProcReturn</h3>
|
||||
<a class="indexterm" name="id2533813"></a><pre class="programlisting">typedef struct {
|
||||
<a class="indexterm" name="id2599531"></a><pre class="programlisting">typedef struct {
|
||||
gchar *name;
|
||||
guint32 nparams;
|
||||
GPParam *params;
|
||||
@ -276,9 +276,9 @@ The communication protocol between GIMP and it's plug-ins.
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2533830"></a><h3>
|
||||
<a name="id2599548"></a><h3>
|
||||
<a name="GPProcInstall"></a>GPProcInstall</h3>
|
||||
<a class="indexterm" name="id2533842"></a><pre class="programlisting">typedef struct {
|
||||
<a class="indexterm" name="id2599560"></a><pre class="programlisting">typedef struct {
|
||||
gchar *name;
|
||||
gchar *blurb;
|
||||
gchar *help;
|
||||
@ -300,9 +300,9 @@ The communication protocol between GIMP and it's plug-ins.
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2533863"></a><h3>
|
||||
<a name="id2599582"></a><h3>
|
||||
<a name="GPProcUninstall"></a>GPProcUninstall</h3>
|
||||
<a class="indexterm" name="id2533876"></a><pre class="programlisting">typedef struct {
|
||||
<a class="indexterm" name="id2599594"></a><pre class="programlisting">typedef struct {
|
||||
gchar *name;
|
||||
} GPProcUninstall;
|
||||
</pre>
|
||||
@ -312,18 +312,18 @@ The communication protocol between GIMP and it's plug-ins.
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2533892"></a><h3>
|
||||
<a name="id2599610"></a><h3>
|
||||
<a name="gp-init"></a>gp_init ()</h3>
|
||||
<a class="indexterm" name="id2533904"></a><pre class="programlisting">void gp_init (void);</pre>
|
||||
<a class="indexterm" name="id2599622"></a><pre class="programlisting">void gp_init (void);</pre>
|
||||
<p>
|
||||
|
||||
</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2533925"></a><h3>
|
||||
<a name="id2599643"></a><h3>
|
||||
<a name="gp-has-init-write"></a>gp_has_init_write ()</h3>
|
||||
<a class="indexterm" name="id2533938"></a><pre class="programlisting">gboolean gp_has_init_write (GIOChannel *channel,
|
||||
<a class="indexterm" name="id2599656"></a><pre class="programlisting">gboolean gp_has_init_write (GIOChannel *channel,
|
||||
gpointer user_data);</pre>
|
||||
<p>
|
||||
|
||||
@ -332,20 +332,17 @@ The communication protocol between GIMP and it's plug-ins.
|
||||
<col align="left" valign="top">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>channel</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>channel</code></em> :</span></td>
|
||||
<td>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>user_data</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>user_data</code></em> :</span></td>
|
||||
<td>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td>
|
||||
|
||||
|
||||
@ -356,9 +353,9 @@ The communication protocol between GIMP and it's plug-ins.
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2577737"></a><h3>
|
||||
<a name="id2610711"></a><h3>
|
||||
<a name="gp-quit-write"></a>gp_quit_write ()</h3>
|
||||
<a class="indexterm" name="id2577747"></a><pre class="programlisting">gboolean gp_quit_write (GIOChannel *channel,
|
||||
<a class="indexterm" name="id2610722"></a><pre class="programlisting">gboolean gp_quit_write (GIOChannel *channel,
|
||||
gpointer user_data);</pre>
|
||||
<p>
|
||||
|
||||
@ -367,20 +364,17 @@ The communication protocol between GIMP and it's plug-ins.
|
||||
<col align="left" valign="top">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>channel</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>channel</code></em> :</span></td>
|
||||
<td>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>user_data</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>user_data</code></em> :</span></td>
|
||||
<td>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td>
|
||||
|
||||
|
||||
@ -391,9 +385,9 @@ The communication protocol between GIMP and it's plug-ins.
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2577816"></a><h3>
|
||||
<a name="id2610790"></a><h3>
|
||||
<a name="gp-config-write"></a>gp_config_write ()</h3>
|
||||
<a class="indexterm" name="id2577827"></a><pre class="programlisting">gboolean gp_config_write (GIOChannel *channel,
|
||||
<a class="indexterm" name="id2610800"></a><pre class="programlisting">gboolean gp_config_write (GIOChannel *channel,
|
||||
<a href="libgimpbase-gimpprotocol.html#GPConfig">GPConfig</a> *config,
|
||||
gpointer user_data);</pre>
|
||||
<p>
|
||||
@ -403,26 +397,22 @@ The communication protocol between GIMP and it's plug-ins.
|
||||
<col align="left" valign="top">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>channel</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>channel</code></em> :</span></td>
|
||||
<td>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>config</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>config</code></em> :</span></td>
|
||||
<td>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>user_data</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>user_data</code></em> :</span></td>
|
||||
<td>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td>
|
||||
|
||||
|
||||
@ -433,9 +423,9 @@ The communication protocol between GIMP and it's plug-ins.
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2577915"></a><h3>
|
||||
<a name="id2610888"></a><h3>
|
||||
<a name="gp-tile-req-write"></a>gp_tile_req_write ()</h3>
|
||||
<a class="indexterm" name="id2577925"></a><pre class="programlisting">gboolean gp_tile_req_write (GIOChannel *channel,
|
||||
<a class="indexterm" name="id2610898"></a><pre class="programlisting">gboolean gp_tile_req_write (GIOChannel *channel,
|
||||
<a href="libgimpbase-gimpprotocol.html#GPTileReq">GPTileReq</a> *tile_req,
|
||||
gpointer user_data);</pre>
|
||||
<p>
|
||||
@ -445,26 +435,22 @@ The communication protocol between GIMP and it's plug-ins.
|
||||
<col align="left" valign="top">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>channel</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>channel</code></em> :</span></td>
|
||||
<td>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>tile_req</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>tile_req</code></em> :</span></td>
|
||||
<td>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>user_data</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>user_data</code></em> :</span></td>
|
||||
<td>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td>
|
||||
|
||||
|
||||
@ -475,9 +461,9 @@ The communication protocol between GIMP and it's plug-ins.
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2578013"></a><h3>
|
||||
<a name="id2610985"></a><h3>
|
||||
<a name="gp-tile-ack-write"></a>gp_tile_ack_write ()</h3>
|
||||
<a class="indexterm" name="id2578024"></a><pre class="programlisting">gboolean gp_tile_ack_write (GIOChannel *channel,
|
||||
<a class="indexterm" name="id2610996"></a><pre class="programlisting">gboolean gp_tile_ack_write (GIOChannel *channel,
|
||||
gpointer user_data);</pre>
|
||||
<p>
|
||||
|
||||
@ -486,20 +472,17 @@ The communication protocol between GIMP and it's plug-ins.
|
||||
<col align="left" valign="top">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>channel</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>channel</code></em> :</span></td>
|
||||
<td>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>user_data</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>user_data</code></em> :</span></td>
|
||||
<td>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td>
|
||||
|
||||
|
||||
@ -510,9 +493,9 @@ The communication protocol between GIMP and it's plug-ins.
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2578093"></a><h3>
|
||||
<a name="id2611064"></a><h3>
|
||||
<a name="gp-tile-data-write"></a>gp_tile_data_write ()</h3>
|
||||
<a class="indexterm" name="id2578103"></a><pre class="programlisting">gboolean gp_tile_data_write (GIOChannel *channel,
|
||||
<a class="indexterm" name="id2611074"></a><pre class="programlisting">gboolean gp_tile_data_write (GIOChannel *channel,
|
||||
<a href="libgimpbase-gimpprotocol.html#GPTileData">GPTileData</a> *tile_data,
|
||||
gpointer user_data);</pre>
|
||||
<p>
|
||||
@ -522,26 +505,22 @@ The communication protocol between GIMP and it's plug-ins.
|
||||
<col align="left" valign="top">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>channel</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>channel</code></em> :</span></td>
|
||||
<td>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>tile_data</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>tile_data</code></em> :</span></td>
|
||||
<td>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>user_data</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>user_data</code></em> :</span></td>
|
||||
<td>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td>
|
||||
|
||||
|
||||
@ -552,9 +531,9 @@ The communication protocol between GIMP and it's plug-ins.
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2578191"></a><h3>
|
||||
<a name="id2611162"></a><h3>
|
||||
<a name="gp-proc-run-write"></a>gp_proc_run_write ()</h3>
|
||||
<a class="indexterm" name="id2578201"></a><pre class="programlisting">gboolean gp_proc_run_write (GIOChannel *channel,
|
||||
<a class="indexterm" name="id2611173"></a><pre class="programlisting">gboolean gp_proc_run_write (GIOChannel *channel,
|
||||
<a href="libgimpbase-gimpprotocol.html#GPProcRun">GPProcRun</a> *proc_run,
|
||||
gpointer user_data);</pre>
|
||||
<p>
|
||||
@ -564,26 +543,22 @@ The communication protocol between GIMP and it's plug-ins.
|
||||
<col align="left" valign="top">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>channel</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>channel</code></em> :</span></td>
|
||||
<td>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>proc_run</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>proc_run</code></em> :</span></td>
|
||||
<td>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>user_data</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>user_data</code></em> :</span></td>
|
||||
<td>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td>
|
||||
|
||||
|
||||
@ -594,9 +569,9 @@ The communication protocol between GIMP and it's plug-ins.
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2578289"></a><h3>
|
||||
<a name="id2611261"></a><h3>
|
||||
<a name="gp-proc-return-write"></a>gp_proc_return_write ()</h3>
|
||||
<a class="indexterm" name="id2578300"></a><pre class="programlisting">gboolean gp_proc_return_write (GIOChannel *channel,
|
||||
<a class="indexterm" name="id2611271"></a><pre class="programlisting">gboolean gp_proc_return_write (GIOChannel *channel,
|
||||
<a href="libgimpbase-gimpprotocol.html#GPProcReturn">GPProcReturn</a> *proc_return,
|
||||
gpointer user_data);</pre>
|
||||
<p>
|
||||
@ -606,26 +581,22 @@ The communication protocol between GIMP and it's plug-ins.
|
||||
<col align="left" valign="top">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>channel</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>channel</code></em> :</span></td>
|
||||
<td>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>proc_return</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>proc_return</code></em> :</span></td>
|
||||
<td>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>user_data</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>user_data</code></em> :</span></td>
|
||||
<td>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td>
|
||||
|
||||
|
||||
@ -636,9 +607,9 @@ The communication protocol between GIMP and it's plug-ins.
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2578388"></a><h3>
|
||||
<a name="id2611359"></a><h3>
|
||||
<a name="gp-temp-proc-run-write"></a>gp_temp_proc_run_write ()</h3>
|
||||
<a class="indexterm" name="id2578398"></a><pre class="programlisting">gboolean gp_temp_proc_run_write (GIOChannel *channel,
|
||||
<a class="indexterm" name="id2611370"></a><pre class="programlisting">gboolean gp_temp_proc_run_write (GIOChannel *channel,
|
||||
<a href="libgimpbase-gimpprotocol.html#GPProcRun">GPProcRun</a> *proc_run,
|
||||
gpointer user_data);</pre>
|
||||
<p>
|
||||
@ -648,26 +619,22 @@ The communication protocol between GIMP and it's plug-ins.
|
||||
<col align="left" valign="top">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>channel</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>channel</code></em> :</span></td>
|
||||
<td>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>proc_run</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>proc_run</code></em> :</span></td>
|
||||
<td>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>user_data</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>user_data</code></em> :</span></td>
|
||||
<td>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td>
|
||||
|
||||
|
||||
@ -678,9 +645,9 @@ The communication protocol between GIMP and it's plug-ins.
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2578486"></a><h3>
|
||||
<a name="id2611458"></a><h3>
|
||||
<a name="gp-temp-proc-return-write"></a>gp_temp_proc_return_write ()</h3>
|
||||
<a class="indexterm" name="id2578497"></a><pre class="programlisting">gboolean gp_temp_proc_return_write (GIOChannel *channel,
|
||||
<a class="indexterm" name="id2611468"></a><pre class="programlisting">gboolean gp_temp_proc_return_write (GIOChannel *channel,
|
||||
<a href="libgimpbase-gimpprotocol.html#GPProcReturn">GPProcReturn</a> *proc_return,
|
||||
gpointer user_data);</pre>
|
||||
<p>
|
||||
@ -690,26 +657,22 @@ The communication protocol between GIMP and it's plug-ins.
|
||||
<col align="left" valign="top">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>channel</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>channel</code></em> :</span></td>
|
||||
<td>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>proc_return</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>proc_return</code></em> :</span></td>
|
||||
<td>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>user_data</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>user_data</code></em> :</span></td>
|
||||
<td>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td>
|
||||
|
||||
|
||||
@ -720,9 +683,9 @@ The communication protocol between GIMP and it's plug-ins.
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2578585"></a><h3>
|
||||
<a name="id2611556"></a><h3>
|
||||
<a name="gp-proc-install-write"></a>gp_proc_install_write ()</h3>
|
||||
<a class="indexterm" name="id2578595"></a><pre class="programlisting">gboolean gp_proc_install_write (GIOChannel *channel,
|
||||
<a class="indexterm" name="id2611567"></a><pre class="programlisting">gboolean gp_proc_install_write (GIOChannel *channel,
|
||||
<a href="libgimpbase-gimpprotocol.html#GPProcInstall">GPProcInstall</a> *proc_install,
|
||||
gpointer user_data);</pre>
|
||||
<p>
|
||||
@ -732,26 +695,22 @@ The communication protocol between GIMP and it's plug-ins.
|
||||
<col align="left" valign="top">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>channel</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>channel</code></em> :</span></td>
|
||||
<td>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>proc_install</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>proc_install</code></em> :</span></td>
|
||||
<td>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>user_data</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>user_data</code></em> :</span></td>
|
||||
<td>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td>
|
||||
|
||||
|
||||
@ -762,9 +721,9 @@ The communication protocol between GIMP and it's plug-ins.
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2578683"></a><h3>
|
||||
<a name="id2611655"></a><h3>
|
||||
<a name="gp-proc-uninstall-write"></a>gp_proc_uninstall_write ()</h3>
|
||||
<a class="indexterm" name="id2578694"></a><pre class="programlisting">gboolean gp_proc_uninstall_write (GIOChannel *channel,
|
||||
<a class="indexterm" name="id2611665"></a><pre class="programlisting">gboolean gp_proc_uninstall_write (GIOChannel *channel,
|
||||
<a href="libgimpbase-gimpprotocol.html#GPProcUninstall">GPProcUninstall</a> *proc_uninstall,
|
||||
gpointer user_data);</pre>
|
||||
<p>
|
||||
@ -774,26 +733,22 @@ The communication protocol between GIMP and it's plug-ins.
|
||||
<col align="left" valign="top">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>channel</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>channel</code></em> :</span></td>
|
||||
<td>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>proc_uninstall</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>proc_uninstall</code></em> :</span></td>
|
||||
<td>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>user_data</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>user_data</code></em> :</span></td>
|
||||
<td>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td>
|
||||
|
||||
|
||||
@ -804,9 +759,9 @@ The communication protocol between GIMP and it's plug-ins.
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2578782"></a><h3>
|
||||
<a name="id2611753"></a><h3>
|
||||
<a name="gp-extension-ack-write"></a>gp_extension_ack_write ()</h3>
|
||||
<a class="indexterm" name="id2578792"></a><pre class="programlisting">gboolean gp_extension_ack_write (GIOChannel *channel,
|
||||
<a class="indexterm" name="id2611764"></a><pre class="programlisting">gboolean gp_extension_ack_write (GIOChannel *channel,
|
||||
gpointer user_data);</pre>
|
||||
<p>
|
||||
|
||||
@ -815,20 +770,17 @@ The communication protocol between GIMP and it's plug-ins.
|
||||
<col align="left" valign="top">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>channel</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>channel</code></em> :</span></td>
|
||||
<td>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>user_data</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>user_data</code></em> :</span></td>
|
||||
<td>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td>
|
||||
|
||||
|
||||
@ -839,7 +791,7 @@ The communication protocol between GIMP and it's plug-ins.
|
||||
</div>
|
||||
</div>
|
||||
<div class="refsect1" lang="en">
|
||||
<a name="id2578862"></a><h2>See Also</h2>
|
||||
<a name="id2611834"></a><h2>See Also</h2>
|
||||
<p>
|
||||
<span class="type">libgimp-gimpwire</span>
|
||||
</p>
|
||||
|
||||
@ -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.68.1">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.72.0">
|
||||
<link rel="start" href="index.html" title="GIMP Base Library Reference Manual">
|
||||
<link rel="up" href="libgimpbase.html" title="Part I. GIMP Base Library">
|
||||
<link rel="prev" href="libgimpbase-gimpparasiteio.html" title="gimpparasiteio">
|
||||
@ -21,16 +21,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="#id2557996" class="shortcut">Top</a>
|
||||
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2582838" class="shortcut">Top</a>
|
||||
 | 
|
||||
<a href="#id2566526" class="shortcut">Description</a></nobr></td></tr>
|
||||
<a href="#id2594604" 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="id2557996"></a><span class="refentrytitle">gimpsignal</span>
|
||||
<a name="id2582838"></a><span class="refentrytitle">gimpsignal</span>
|
||||
</h2>
|
||||
<p>gimpsignal — Portable signal handling.</p>
|
||||
</td>
|
||||
@ -49,18 +49,18 @@ void (<a href="libgimpbase-gimpsignal.html#GimpSignalHandlerFunc">*GimpSi
|
||||
</pre>
|
||||
</div>
|
||||
<div class="refsect1" lang="en">
|
||||
<a name="id2566526"></a><h2>Description</h2>
|
||||
<a name="id2594604"></a><h2>Description</h2>
|
||||
<p>
|
||||
Portable signal handling.
|
||||
|
||||
</p>
|
||||
</div>
|
||||
<div class="refsect1" lang="en">
|
||||
<a name="id2566542"></a><h2>Details</h2>
|
||||
<a name="id2594620"></a><h2>Details</h2>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2566552"></a><h3>
|
||||
<a name="id2594630"></a><h3>
|
||||
<a name="GimpSignalHandlerFunc"></a>GimpSignalHandlerFunc ()</h3>
|
||||
<a class="indexterm" name="id2566563"></a><pre class="programlisting">void (*GimpSignalHandlerFunc) (gint signum);</pre>
|
||||
<a class="indexterm" name="id2594641"></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
|
||||
@ -70,8 +70,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> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>signum</code></em> :</span></td>
|
||||
<td>The number of the signal. Useful if different signals are handled
|
||||
by a single handler.
|
||||
|
||||
@ -82,9 +81,9 @@ special values defined by your system's signal.h header file (like
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2566625"></a><h3>
|
||||
<a name="id2594702"></a><h3>
|
||||
<a name="gimp-signal-private"></a>gimp_signal_private ()</h3>
|
||||
<a class="indexterm" name="id2566637"></a><pre class="programlisting"><a href="libgimpbase-gimpsignal.html#GimpSignalHandlerFunc">GimpSignalHandlerFunc</a> gimp_signal_private (gint signum,
|
||||
<a class="indexterm" name="id2594715"></a><pre class="programlisting"><a href="libgimpbase-gimpsignal.html#GimpSignalHandlerFunc">GimpSignalHandlerFunc</a> gimp_signal_private (gint signum,
|
||||
<a href="libgimpbase-gimpsignal.html#GimpSignalHandlerFunc">GimpSignalHandlerFunc</a> handler,
|
||||
gint flags);</pre>
|
||||
<p>
|
||||
@ -108,29 +107,25 @@ 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> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>signum</code></em> :</span></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> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>handler</code></em> :</span></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> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>flags</code></em> :</span></td>
|
||||
<td> Preferences. OR'ed SA_<xxx>. 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> :</span></td>
|
||||
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></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>.
|
||||
</td>
|
||||
@ -140,7 +135,7 @@ exactly what we want. [austin 06.04.2000]</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="refsect1" lang="en">
|
||||
<a name="id2542977"></a><h2>See Also</h2>
|
||||
<a name="id2562500"></a><h2>See Also</h2>
|
||||
<p>
|
||||
signal(2), signal(5 or 7), sigaction(2).
|
||||
</p>
|
||||
|
||||
@ -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.68.1">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.72.0">
|
||||
<link rel="start" href="index.html" title="GIMP Base Library Reference Manual">
|
||||
<link rel="up" href="libgimpbase.html" title="Part I. GIMP Base Library">
|
||||
<link rel="prev" href="libgimpbase-gimpsignal.html" title="gimpsignal">
|
||||
@ -21,16 +21,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="#id2553281" class="shortcut">Top</a>
|
||||
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2568275" class="shortcut">Top</a>
|
||||
 | 
|
||||
<a href="#id2568944" class="shortcut">Description</a></nobr></td></tr>
|
||||
<a href="#id2557222" 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="id2553281"></a><span class="refentrytitle">gimpunit</span>
|
||||
<a name="id2568275"></a><span class="refentrytitle">gimpunit</span>
|
||||
</h2>
|
||||
<p>gimpunit — Provides a collection of predefined units and functions for creating
|
||||
user-defined units.</p>
|
||||
@ -70,7 +70,7 @@ const gchar* <a href="libgimpbase-gimpunit.html#gimp-unit-get-plural">gimp_unit_
|
||||
</pre>
|
||||
</div>
|
||||
<div class="refsect1" lang="en">
|
||||
<a name="id2568944"></a><h2>Description</h2>
|
||||
<a name="id2557222"></a><h2>Description</h2>
|
||||
<p>
|
||||
Provides a collection of predefined units and functions for creating
|
||||
user-defined units.
|
||||
@ -78,11 +78,11 @@ user-defined units.
|
||||
</p>
|
||||
</div>
|
||||
<div class="refsect1" lang="en">
|
||||
<a name="id2568961"></a><h2>Details</h2>
|
||||
<a name="id2557239"></a><h2>Details</h2>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2568972"></a><h3>
|
||||
<a name="id2557250"></a><h3>
|
||||
<a name="GimpUnit"></a>enum GimpUnit</h3>
|
||||
<a class="indexterm" name="id2568984"></a><pre class="programlisting">typedef enum /*< skip >*/
|
||||
<a class="indexterm" name="id2557262"></a><pre class="programlisting">typedef enum /*< skip >*/
|
||||
{
|
||||
GIMP_UNIT_PIXEL = 0,
|
||||
|
||||
@ -102,9 +102,9 @@ user-defined units.
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2553781"></a><h3>
|
||||
<a name="id2557282"></a><h3>
|
||||
<a name="gimp-unit-get-number-of-units"></a>gimp_unit_get_number_of_units ()</h3>
|
||||
<a class="indexterm" name="id2553793"></a><pre class="programlisting">gint gimp_unit_get_number_of_units (void);</pre>
|
||||
<a class="indexterm" name="id2561215"></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>
|
||||
<p>
|
||||
@ -113,8 +113,7 @@ Returns the number of units which are known to the <a href="libgimpbase-gimpunit
|
||||
<div class="variablelist"><table border="0">
|
||||
<col align="left" valign="top">
|
||||
<tbody><tr>
|
||||
<td>
|
||||
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td> The number of defined units.
|
||||
</td>
|
||||
</tr></tbody>
|
||||
@ -122,9 +121,9 @@ Returns the number of units which are known to the <a href="libgimpbase-gimpunit
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2553840"></a><h3>
|
||||
<a name="id2561262"></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="id2553851"></a><pre class="programlisting">gint gimp_unit_get_number_of_built_in_units
|
||||
<a class="indexterm" name="id2561274"></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
|
||||
@ -136,8 +135,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> :</span></td>
|
||||
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td> The number of built-in units.
|
||||
</td>
|
||||
</tr></tbody>
|
||||
@ -145,9 +143,9 @@ Returns the number of <a href="libgimpbase-gimpunit.html#GimpUnit"><span class="
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2553900"></a><h3>
|
||||
<a name="id2561324"></a><h3>
|
||||
<a name="gimp-unit-new"></a>gimp_unit_new ()</h3>
|
||||
<a class="indexterm" name="id2553913"></a><pre class="programlisting"><a href="libgimpbase-gimpunit.html#GimpUnit">GimpUnit</a> gimp_unit_new (gchar *identifier,
|
||||
<a class="indexterm" name="id2561337"></a><pre class="programlisting"><a href="libgimpbase-gimpunit.html#GimpUnit">GimpUnit</a> gimp_unit_new (gchar *identifier,
|
||||
gdouble factor,
|
||||
gint digits,
|
||||
gchar *symbol,
|
||||
@ -168,50 +166,42 @@ set to <code class="literal">TRUE</code>. You will have to set it to <code class
|
||||
<col align="left" valign="top">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>identifier</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>identifier</code></em> :</span></td>
|
||||
<td> The unit's identifier string.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>factor</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>factor</code></em> :</span></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> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>digits</code></em> :</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>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>symbol</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>symbol</code></em> :</span></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> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>abbreviation</code></em> :</span></td>
|
||||
<td> The abbreviation of the unit.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>singular</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>singular</code></em> :</span></td>
|
||||
<td> The singular form of the unit.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>plural</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>plural</code></em> :</span></td>
|
||||
<td> The plural form of the unit.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td> The ID of the new unit.
|
||||
</td>
|
||||
</tr>
|
||||
@ -220,9 +210,9 @@ set to <code class="literal">TRUE</code>. You will have to set it to <code class
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2550468"></a><h3>
|
||||
<a name="id2559433"></a><h3>
|
||||
<a name="gimp-unit-get-deletion-flag"></a>gimp_unit_get_deletion_flag ()</h3>
|
||||
<a class="indexterm" name="id2550480"></a><pre class="programlisting">gboolean gimp_unit_get_deletion_flag (<a href="libgimpbase-gimpunit.html#GimpUnit">GimpUnit</a> unit);</pre>
|
||||
<a class="indexterm" name="id2559445"></a><pre class="programlisting">gboolean gimp_unit_get_deletion_flag (<a href="libgimpbase-gimpunit.html#GimpUnit">GimpUnit</a> unit);</pre>
|
||||
<p>
|
||||
</p>
|
||||
<p>
|
||||
@ -232,14 +222,12 @@ set to <code class="literal">TRUE</code>. You will have to set it to <code class
|
||||
<col align="left" valign="top">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>unit</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>unit</code></em> :</span></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> :</span></td>
|
||||
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td> The unit's <em class="parameter"><code>deletion_flag</code></em>.
|
||||
</td>
|
||||
</tr>
|
||||
@ -248,9 +236,9 @@ set to <code class="literal">TRUE</code>. You will have to set it to <code class
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2550553"></a><h3>
|
||||
<a name="id2559517"></a><h3>
|
||||
<a name="gimp-unit-set-deletion-flag"></a>gimp_unit_set_deletion_flag ()</h3>
|
||||
<a class="indexterm" name="id2550565"></a><pre class="programlisting">void gimp_unit_set_deletion_flag (<a href="libgimpbase-gimpunit.html#GimpUnit">GimpUnit</a> unit,
|
||||
<a class="indexterm" name="id2559529"></a><pre class="programlisting">void gimp_unit_set_deletion_flag (<a 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
|
||||
@ -267,14 +255,12 @@ ignored.</p>
|
||||
<col align="left" valign="top">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>unit</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>unit</code></em> :</span></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> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>deletion_flag</code></em> :</span></td>
|
||||
<td> The new deletion_flag.
|
||||
</td>
|
||||
</tr>
|
||||
@ -283,9 +269,9 @@ ignored.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2572793"></a><h3>
|
||||
<a name="id2605778"></a><h3>
|
||||
<a name="gimp-unit-get-factor"></a>gimp_unit_get_factor ()</h3>
|
||||
<a class="indexterm" name="id2572803"></a><pre class="programlisting">gdouble gimp_unit_get_factor (<a href="libgimpbase-gimpunit.html#GimpUnit">GimpUnit</a> unit);</pre>
|
||||
<a class="indexterm" name="id2605788"></a><pre class="programlisting">gdouble gimp_unit_get_factor (<a 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:
|
||||
</p>
|
||||
@ -301,14 +287,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> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>unit</code></em> :</span></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> :</span></td>
|
||||
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td> The unit's factor.
|
||||
</td>
|
||||
</tr>
|
||||
@ -317,9 +301,9 @@ Returns 0 for <em class="parameter"><code>unit</code></em> == GIMP_UNIT_PIXEL.</
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2572887"></a><h3>
|
||||
<a name="id2605871"></a><h3>
|
||||
<a name="gimp-unit-get-digits"></a>gimp_unit_get_digits ()</h3>
|
||||
<a class="indexterm" name="id2572898"></a><pre class="programlisting">gint gimp_unit_get_digits (<a href="libgimpbase-gimpunit.html#GimpUnit">GimpUnit</a> unit);</pre>
|
||||
<a class="indexterm" name="id2605882"></a><pre class="programlisting">gint gimp_unit_get_digits (<a 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.
|
||||
@ -333,14 +317,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> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>unit</code></em> :</span></td>
|
||||
<td> The unit you want to know the digits.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td> The suggested number of digits.
|
||||
</td>
|
||||
</tr>
|
||||
@ -349,9 +331,9 @@ Returns 0 for <em class="parameter"><code>unit</code></em> == GIMP_UNIT_PIXEL.</
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2572971"></a><h3>
|
||||
<a name="id2605955"></a><h3>
|
||||
<a name="gimp-unit-get-identifier"></a>gimp_unit_get_identifier ()</h3>
|
||||
<a class="indexterm" name="id2572982"></a><pre class="programlisting">const gchar* gimp_unit_get_identifier (<a href="libgimpbase-gimpunit.html#GimpUnit">GimpUnit</a> unit);</pre>
|
||||
<a class="indexterm" name="id2605966"></a><pre class="programlisting">const gchar* gimp_unit_get_identifier (<a href="libgimpbase-gimpunit.html#GimpUnit">GimpUnit</a> unit);</pre>
|
||||
<p>
|
||||
This is an unstranslated string and must not be changed or freed.</p>
|
||||
<p>
|
||||
@ -361,14 +343,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> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>unit</code></em> :</span></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> :</span></td>
|
||||
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td> The unit's identifier.
|
||||
</td>
|
||||
</tr>
|
||||
@ -377,9 +357,9 @@ This is an unstranslated string and must not be changed or freed.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2573044"></a><h3>
|
||||
<a name="id2606029"></a><h3>
|
||||
<a name="gimp-unit-get-symbol"></a>gimp_unit_get_symbol ()</h3>
|
||||
<a class="indexterm" name="id2573056"></a><pre class="programlisting">const gchar* gimp_unit_get_symbol (<a href="libgimpbase-gimpunit.html#GimpUnit">GimpUnit</a> unit);</pre>
|
||||
<a class="indexterm" name="id2606040"></a><pre class="programlisting">const gchar* gimp_unit_get_symbol (<a href="libgimpbase-gimpunit.html#GimpUnit">GimpUnit</a> unit);</pre>
|
||||
<p>
|
||||
This is e.g. "''" for UNIT_INCH.
|
||||
</p>
|
||||
@ -392,14 +372,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> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>unit</code></em> :</span></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> :</span></td>
|
||||
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td> The unit's symbol.
|
||||
</td>
|
||||
</tr>
|
||||
@ -408,9 +386,9 @@ NOTE: This string must not be changed or freed.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2573122"></a><h3>
|
||||
<a name="id2606106"></a><h3>
|
||||
<a name="gimp-unit-get-abbreviation"></a>gimp_unit_get_abbreviation ()</h3>
|
||||
<a class="indexterm" name="id2573134"></a><pre class="programlisting">const gchar* gimp_unit_get_abbreviation (<a href="libgimpbase-gimpunit.html#GimpUnit">GimpUnit</a> unit);</pre>
|
||||
<a class="indexterm" name="id2606118"></a><pre class="programlisting">const gchar* gimp_unit_get_abbreviation (<a href="libgimpbase-gimpunit.html#GimpUnit">GimpUnit</a> unit);</pre>
|
||||
<p>
|
||||
For built-in units, this function returns the translated abbreviation
|
||||
of the unit.
|
||||
@ -424,14 +402,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> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>unit</code></em> :</span></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> :</span></td>
|
||||
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td> The unit's abbreviation.
|
||||
</td>
|
||||
</tr>
|
||||
@ -440,9 +416,9 @@ NOTE: This string must not be changed or freed.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2573201"></a><h3>
|
||||
<a name="id2606185"></a><h3>
|
||||
<a name="gimp-unit-get-singular"></a>gimp_unit_get_singular ()</h3>
|
||||
<a class="indexterm" name="id2573212"></a><pre class="programlisting">const gchar* gimp_unit_get_singular (<a href="libgimpbase-gimpunit.html#GimpUnit">GimpUnit</a> unit);</pre>
|
||||
<a class="indexterm" name="id2606196"></a><pre class="programlisting">const gchar* gimp_unit_get_singular (<a 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.
|
||||
@ -456,14 +432,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> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>unit</code></em> :</span></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> :</span></td>
|
||||
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td> The unit's singular form.
|
||||
</td>
|
||||
</tr>
|
||||
@ -472,9 +446,9 @@ NOTE: This string must not be changed or freed.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2573279"></a><h3>
|
||||
<a name="id2606264"></a><h3>
|
||||
<a name="gimp-unit-get-plural"></a>gimp_unit_get_plural ()</h3>
|
||||
<a class="indexterm" name="id2573290"></a><pre class="programlisting">const gchar* gimp_unit_get_plural (<a href="libgimpbase-gimpunit.html#GimpUnit">GimpUnit</a> unit);</pre>
|
||||
<a class="indexterm" name="id2606275"></a><pre class="programlisting">const gchar* gimp_unit_get_plural (<a 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.
|
||||
@ -488,14 +462,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> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>unit</code></em> :</span></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> :</span></td>
|
||||
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td> The unit's plural form.
|
||||
</td>
|
||||
</tr>
|
||||
@ -504,9 +476,9 @@ NOTE: This string must not be changed or freed.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2573358"></a><h3>
|
||||
<a name="id2606342"></a><h3>
|
||||
<a name="GIMP-TYPE-UNIT:CAPS"></a>GIMP_TYPE_UNIT</h3>
|
||||
<a class="indexterm" name="id2573370"></a><pre class="programlisting">#define GIMP_TYPE_UNIT (gimp_unit_get_type ())
|
||||
<a class="indexterm" name="id2606354"></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 <span class="type">GType</span> derived from <span class="type">G_TYPE_INT</span>.
|
||||
@ -514,9 +486,9 @@ NOTE: This string must not be changed or freed.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2573389"></a><h3>
|
||||
<a name="id2606393"></a><h3>
|
||||
<a name="GIMP-VALUE-HOLDS-UNIT:CAPS"></a>GIMP_VALUE_HOLDS_UNIT()</h3>
|
||||
<a class="indexterm" name="id2573399"></a><pre class="programlisting">#define GIMP_VALUE_HOLDS_UNIT(value) (G_TYPE_CHECK_VALUE_TYPE ((value), GIMP_TYPE_UNIT))
|
||||
<a class="indexterm" name="id2606404"></a><pre class="programlisting">#define GIMP_VALUE_HOLDS_UNIT(value) (G_TYPE_CHECK_VALUE_TYPE ((value), GIMP_TYPE_UNIT))
|
||||
</pre>
|
||||
<p>
|
||||
|
||||
@ -524,8 +496,7 @@ NOTE: This string must not be changed or freed.</p>
|
||||
<div class="variablelist"><table border="0">
|
||||
<col align="left" valign="top">
|
||||
<tbody><tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>value</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>value</code></em> :</span></td>
|
||||
<td>
|
||||
|
||||
|
||||
@ -535,7 +506,7 @@ NOTE: This string must not be changed or freed.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="refsect1" lang="en">
|
||||
<a name="id2573432"></a><h2>See Also</h2>
|
||||
<a name="id2606441"></a><h2>See Also</h2>
|
||||
<p>
|
||||
<a
|
||||
href="../libgimpwidgets/GimpUnitMenu.html"
|
||||
|
||||
@ -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.68.1">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.72.0">
|
||||
<link rel="start" href="index.html" title="GIMP Base Library Reference Manual">
|
||||
<link rel="up" href="libgimpbase.html" title="Part I. GIMP Base Library">
|
||||
<link rel="prev" href="libgimpbase-gimpunit.html" title="gimpunit">
|
||||
@ -21,16 +21,16 @@
|
||||
<th width="100%" align="center">GIMP Base Library Reference Manual</th>
|
||||
<td><a accesskey="n" href="libgimpbase-gimpprotocol.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="#id2544593" class="shortcut">Top</a>
|
||||
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2567164" class="shortcut">Top</a>
|
||||
 | 
|
||||
<a href="#id2571454" class="shortcut">Description</a></nobr></td></tr>
|
||||
<a href="#id2600348" 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="id2544593"></a><span class="refentrytitle">gimputils</span>
|
||||
<a name="id2567164"></a><span class="refentrytitle">gimputils</span>
|
||||
</h2>
|
||||
<p>gimputils — Utilities of general interest</p>
|
||||
</td>
|
||||
@ -78,17 +78,17 @@ const gchar* <a href="libgimpbase-gimputils.html#gimp-flags-value-get-help">gimp
|
||||
</pre>
|
||||
</div>
|
||||
<div class="refsect1" lang="en">
|
||||
<a name="id2571454"></a><h2>Description</h2>
|
||||
<a name="id2600348"></a><h2>Description</h2>
|
||||
<p>
|
||||
|
||||
</p>
|
||||
</div>
|
||||
<div class="refsect1" lang="en">
|
||||
<a name="id2571469"></a><h2>Details</h2>
|
||||
<a name="id2600363"></a><h2>Details</h2>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2571480"></a><h3>
|
||||
<a name="id2600374"></a><h3>
|
||||
<a name="gimp-any-to-utf8"></a>gimp_any_to_utf8 ()</h3>
|
||||
<a class="indexterm" name="id2571492"></a><pre class="programlisting">gchar* gimp_any_to_utf8 (const gchar *str,
|
||||
<a class="indexterm" name="id2600386"></a><pre class="programlisting">gchar* gimp_any_to_utf8 (const gchar *str,
|
||||
gssize len,
|
||||
const gchar *warning_format,
|
||||
...);</pre>
|
||||
@ -114,35 +114,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> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>str</code></em> :</span></td>
|
||||
<td> The string to be converted to UTF-8.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>len</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>len</code></em> :</span></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> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>warning_format</code></em> :</span></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> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>...</code></em> :</span></td>
|
||||
<td> The parameters to insert into the format string.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td> The UTF-8 string as described above.
|
||||
</td>
|
||||
</tr>
|
||||
@ -151,9 +146,9 @@ of <em class="parameter"><code>str</code></em> is valid UTF-8, only "(invalid UT
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2571670"></a><h3>
|
||||
<a name="id2600564"></a><h3>
|
||||
<a name="gimp-filename-to-utf8"></a>gimp_filename_to_utf8 ()</h3>
|
||||
<a class="indexterm" name="id2570866"></a><pre class="programlisting">const gchar* gimp_filename_to_utf8 (const gchar *filename);</pre>
|
||||
<a class="indexterm" name="id2559978"></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
|
||||
@ -171,14 +166,12 @@ UTF-8 encoded filename.</p>
|
||||
<col align="left" valign="top">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>filename</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>filename</code></em> :</span></td>
|
||||
<td> The filename to be converted to UTF-8.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></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>
|
||||
@ -188,9 +181,9 @@ UTF-8 encoded filename.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2570952"></a><h3>
|
||||
<a name="id2560064"></a><h3>
|
||||
<a name="gimp-utf8-strtrim"></a>gimp_utf8_strtrim ()</h3>
|
||||
<a class="indexterm" name="id2570965"></a><pre class="programlisting">gchar* gimp_utf8_strtrim (const gchar *str,
|
||||
<a class="indexterm" name="id2560077"></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
|
||||
@ -203,21 +196,18 @@ 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> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>str</code></em> :</span></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> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>max_chars</code></em> :</span></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> :</span></td>
|
||||
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td> A (possibly trimmed) copy of <em class="parameter"><code>str</code></em> which should be freed
|
||||
using <code class="function">g_free()</code> when it is not needed any longer.
|
||||
</td>
|
||||
@ -227,9 +217,9 @@ using <code class="function">g_free()</code> when it is not needed any longer.
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2571084"></a><h3>
|
||||
<a name="id2560196"></a><h3>
|
||||
<a name="gimp-escape-uline"></a>gimp_escape_uline ()</h3>
|
||||
<a class="indexterm" name="id2571098"></a><pre class="programlisting">gchar* gimp_escape_uline (const gchar *str);</pre>
|
||||
<a class="indexterm" name="id2560210"></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
|
||||
@ -242,14 +232,12 @@ them to mnemonics.</p>
|
||||
<col align="left" valign="top">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>str</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>str</code></em> :</span></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> :</span></td>
|
||||
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td> A (possibly escaped) copy of <em class="parameter"><code>str</code></em> which should be
|
||||
freed using <code class="function">g_free()</code> when it is not needed any longer.
|
||||
|
||||
@ -262,9 +250,9 @@ freed using <code class="function">g_free()</code> when it is not needed any lon
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2575411"></a><h3>
|
||||
<a name="id2608398"></a><h3>
|
||||
<a name="gimp-strip-uline"></a>gimp_strip_uline ()</h3>
|
||||
<a class="indexterm" name="id2575421"></a><pre class="programlisting">gchar* gimp_strip_uline (const gchar *str);</pre>
|
||||
<a class="indexterm" name="id2608409"></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
|
||||
@ -282,14 +270,12 @@ 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> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>str</code></em> :</span></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> :</span></td>
|
||||
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td> A (possibly stripped) copy of <em class="parameter"><code>str</code></em> which should be
|
||||
freed using <code class="function">g_free()</code> when it is not needed any longer.
|
||||
</td>
|
||||
@ -299,9 +285,9 @@ rid of the mnemonic (see bug <span class="type">157561</span>).</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2575524"></a><h3>
|
||||
<a name="id2608508"></a><h3>
|
||||
<a name="gimp-enum-get-desc"></a>gimp_enum_get_desc ()</h3>
|
||||
<a class="indexterm" name="id2575538"></a><pre class="programlisting"><a href="libgimpbase-gimpbasetypes.html#GimpEnumDesc">GimpEnumDesc</a>* gimp_enum_get_desc (GEnumClass *enum_class,
|
||||
<a class="indexterm" name="id2608522"></a><pre class="programlisting"><a 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 <code class="literal">NULL</code>.</p>
|
||||
@ -312,20 +298,17 @@ Retrieves <a href="libgimpbase-gimpbasetypes.html#GimpEnumDesc"><span class="typ
|
||||
<col align="left" valign="top">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>enum_class</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>enum_class</code></em> :</span></td>
|
||||
<td> a <span class="type">GEnumClass</span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>value</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>value</code></em> :</span></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> :</span></td>
|
||||
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td> the value's <a href="libgimpbase-gimpbasetypes.html#GimpEnumDesc"><span class="type">GimpEnumDesc</span></a>.
|
||||
|
||||
</td>
|
||||
@ -337,9 +320,9 @@ Retrieves <a href="libgimpbase-gimpbasetypes.html#GimpEnumDesc"><span class="typ
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2575639"></a><h3>
|
||||
<a name="id2608646"></a><h3>
|
||||
<a name="gimp-enum-get-value"></a>gimp_enum_get_value ()</h3>
|
||||
<a class="indexterm" name="id2575651"></a><pre class="programlisting">gboolean gimp_enum_get_value (GType enum_type,
|
||||
<a class="indexterm" name="id2608661"></a><pre class="programlisting">gboolean gimp_enum_get_value (GType enum_type,
|
||||
gint value,
|
||||
const gchar **value_name,
|
||||
const gchar **value_nick,
|
||||
@ -357,44 +340,37 @@ and <em class="parameter"><code>value_help</code></em> are not <code class="lite
|
||||
<col align="left" valign="top">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>enum_type</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>enum_type</code></em> :</span></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> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>value</code></em> :</span></td>
|
||||
<td> an integer value
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>value_name</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>value_name</code></em> :</span></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> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>value_nick</code></em> :</span></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> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>value_desc</code></em> :</span></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> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>value_help</code></em> :</span></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> :</span></td>
|
||||
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></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
|
||||
|
||||
@ -407,9 +383,9 @@ and <em class="parameter"><code>value_help</code></em> are not <code class="lite
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2575916"></a><h3>
|
||||
<a name="id2608957"></a><h3>
|
||||
<a name="gimp-enum-value-get-desc"></a>gimp_enum_value_get_desc ()</h3>
|
||||
<a class="indexterm" name="id2575928"></a><pre class="programlisting">const gchar* gimp_enum_value_get_desc (GEnumClass *enum_class,
|
||||
<a class="indexterm" name="id2608970"></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>
|
||||
@ -420,20 +396,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> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>enum_class</code></em> :</span></td>
|
||||
<td> a <span class="type">GEnumClass</span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>enum_value</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>enum_value</code></em> :</span></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> :</span></td>
|
||||
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td> the translated desc of the enum value
|
||||
|
||||
</td>
|
||||
@ -445,9 +418,9 @@ Retrieves the translated desc for a given <em class="parameter"><code>enum_value
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2576030"></a><h3>
|
||||
<a name="id2609085"></a><h3>
|
||||
<a name="gimp-enum-value-get-help"></a>gimp_enum_value_get_help ()</h3>
|
||||
<a class="indexterm" name="id2576043"></a><pre class="programlisting">const gchar* gimp_enum_value_get_help (GEnumClass *enum_class,
|
||||
<a class="indexterm" name="id2609098"></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>
|
||||
@ -458,20 +431,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> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>enum_class</code></em> :</span></td>
|
||||
<td> a <span class="type">GEnumClass</span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>enum_value</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>enum_value</code></em> :</span></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> :</span></td>
|
||||
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td> the translated help of the enum value
|
||||
|
||||
</td>
|
||||
@ -483,9 +453,9 @@ Retrieves the translated help for a given <em class="parameter"><code>enum_value
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2576144"></a><h3>
|
||||
<a name="id2609212"></a><h3>
|
||||
<a name="gimp-flags-get-first-desc"></a>gimp_flags_get_first_desc ()</h3>
|
||||
<a class="indexterm" name="id2576158"></a><pre class="programlisting"><a href="libgimpbase-gimpbasetypes.html#GimpFlagsDesc">GimpFlagsDesc</a>* gimp_flags_get_first_desc (GFlagsClass *flags_class,
|
||||
<a class="indexterm" name="id2609227"></a><pre class="programlisting"><a 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 <code class="literal">NULL</code>.</p>
|
||||
@ -496,20 +466,17 @@ Retrieves the first <a href="libgimpbase-gimpbasetypes.html#GimpFlagsDesc"><span
|
||||
<col align="left" valign="top">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>flags_class</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>flags_class</code></em> :</span></td>
|
||||
<td> a <span class="type">GFlagsClass</span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>value</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>value</code></em> :</span></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> :</span></td>
|
||||
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td> the value's <a href="libgimpbase-gimpbasetypes.html#GimpFlagsDesc"><span class="type">GimpFlagsDesc</span></a>.
|
||||
|
||||
</td>
|
||||
@ -521,9 +488,9 @@ Retrieves the first <a href="libgimpbase-gimpbasetypes.html#GimpFlagsDesc"><span
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2576267"></a><h3>
|
||||
<a name="id2609326"></a><h3>
|
||||
<a name="gimp-flags-get-first-value"></a>gimp_flags_get_first_value ()</h3>
|
||||
<a class="indexterm" name="id2576280"></a><pre class="programlisting">gboolean gimp_flags_get_first_value (GType flags_type,
|
||||
<a class="indexterm" name="id2609339"></a><pre class="programlisting">gboolean gimp_flags_get_first_value (GType flags_type,
|
||||
guint value,
|
||||
const gchar **value_name,
|
||||
const gchar **value_nick,
|
||||
@ -541,44 +508,37 @@ and <em class="parameter"><code>value_help</code></em> are not <code class="lite
|
||||
<col align="left" valign="top">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>flags_type</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>flags_type</code></em> :</span></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> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>value</code></em> :</span></td>
|
||||
<td> an integer value
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>value_name</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>value_name</code></em> :</span></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> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>value_nick</code></em> :</span></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> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>value_desc</code></em> :</span></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> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>value_help</code></em> :</span></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> :</span></td>
|
||||
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></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
|
||||
|
||||
@ -591,9 +551,9 @@ and <em class="parameter"><code>value_help</code></em> are not <code class="lite
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2576545"></a><h3>
|
||||
<a name="id2609603"></a><h3>
|
||||
<a name="gimp-flags-value-get-desc"></a>gimp_flags_value_get_desc ()</h3>
|
||||
<a class="indexterm" name="id2576558"></a><pre class="programlisting">const gchar* gimp_flags_value_get_desc (GFlagsClass *flags_class,
|
||||
<a class="indexterm" name="id2609616"></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>
|
||||
@ -604,20 +564,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> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>flags_class</code></em> :</span></td>
|
||||
<td> a <span class="type">GFlagsClass</span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>flags_value</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>flags_value</code></em> :</span></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> :</span></td>
|
||||
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td> the translated desc of the flags value
|
||||
|
||||
</td>
|
||||
@ -629,9 +586,9 @@ Retrieves the translated desc for a given <em class="parameter"><code>flags_valu
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2576660"></a><h3>
|
||||
<a name="id2609718"></a><h3>
|
||||
<a name="gimp-flags-value-get-help"></a>gimp_flags_value_get_help ()</h3>
|
||||
<a class="indexterm" name="id2576673"></a><pre class="programlisting">const gchar* gimp_flags_value_get_help (GFlagsClass *flags_class,
|
||||
<a class="indexterm" name="id2609731"></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>
|
||||
@ -642,20 +599,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> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>flags_class</code></em> :</span></td>
|
||||
<td> a <span class="type">GFlagsClass</span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>flags_value</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>flags_value</code></em> :</span></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> :</span></td>
|
||||
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td> the translated help of the flags value
|
||||
|
||||
</td>
|
||||
|
||||
@ -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.68.1">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.72.0">
|
||||
<link rel="start" href="index.html" title="GIMP Base Library Reference Manual">
|
||||
<link rel="up" href="libgimpbase.html" title="Part I. GIMP Base Library">
|
||||
<link rel="prev" href="libgimpbase-gimpbasetypes.html" title="gimpbasetypes">
|
||||
@ -21,16 +21,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="#id2524424" class="shortcut">Top</a>
|
||||
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2555732" class="shortcut">Top</a>
|
||||
 | 
|
||||
<a href="#id2533288" class="shortcut">Description</a></nobr></td></tr>
|
||||
<a href="#id2510925" 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="id2524424"></a><span class="refentrytitle">gimpversion</span>
|
||||
<a name="id2555732"></a><span class="refentrytitle">gimpversion</span>
|
||||
</h2>
|
||||
<p>gimpversion — Macros and constants useful for determining GIMP's version number and
|
||||
capabilities.</p>
|
||||
@ -52,7 +52,7 @@ capabilities.</p>
|
||||
</pre>
|
||||
</div>
|
||||
<div class="refsect1" lang="en">
|
||||
<a name="id2533288"></a><h2>Description</h2>
|
||||
<a name="id2510925"></a><h2>Description</h2>
|
||||
<p>
|
||||
Macros and constants useful for determining GIMP's version number and
|
||||
capabilities.
|
||||
@ -60,11 +60,11 @@ capabilities.
|
||||
</p>
|
||||
</div>
|
||||
<div class="refsect1" lang="en">
|
||||
<a name="id2539722"></a><h2>Details</h2>
|
||||
<a name="id2563862"></a><h2>Details</h2>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2539732"></a><h3>
|
||||
<a name="id2563872"></a><h3>
|
||||
<a name="GIMP-MAJOR-VERSION:CAPS"></a>GIMP_MAJOR_VERSION</h3>
|
||||
<a class="indexterm" name="id2539744"></a><pre class="programlisting">#define GIMP_MAJOR_VERSION (2)
|
||||
<a class="indexterm" name="id2563884"></a><pre class="programlisting">#define GIMP_MAJOR_VERSION (2)
|
||||
</pre>
|
||||
<p>
|
||||
|
||||
@ -72,9 +72,9 @@ capabilities.
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2539759"></a><h3>
|
||||
<a name="id2563900"></a><h3>
|
||||
<a name="GIMP-MINOR-VERSION:CAPS"></a>GIMP_MINOR_VERSION</h3>
|
||||
<a class="indexterm" name="id2539771"></a><pre class="programlisting">#define GIMP_MINOR_VERSION (2)
|
||||
<a class="indexterm" name="id2563911"></a><pre class="programlisting">#define GIMP_MINOR_VERSION (2)
|
||||
</pre>
|
||||
<p>
|
||||
|
||||
@ -82,9 +82,9 @@ capabilities.
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2539786"></a><h3>
|
||||
<a name="id2563928"></a><h3>
|
||||
<a name="GIMP-MICRO-VERSION:CAPS"></a>GIMP_MICRO_VERSION</h3>
|
||||
<a class="indexterm" name="id2539798"></a><pre class="programlisting">#define GIMP_MICRO_VERSION (13)
|
||||
<a class="indexterm" name="id2563939"></a><pre class="programlisting">#define GIMP_MICRO_VERSION (14)
|
||||
</pre>
|
||||
<p>
|
||||
|
||||
@ -92,9 +92,9 @@ capabilities.
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2539815"></a><h3>
|
||||
<a name="id2563956"></a><h3>
|
||||
<a name="GIMP-VERSION:CAPS"></a>GIMP_VERSION</h3>
|
||||
<a class="indexterm" name="id2539827"></a><pre class="programlisting">#define GIMP_VERSION "2.2.13"
|
||||
<a class="indexterm" name="id2563968"></a><pre class="programlisting">#define GIMP_VERSION "2.2.14"
|
||||
</pre>
|
||||
<p>
|
||||
|
||||
@ -102,9 +102,9 @@ capabilities.
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2545398"></a><h3>
|
||||
<a name="id2571502"></a><h3>
|
||||
<a name="GIMP-API-VERSION:CAPS"></a>GIMP_API_VERSION</h3>
|
||||
<a class="indexterm" name="id2545410"></a><pre class="programlisting">#define GIMP_API_VERSION "2.0"
|
||||
<a class="indexterm" name="id2571514"></a><pre class="programlisting">#define GIMP_API_VERSION "2.0"
|
||||
</pre>
|
||||
<p>
|
||||
Since: GIMP 2.2
|
||||
@ -112,9 +112,9 @@ Since: GIMP 2.2
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2545426"></a><h3>
|
||||
<a name="id2571531"></a><h3>
|
||||
<a name="GIMP-CHECK-VERSION:CAPS"></a>GIMP_CHECK_VERSION()</h3>
|
||||
<a class="indexterm" name="id2545438"></a><pre class="programlisting">#define GIMP_CHECK_VERSION(major, minor, micro)</pre>
|
||||
<a class="indexterm" name="id2571542"></a><pre class="programlisting">#define GIMP_CHECK_VERSION(major, minor, micro)</pre>
|
||||
<p>
|
||||
|
||||
</p>
|
||||
@ -122,20 +122,17 @@ Since: GIMP 2.2
|
||||
<col align="left" valign="top">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>major</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>major</code></em> :</span></td>
|
||||
<td>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>minor</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>minor</code></em> :</span></td>
|
||||
<td>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>micro</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>micro</code></em> :</span></td>
|
||||
<td>
|
||||
|
||||
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@ -3,7 +3,7 @@
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
|
||||
<title>Part I. GIMP Base Library</title>
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.68.1">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.72.0">
|
||||
<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">
|
||||
@ -21,6 +21,6 @@
|
||||
<td><a accesskey="n" href="libgimpbase-gimpbaseenums.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
|
||||
</tr></table>
|
||||
<div class="part" lang="en"><div class="titlepage"><div><div><h1 class="title">
|
||||
<a name="libgimpbase"></a>GIMP Base Library</h1></div></div></div></div>
|
||||
<a name="libgimpbase"></a>Part I. GIMP Base Library</h1></div></div></div></div>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user