Imported Upstream version 2.3.11

This commit is contained in:
Ari Pollak
2010-08-11 01:20:03 -04:00
parent efbc58ed09
commit 79785b4adf
1382 changed files with 88625 additions and 63323 deletions

View File

@ -3,12 +3,12 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>gimp</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.68.1">
<meta name="generator" content="DocBook XSL Stylesheets V1.70.1">
<link rel="start" href="index.html" title="GIMP Library Reference Manual">
<link rel="up" href="libgimp-general.html" title="Functions not Related to Specific Images">
<link rel="prev" href="libgimp-general.html" title="Functions not Related to Specific Images">
<link rel="next" href="libgimp-gimpbuffer.html" title="gimpbuffer">
<meta name="generator" content="GTK-Doc V1.6 (XML mode)">
<meta name="generator" content="GTK-Doc V1.7 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
<link rel="part" href="gimpdefinitions.html" title="Part&#160;I.&#160;GIMP Constants">
<link rel="part" href="libgimp.html" title="Part&#160;II.&#160;GIMP Library">
@ -32,22 +32,24 @@
<th width="100%" align="center">GIMP Library Reference Manual</th>
<td><a accesskey="n" href="libgimp-gimpbuffer.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="#top_of_page" class="shortcut">Top</a>
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2578119" class="shortcut">Top</a>
&#160;|&#160;
<a href="#desc" class="shortcut">Description</a></nobr></td></tr>
<a href="#id2603234" class="shortcut">Description</a></nobr></td></tr>
</table>
<div class="refentry" lang="en">
<a name="libgimp-gimp"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="top_of_page"></a>gimp</span></h2>
<h2>
<a name="id2578119"></a><span class="refentrytitle">gimp</span>
</h2>
<p>gimp &#8212; Main functions needed for building a GIMP plug-in. This header includes
all other GIMP Library headers.</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv">
<a name="synopsis"></a><h2>Synopsis</h2>
<h2>Synopsis</h2>
<pre class="synopsis">
@ -125,7 +127,7 @@ void <a href="libgimp-gimp.html#gimp-destroy-paramdefs">gimp_destroy_para
guint <a href="libgimp-gimp.html#gimp-tile-width">gimp_tile_width</a> (void);
guint <a href="libgimp-gimp.html#gimp-tile-height">gimp_tile_height</a> (void);
gint <a href="libgimp-gimp.html#gimp-shm-ID">gimp_shm_ID</a> (void);
const guchar* <a href="libgimp-gimp.html#gimp-shm-addr">gimp_shm_addr</a> (void);
guchar* <a href="libgimp-gimp.html#gimp-shm-addr">gimp_shm_addr</a> (void);
gdouble <a href="libgimp-gimp.html#gimp-gamma">gimp_gamma</a> (void);
gboolean <a href="libgimp-gimp.html#gimp-install-cmap">gimp_install_cmap</a> (void);
gint <a href="libgimp-gimp.html#gimp-min-colors">gimp_min_colors</a> (void);
@ -161,7 +163,7 @@ gboolean <a href="libgimp-gimp.html#gimp-attach-new-parasite">gimp_attach_new
</pre>
</div>
<div class="refsect1" lang="en">
<a name="desc"></a><h2>Description</h2>
<a name="id2603234"></a><h2>Description</h2>
<p>
Main functions needed for building a GIMP plug-in. This header includes
all other GIMP Library headers.
@ -169,20 +171,20 @@ all other GIMP Library headers.
</p>
</div>
<div class="refsect1" lang="en">
<a name="details"></a><h2>Details</h2>
<a name="id2603250"></a><h2>Details</h2>
<div class="refsect2" lang="en">
<a name="id2570189"></a><h3>
<a name="id2603259"></a><h3>
<a name="GIMPVAR:CAPS"></a>GIMPVAR</h3>
<a class="indexterm" name="id2570200"></a><pre class="programlisting">#define GIMPVAR</pre>
<a class="indexterm" name="id2603270"></a><pre class="programlisting">#define GIMPVAR</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2570213"></a><h3>
<a name="id2603283"></a><h3>
<a name="gimp-version"></a>gimp_version ()</h3>
<a class="indexterm" name="id2570224"></a><pre class="programlisting">gchar* gimp_version (void);</pre>
<a class="indexterm" name="id2603294"></a><pre class="programlisting">gchar* gimp_version (void);</pre>
<p>
Returns the host gimp version.
</p>
@ -204,9 +206,9 @@ gimp.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2570264"></a><h3>
<a name="id2603334"></a><h3>
<a name="gimp-getpid"></a>gimp_getpid ()</h3>
<a class="indexterm" name="id2570276"></a><pre class="programlisting">gint gimp_getpid (void);</pre>
<a class="indexterm" name="id2603346"></a><pre class="programlisting">gint gimp_getpid (void);</pre>
<p>
Returns the PID of the host gimp process.
</p>
@ -230,9 +232,9 @@ This procedure returns the process ID of the currently running gimp.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2570321"></a><h3>
<a name="id2603390"></a><h3>
<a name="gimp-major-version"></a>gimp_major_version</h3>
<a class="indexterm" name="id2570331"></a><pre class="programlisting">extern const guint gimp_major_version;
<a class="indexterm" name="id2603401"></a><pre class="programlisting">extern const guint gimp_major_version;
</pre>
<p>
@ -240,9 +242,9 @@ This procedure returns the process ID of the currently running gimp.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2570345"></a><h3>
<a name="id2603414"></a><h3>
<a name="gimp-minor-version"></a>gimp_minor_version</h3>
<a class="indexterm" name="id2570355"></a><pre class="programlisting">extern const guint gimp_minor_version;
<a class="indexterm" name="id2603425"></a><pre class="programlisting">extern const guint gimp_minor_version;
</pre>
<p>
@ -250,9 +252,9 @@ This procedure returns the process ID of the currently running gimp.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2570369"></a><h3>
<a name="id2603438"></a><h3>
<a name="gimp-micro-version"></a>gimp_micro_version</h3>
<a class="indexterm" name="id2570379"></a><pre class="programlisting">extern const guint gimp_micro_version;
<a class="indexterm" name="id2603449"></a><pre class="programlisting">extern const guint gimp_micro_version;
</pre>
<p>
@ -260,9 +262,9 @@ This procedure returns the process ID of the currently running gimp.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2570393"></a><h3>
<a name="id2603462"></a><h3>
<a name="gimp-get-data"></a>gimp_get_data</h3>
<a class="indexterm" name="id2570403"></a><pre class="programlisting">#define gimp_get_data gimp_procedural_db_get_data
<a class="indexterm" name="id2603473"></a><pre class="programlisting">#define gimp_get_data gimp_procedural_db_get_data
</pre>
<p>
@ -270,9 +272,9 @@ This procedure returns the process ID of the currently running gimp.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2570418"></a><h3>
<a name="id2603487"></a><h3>
<a name="gimp-get-data-size"></a>gimp_get_data_size</h3>
<a class="indexterm" name="id2570428"></a><pre class="programlisting">#define gimp_get_data_size gimp_procedural_db_get_data_size
<a class="indexterm" name="id2603498"></a><pre class="programlisting">#define gimp_get_data_size gimp_procedural_db_get_data_size
</pre>
<p>
@ -291,9 +293,9 @@ This procedure returns the process ID of the currently running gimp.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2570457"></a><h3>
<a name="id2603526"></a><h3>
<a name="gimp-set-data"></a>gimp_set_data</h3>
<a class="indexterm" name="id2570467"></a><pre class="programlisting">#define gimp_set_data gimp_procedural_db_set_data
<a class="indexterm" name="id2603537"></a><pre class="programlisting">#define gimp_set_data gimp_procedural_db_set_data
</pre>
<p>
@ -301,36 +303,36 @@ This procedure returns the process ID of the currently running gimp.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2570482"></a><h3>
<a name="id2603551"></a><h3>
<a name="GimpInitProc"></a>GimpInitProc ()</h3>
<a class="indexterm" name="id2570492"></a><pre class="programlisting">void (*GimpInitProc) (void);</pre>
<a class="indexterm" name="id2603562"></a><pre class="programlisting">void (*GimpInitProc) (void);</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2570511"></a><h3>
<a name="id2603580"></a><h3>
<a name="GimpQuitProc"></a>GimpQuitProc ()</h3>
<a class="indexterm" name="id2570521"></a><pre class="programlisting">void (*GimpQuitProc) (void);</pre>
<a class="indexterm" name="id2603591"></a><pre class="programlisting">void (*GimpQuitProc) (void);</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2570540"></a><h3>
<a name="id2603610"></a><h3>
<a name="GimpQueryProc"></a>GimpQueryProc ()</h3>
<a class="indexterm" name="id2570550"></a><pre class="programlisting">void (*GimpQueryProc) (void);</pre>
<a class="indexterm" name="id2603620"></a><pre class="programlisting">void (*GimpQueryProc) (void);</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2570569"></a><h3>
<a name="id2603639"></a><h3>
<a name="GimpRunProc"></a>GimpRunProc ()</h3>
<a class="indexterm" name="id2570579"></a><pre class="programlisting">void (*GimpRunProc) (const gchar *name,
<a class="indexterm" name="id2603649"></a><pre class="programlisting">void (*GimpRunProc) (const gchar *name,
gint n_params,
const <a href="libgimp-gimp.html#GimpParam">GimpParam</a> *param,
gint *n_return_vals,
@ -378,9 +380,9 @@ This procedure returns the process ID of the currently running gimp.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2570696"></a><h3>
<a name="id2603766"></a><h3>
<a name="GimpPlugInInfo"></a>GimpPlugInInfo</h3>
<a class="indexterm" name="id2570706"></a><pre class="programlisting">typedef struct {
<a class="indexterm" name="id2603776"></a><pre class="programlisting">typedef struct {
/* called when the gimp application initially starts up */
GimpInitProc init_proc;
@ -405,9 +407,9 @@ This procedure returns the process ID of the currently running gimp.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2570728"></a><h3>
<a name="id2603798"></a><h3>
<a name="GimpParamDef"></a>GimpParamDef</h3>
<a class="indexterm" name="id2570739"></a><pre class="programlisting">typedef struct {
<a class="indexterm" name="id2603808"></a><pre class="programlisting">typedef struct {
GimpPDBArgType type;
gchar *name;
gchar *description;
@ -419,9 +421,9 @@ This procedure returns the process ID of the currently running gimp.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2570754"></a><h3>
<a name="id2603824"></a><h3>
<a name="GimpParamRegion"></a>GimpParamRegion</h3>
<a class="indexterm" name="id2570765"></a><pre class="programlisting">typedef struct {
<a class="indexterm" name="id2603834"></a><pre class="programlisting">typedef struct {
gint32 x;
gint32 y;
gint32 width;
@ -434,9 +436,9 @@ This procedure returns the process ID of the currently running gimp.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2570780"></a><h3>
<a name="id2603850"></a><h3>
<a name="GimpParamData"></a>union GimpParamData</h3>
<a class="indexterm" name="id2570790"></a><pre class="programlisting">union GimpParamData
<a class="indexterm" name="id2603860"></a><pre class="programlisting">union GimpParamData
{
gint32 d_int32;
gint16 d_int16;
@ -472,9 +474,9 @@ This procedure returns the process ID of the currently running gimp.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2570818"></a><h3>
<a name="id2603888"></a><h3>
<a name="GimpParam"></a>GimpParam</h3>
<a class="indexterm" name="id2570829"></a><pre class="programlisting">typedef struct {
<a class="indexterm" name="id2603898"></a><pre class="programlisting">typedef struct {
GimpPDBArgType type;
GimpParamData data;
} GimpParam;
@ -485,9 +487,9 @@ This procedure returns the process ID of the currently running gimp.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2570844"></a><h3>
<a name="id2603914"></a><h3>
<a name="MAIN:CAPS"></a>MAIN()</h3>
<a class="indexterm" name="id2570854"></a><pre class="programlisting">#define MAIN()</pre>
<a class="indexterm" name="id2603924"></a><pre class="programlisting">#define MAIN()</pre>
<p>
A macro that expands to the appropriate <code class="function">main()</code> function for the
platform being compiled for.
@ -501,9 +503,9 @@ To use this macro, simply place a line that contains just the code
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2570894"></a><h3>
<a name="id2603964"></a><h3>
<a name="gimp-main"></a>gimp_main ()</h3>
<a class="indexterm" name="id2570905"></a><pre class="programlisting">gint gimp_main (const <a href="libgimp-gimp.html#GimpPlugInInfo">GimpPlugInInfo</a> *info,
<a class="indexterm" name="id2603974"></a><pre class="programlisting">gint gimp_main (const <a href="libgimp-gimp.html#GimpPlugInInfo">GimpPlugInInfo</a> *info,
gint argc,
gchar *argv[]);</pre>
<p>
@ -544,9 +546,9 @@ and the 'argc' and 'argv' that are passed to "main".</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2570998"></a><h3>
<a name="id2604068"></a><h3>
<a name="gimp-quit"></a>gimp_quit ()</h3>
<a class="indexterm" name="id2571009"></a><pre class="programlisting">void gimp_quit (void);</pre>
<a class="indexterm" name="id2604078"></a><pre class="programlisting">void gimp_quit (void);</pre>
<p>
Forcefully causes the gimp library to exit and close down its
connection to main gimp application. This function never returns.</p>
@ -556,9 +558,9 @@ connection to main gimp application. This function never returns.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2571033"></a><h3>
<a name="id2604102"></a><h3>
<a name="gimp-install-procedure"></a>gimp_install_procedure ()</h3>
<a class="indexterm" name="id2571043"></a><pre class="programlisting">void gimp_install_procedure (const gchar *name,
<a class="indexterm" name="id2604113"></a><pre class="programlisting">void gimp_install_procedure (const gchar *name,
const gchar *blurb,
const gchar *help,
const gchar *author,
@ -712,9 +714,9 @@ that will be automatically started on each GIMP startup.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2571534"></a><h3>
<a name="id2604600"></a><h3>
<a name="gimp-install-temp-proc"></a>gimp_install_temp_proc ()</h3>
<a class="indexterm" name="id2571544"></a><pre class="programlisting">void gimp_install_temp_proc (const gchar *name,
<a class="indexterm" name="id2604610"></a><pre class="programlisting">void gimp_install_temp_proc (const gchar *name,
const gchar *blurb,
const gchar *help,
const gchar *author,
@ -852,9 +854,9 @@ details.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2571931"></a><h3>
<a name="id2604996"></a><h3>
<a name="gimp-uninstall-temp-proc"></a>gimp_uninstall_temp_proc ()</h3>
<a class="indexterm" name="id2571942"></a><pre class="programlisting">void gimp_uninstall_temp_proc (const gchar *name);</pre>
<a class="indexterm" name="id2605006"></a><pre class="programlisting">void gimp_uninstall_temp_proc (const gchar *name);</pre>
<p>
Uninstalls a temporary procedure which has previously been
installed using <a href="libgimp-gimp.html#gimp-install-temp-proc"><code class="function">gimp_install_temp_proc()</code></a>.</p>
@ -873,9 +875,9 @@ installed using <a href="libgimp-gimp.html#gimp-install-temp-proc"><code class="
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2571995"></a><h3>
<a name="id2605060"></a><h3>
<a name="gimp-run-procedure"></a>gimp_run_procedure ()</h3>
<a class="indexterm" name="id2572006"></a><pre class="programlisting"><a href="libgimp-gimp.html#GimpParam">GimpParam</a>* gimp_run_procedure (const gchar *name,
<a class="indexterm" name="id2605070"></a><pre class="programlisting"><a href="libgimp-gimp.html#GimpParam">GimpParam</a>* gimp_run_procedure (const gchar *name,
gint *n_return_vals,
...);</pre>
<p>
@ -924,9 +926,9 @@ information.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2572122"></a><h3>
<a name="id2605186"></a><h3>
<a name="gimp-run-procedure2"></a>gimp_run_procedure2 ()</h3>
<a class="indexterm" name="id2572132"></a><pre class="programlisting"><a href="libgimp-gimp.html#GimpParam">GimpParam</a>* gimp_run_procedure2 (const gchar *name,
<a class="indexterm" name="id2605197"></a><pre class="programlisting"><a href="libgimp-gimp.html#GimpParam">GimpParam</a>* gimp_run_procedure2 (const gchar *name,
gint *n_return_vals,
gint n_params,
const <a href="libgimp-gimp.html#GimpParam">GimpParam</a> *params);</pre>
@ -980,9 +982,9 @@ free them using <a href="libgimp-gimp.html#gimp-destroy-params"><code class="fun
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2572264"></a><h3>
<a name="id2605329"></a><h3>
<a name="gimp-destroy-params"></a>gimp_destroy_params ()</h3>
<a class="indexterm" name="id2572275"></a><pre class="programlisting">void gimp_destroy_params (<a href="libgimp-gimp.html#GimpParam">GimpParam</a> *params,
<a class="indexterm" name="id2605339"></a><pre class="programlisting">void gimp_destroy_params (<a href="libgimp-gimp.html#GimpParam">GimpParam</a> *params,
gint n_params);</pre>
<p>
Destroys a <a href="libgimp-gimp.html#GimpParam"><span class="type">GimpParam</span></a> array as returned by <a href="libgimp-gimp.html#gimp-run-procedure"><code class="function">gimp_run_procedure()</code></a> or
@ -1010,9 +1012,9 @@ Destroys a <a href="libgimp-gimp.html#GimpParam"><span class="type">GimpParam</s
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2572367"></a><h3>
<a name="id2605432"></a><h3>
<a name="gimp-destroy-paramdefs"></a>gimp_destroy_paramdefs ()</h3>
<a class="indexterm" name="id2572378"></a><pre class="programlisting">void gimp_destroy_paramdefs (<a href="libgimp-gimp.html#GimpParamDef">GimpParamDef</a> *paramdefs,
<a class="indexterm" name="id2605442"></a><pre class="programlisting">void gimp_destroy_paramdefs (<a href="libgimp-gimp.html#GimpParamDef">GimpParamDef</a> *paramdefs,
gint n_params);</pre>
<p>
Destroys a <a href="libgimp-gimp.html#GimpParamDef"><span class="type">GimpParamDef</span></a> array as returned by <code class="function">gimp_query_procedure()</code></p>
@ -1039,9 +1041,9 @@ Destroys a <a href="libgimp-gimp.html#GimpParamDef"><span class="type">GimpParam
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2572461"></a><h3>
<a name="id2605525"></a><h3>
<a name="gimp-tile-width"></a>gimp_tile_width ()</h3>
<a class="indexterm" name="id2572471"></a><pre class="programlisting">guint gimp_tile_width (void);</pre>
<a class="indexterm" name="id2605536"></a><pre class="programlisting">guint gimp_tile_width (void);</pre>
<p>
Returns the tile_width the GIMP is using. This is a constant value
given at Plug-In config time.</p>
@ -1060,9 +1062,9 @@ given at Plug-In config time.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2572508"></a><h3>
<a name="id2605573"></a><h3>
<a name="gimp-tile-height"></a>gimp_tile_height ()</h3>
<a class="indexterm" name="id2572519"></a><pre class="programlisting">guint gimp_tile_height (void);</pre>
<a class="indexterm" name="id2605584"></a><pre class="programlisting">guint gimp_tile_height (void);</pre>
<p>
Returns the tile_height the GIMP is using. This is a constant value
given at Plug-In config time.</p>
@ -1081,9 +1083,9 @@ given at Plug-In config time.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2572556"></a><h3>
<a name="id2605621"></a><h3>
<a name="gimp-shm-ID"></a>gimp_shm_ID ()</h3>
<a class="indexterm" name="id2572567"></a><pre class="programlisting">gint gimp_shm_ID (void);</pre>
<a class="indexterm" name="id2605632"></a><pre class="programlisting">gint gimp_shm_ID (void);</pre>
<p>
Returns the shared memory ID used for passing tile data between the GIMP
core and the Plug-In. This is a constant value
@ -1103,9 +1105,9 @@ given at Plug-In config time.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2572606"></a><h3>
<a name="id2605675"></a><h3>
<a name="gimp-shm-addr"></a>gimp_shm_addr ()</h3>
<a class="indexterm" name="id2572619"></a><pre class="programlisting">const guchar* gimp_shm_addr (void);</pre>
<a class="indexterm" name="id2605688"></a><pre class="programlisting">guchar* gimp_shm_addr (void);</pre>
<p>
Returns the address of the shared memory segment used for passing
tile data between the GIMP core and the Plug-In. This is a constant
@ -1125,9 +1127,9 @@ value given at Plug-In config time.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2572663"></a><h3>
<a name="id2605731"></a><h3>
<a name="gimp-gamma"></a>gimp_gamma ()</h3>
<a class="indexterm" name="id2572676"></a><pre class="programlisting">gdouble gimp_gamma (void);</pre>
<a class="indexterm" name="id2605744"></a><pre class="programlisting">gdouble gimp_gamma (void);</pre>
<p>
Returns the global gamma value the GIMP and all its Plug-Ins should
use. This is a constant value given at Plug-In config time.
@ -1149,9 +1151,9 @@ NOTE: this feature is unimplemented.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2572723"></a><h3>
<a name="id2605791"></a><h3>
<a name="gimp-install-cmap"></a>gimp_install_cmap ()</h3>
<a class="indexterm" name="id2572736"></a><pre class="programlisting">gboolean gimp_install_cmap (void);</pre>
<a class="indexterm" name="id2605804"></a><pre class="programlisting">gboolean gimp_install_cmap (void);</pre>
<p>
Returns whether or not the Plug-In should allocate an own colormap
when running on an 8 bit display. This is a constant value given at
@ -1174,9 +1176,9 @@ See also: <a href="libgimp-gimp.html#gimp-min-colors"><code class="function">gim
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2572791"></a><h3>
<a name="id2605859"></a><h3>
<a name="gimp-min-colors"></a>gimp_min_colors ()</h3>
<a class="indexterm" name="id2572804"></a><pre class="programlisting">gint gimp_min_colors (void);</pre>
<a class="indexterm" name="id2605872"></a><pre class="programlisting">gint gimp_min_colors (void);</pre>
<p>
Returns the minimum number of colors to use when allocating an own
colormap on 8 bit displays. This is a constant value given at
@ -1199,9 +1201,9 @@ See also: <a href="libgimp-gimp.html#gimp-install-cmap"><code class="function">g
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2572859"></a><h3>
<a name="id2605927"></a><h3>
<a name="gimp-show-tool-tips"></a>gimp_show_tool_tips ()</h3>
<a class="indexterm" name="id2572872"></a><pre class="programlisting">gboolean gimp_show_tool_tips (void);</pre>
<a class="indexterm" name="id2605940"></a><pre class="programlisting">gboolean gimp_show_tool_tips (void);</pre>
<p>
Returns whether or not the Plug-In should show tooltips. This is a
constant value given at Plug-In config time.</p>
@ -1220,9 +1222,9 @@ constant value given at Plug-In config time.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2572914"></a><h3>
<a name="id2605982"></a><h3>
<a name="gimp-show-help-button"></a>gimp_show_help_button ()</h3>
<a class="indexterm" name="id2572930"></a><pre class="programlisting">gboolean gimp_show_help_button (void);</pre>
<a class="indexterm" name="id2605998"></a><pre class="programlisting">gboolean gimp_show_help_button (void);</pre>
<p>
Returns whether or not GimpDialog should automatically add a help
button if help_func and help_id are given.</p>
@ -1244,9 +1246,9 @@ button if help_func and help_id are given.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2572977"></a><h3>
<a name="id2606045"></a><h3>
<a name="gimp-check-size"></a>gimp_check_size ()</h3>
<a class="indexterm" name="id2572992"></a><pre class="programlisting"><a
<a class="indexterm" name="id2606060"></a><pre class="programlisting"><a
href="../libgimpbase/libgimpbase-gimpbaseenums.html#GimpCheckSize"
>GimpCheckSize</a> gimp_check_size (void);</pre>
<p>
@ -1270,9 +1272,9 @@ This is a constant value given at Plug-In config time.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2573039"></a><h3>
<a name="id2606107"></a><h3>
<a name="gimp-check-type"></a>gimp_check_type ()</h3>
<a class="indexterm" name="id2573054"></a><pre class="programlisting"><a
<a class="indexterm" name="id2606122"></a><pre class="programlisting"><a
href="../libgimpbase/libgimpbase-gimpbaseenums.html#GimpCheckType"
>GimpCheckType</a> gimp_check_type (void);</pre>
<p>
@ -1296,9 +1298,9 @@ This is a constant value given at Plug-In config time.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2573102"></a><h3>
<a name="id2606170"></a><h3>
<a name="gimp-default-display"></a>gimp_default_display ()</h3>
<a class="indexterm" name="id2573116"></a><pre class="programlisting">gint32 gimp_default_display (void);</pre>
<a class="indexterm" name="id2606184"></a><pre class="programlisting">gint32 gimp_default_display (void);</pre>
<p>
Returns the default display ID. This corresponds to the display the
running procedure's menu entry was invoked from. This is a
@ -1318,9 +1320,9 @@ constant value given at Plug-In config time.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2573159"></a><h3>
<a name="id2606227"></a><h3>
<a name="gimp-wm-class"></a>gimp_wm_class ()</h3>
<a class="indexterm" name="id2573172"></a><pre class="programlisting">const gchar* gimp_wm_class (void);</pre>
<a class="indexterm" name="id2606240"></a><pre class="programlisting">const gchar* gimp_wm_class (void);</pre>
<p>
Returns the window manager class to be used for plug-in windows.
This is a constant value given at Plug-In config time.</p>
@ -1339,9 +1341,9 @@ This is a constant value given at Plug-In config time.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2573216"></a><h3>
<a name="id2606284"></a><h3>
<a name="gimp-display-name"></a>gimp_display_name ()</h3>
<a class="indexterm" name="id2573229"></a><pre class="programlisting">const gchar* gimp_display_name (void);</pre>
<a class="indexterm" name="id2606297"></a><pre class="programlisting">const gchar* gimp_display_name (void);</pre>
<p>
Returns the display to be used for plug-in windows.
This is a constant value given at Plug-In config time.</p>
@ -1360,9 +1362,9 @@ This is a constant value given at Plug-In config time.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2573272"></a><h3>
<a name="id2606340"></a><h3>
<a name="gimp-monitor-number"></a>gimp_monitor_number ()</h3>
<a class="indexterm" name="id2573286"></a><pre class="programlisting">gint gimp_monitor_number (void);</pre>
<a class="indexterm" name="id2606354"></a><pre class="programlisting">gint gimp_monitor_number (void);</pre>
<p>
Returns the monitor number to be used for plug-in windows.
This is a constant value given at Plug-In config time.</p>
@ -1381,9 +1383,9 @@ This is a constant value given at Plug-In config time.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2573328"></a><h3>
<a name="id2606396"></a><h3>
<a name="gimp-get-progname"></a>gimp_get_progname ()</h3>
<a class="indexterm" name="id2573341"></a><pre class="programlisting">const gchar* gimp_get_progname (void);</pre>
<a class="indexterm" name="id2606409"></a><pre class="programlisting">const gchar* gimp_get_progname (void);</pre>
<p>
Returns the Plug-In's executable name.</p>
<p>
@ -1401,9 +1403,9 @@ Returns the Plug-In's executable name.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2573383"></a><h3>
<a name="id2606451"></a><h3>
<a name="gimp-extension-enable"></a>gimp_extension_enable ()</h3>
<a class="indexterm" name="id2573396"></a><pre class="programlisting">void gimp_extension_enable (void);</pre>
<a class="indexterm" name="id2606464"></a><pre class="programlisting">void gimp_extension_enable (void);</pre>
<p>
Enables asnychronous processing of messages from the main GIMP
application.
@ -1437,9 +1439,9 @@ See also: <a href="libgimp-gimp.html#gimp-install-procedure"><code class="functi
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2573522"></a><h3>
<a name="id2606590"></a><h3>
<a name="gimp-extension-ack"></a>gimp_extension_ack ()</h3>
<a class="indexterm" name="id2573536"></a><pre class="programlisting">void gimp_extension_ack (void);</pre>
<a class="indexterm" name="id2606604"></a><pre class="programlisting">void gimp_extension_ack (void);</pre>
<p>
Notify the main GIMP application that the extension has been properly
initialized and is ready to run.
@ -1461,9 +1463,9 @@ See also: <a href="libgimp-gimp.html#gimp-install-procedure"><code class="functi
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2573624"></a><h3>
<a name="id2606692"></a><h3>
<a name="gimp-extension-process"></a>gimp_extension_process ()</h3>
<a class="indexterm" name="id2573638"></a><pre class="programlisting">void gimp_extension_process (guint timeout);</pre>
<a class="indexterm" name="id2606706"></a><pre class="programlisting">void gimp_extension_process (guint timeout);</pre>
<p>
Processes one message sent by the GIMP and returns.
</p>
@ -1493,9 +1495,9 @@ See also: <a href="libgimp-gimp.html#gimp-install-procedure"><code class="functi
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2573750"></a><h3>
<a name="id2606818"></a><h3>
<a name="gimp-parasite-find"></a>gimp_parasite_find ()</h3>
<a class="indexterm" name="id2573764"></a><pre class="programlisting"><a
<a class="indexterm" name="id2606832"></a><pre class="programlisting"><a
href="../libgimpbase/libgimpbase-gimpparasite.html#GimpParasite"
>GimpParasite</a>* gimp_parasite_find (const gchar *name);</pre>
<p>
@ -1527,9 +1529,9 @@ the gimp.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2573830"></a><h3>
<a name="id2606898"></a><h3>
<a name="gimp-parasite-list"></a>gimp_parasite_list ()</h3>
<a class="indexterm" name="id2573844"></a><pre class="programlisting">gboolean gimp_parasite_list (gint *num_parasites,
<a class="indexterm" name="id2606912"></a><pre class="programlisting">gboolean gimp_parasite_list (gint *num_parasites,
gchar ***parasites);</pre>
<p>
List all parasites.
@ -1565,9 +1567,9 @@ Returns a list of all currently attached parasites.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2573931"></a><h3>
<a name="id2606999"></a><h3>
<a name="gimp-parasite-attach"></a>gimp_parasite_attach ()</h3>
<a class="indexterm" name="id2573944"></a><pre class="programlisting">gboolean gimp_parasite_attach (const <a
<a class="indexterm" name="id2607012"></a><pre class="programlisting">gboolean gimp_parasite_attach (const <a
href="../libgimpbase/libgimpbase-gimpparasite.html#GimpParasite"
>GimpParasite</a> *parasite);</pre>
<p>
@ -1599,9 +1601,9 @@ values.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2574011"></a><h3>
<a name="id2607079"></a><h3>
<a name="gimp-parasite-detach"></a>gimp_parasite_detach ()</h3>
<a class="indexterm" name="id2574024"></a><pre class="programlisting">gboolean gimp_parasite_detach (const gchar *name);</pre>
<a class="indexterm" name="id2607092"></a><pre class="programlisting">gboolean gimp_parasite_detach (const gchar *name);</pre>
<p>
Removes a parasite from the gimp.
</p>
@ -1631,9 +1633,9 @@ values.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2574091"></a><h3>
<a name="id2607159"></a><h3>
<a name="gimp-attach-new-parasite"></a>gimp_attach_new_parasite ()</h3>
<a class="indexterm" name="id2574104"></a><pre class="programlisting">gboolean gimp_attach_new_parasite (const gchar *name,
<a class="indexterm" name="id2607172"></a><pre class="programlisting">gboolean gimp_attach_new_parasite (const gchar *name,
gint flags,
gint size,
gconstpointer data);</pre>