Imported Upstream version 2.4.0

This commit is contained in:
Ari Pollak
2010-08-11 01:23:21 -04:00
parent f35d8506c6
commit 258b1471f0
781 changed files with 98804 additions and 57910 deletions

View File

@ -3,12 +3,12 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>gimpconfig-path</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.72.0">
<meta name="generator" content="DocBook XSL Stylesheets V1.73.2">
<link rel="start" href="index.html" title="GIMP Config Library Reference Manual">
<link rel="up" href="libgimpconfig.html" title="Part&#160;I.&#160;GIMP Config Library">
<link rel="prev" href="libgimpconfig-gimpconfig-params.html" title="gimpconfig-params">
<link rel="next" href="libgimpconfig-gimpconfig-utils.html" title="gimpconfig-utils">
<meta name="generator" content="GTK-Doc V1.8 (XML mode)">
<meta name="generator" content="GTK-Doc V1.9 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
<link rel="part" href="libgimpconfig.html" title="Part&#160;I.&#160;GIMP Config Library">
<link rel="chapter" href="libgimpconfig-hierarchy.html" title="Object Hierarchy">
@ -25,16 +25,16 @@
<th width="100%" align="center">GIMP Config Library Reference Manual</th>
<td><a accesskey="n" href="libgimpconfig-gimpconfig-utils.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="#id2586091" class="shortcut">Top</a>
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2575780" class="shortcut">Top</a>
&#160;|&#160;
<a href="#id2556842" class="shortcut">Description</a></nobr></td></tr>
<a href="#id2593783" class="shortcut">Description</a></nobr></td></tr>
</table>
<div class="refentry" lang="en">
<a name="libgimpconfig-gimpconfig-path"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2>
<a name="id2586091"></a><span class="refentrytitle">gimpconfig-path</span>
<a name="id2575780"></a><span class="refentrytitle">gimpconfig-path</span>
</h2>
<p>gimpconfig-path</p>
</td>
@ -46,70 +46,70 @@
enum <a href="libgimpconfig-gimpconfig-path.html#GimpConfigPathType">GimpConfigPathType</a>;
enum <a class="link" href="libgimpconfig-gimpconfig-path.html#GimpConfigPathType">GimpConfigPathType</a>;
<a
href="../gobject/gobject-GParamSpec.html#GParamSpec"
>GParamSpec</a>* <a href="libgimpconfig-gimpconfig-path.html#gimp-param-spec-config-path">gimp_param_spec_config_path</a> (const <a
href="../glib/glib-Basic-Types.html#gchar"
href="/usr/share/gtk-doc/html/gobject/gobject-GParamSpec.html#GParamSpec"
>GParamSpec</a>* <a class="link" href="libgimpconfig-gimpconfig-path.html#gimp-param-spec-config-path">gimp_param_spec_config_path</a> (const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *name,
const <a
href="../glib/glib-Basic-Types.html#gchar"
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *nick,
const <a
href="../glib/glib-Basic-Types.html#gchar"
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *blurb,
<a href="libgimpconfig-gimpconfig-path.html#GimpConfigPathType">GimpConfigPathType</a> type,
<a class="link" href="libgimpconfig-gimpconfig-path.html#GimpConfigPathType">GimpConfigPathType</a> type,
const <a
href="../glib/glib-Basic-Types.html#gchar"
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *default_value,
<a
href="../gobject/gobject-GParamSpec.html#GParamFlags"
href="/usr/share/gtk-doc/html/gobject/gobject-GParamSpec.html#GParamFlags"
>GParamFlags</a> flags);
<a href="libgimpconfig-gimpconfig-path.html#GimpConfigPathType">GimpConfigPathType</a> <a href="libgimpconfig-gimpconfig-path.html#gimp-param-spec-config-path-type">gimp_param_spec_config_path_type</a> (<a
href="../gobject/gobject-GParamSpec.html#GParamSpec"
<a class="link" href="libgimpconfig-gimpconfig-path.html#GimpConfigPathType">GimpConfigPathType</a> <a class="link" href="libgimpconfig-gimpconfig-path.html#gimp-param-spec-config-path-type">gimp_param_spec_config_path_type</a> (<a
href="/usr/share/gtk-doc/html/gobject/gobject-GParamSpec.html#GParamSpec"
>GParamSpec</a> *pspec);
<a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a>* <a href="libgimpconfig-gimpconfig-path.html#gimp-config-path-expand">gimp_config_path_expand</a> (const <a
href="../glib/glib-Basic-Types.html#gchar"
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a>* <a class="link" href="libgimpconfig-gimpconfig-path.html#gimp-config-path-expand">gimp_config_path_expand</a> (const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *path,
<a
href="../glib/glib-Basic-Types.html#gboolean"
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> recode,
<a
href="../glib/glib-Error-Reporting.html#GError"
href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"
>GError</a> **error);
<a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a>* <a href="libgimpconfig-gimpconfig-path.html#gimp-config-build-data-path">gimp_config_build_data_path</a> (const <a
href="../glib/glib-Basic-Types.html#gchar"
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a>* <a class="link" href="libgimpconfig-gimpconfig-path.html#gimp-config-build-data-path">gimp_config_build_data_path</a> (const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *name);
<a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a>* <a href="libgimpconfig-gimpconfig-path.html#gimp-config-build-writable-path">gimp_config_build_writable_path</a> (const <a
href="../glib/glib-Basic-Types.html#gchar"
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a>* <a class="link" href="libgimpconfig-gimpconfig-path.html#gimp-config-build-writable-path">gimp_config_build_writable_path</a> (const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *name);
<a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a>* <a href="libgimpconfig-gimpconfig-path.html#gimp-config-build-plug-in-path">gimp_config_build_plug_in_path</a> (const <a
href="../glib/glib-Basic-Types.html#gchar"
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a>* <a class="link" href="libgimpconfig-gimpconfig-path.html#gimp-config-build-plug-in-path">gimp_config_build_plug_in_path</a> (const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *name);
#define <a href="libgimpconfig-gimpconfig-path.html#GIMP-VALUE-HOLDS-CONFIG-PATH:CAPS">GIMP_VALUE_HOLDS_CONFIG_PATH</a> (value)
#define <a class="link" href="libgimpconfig-gimpconfig-path.html#GIMP-VALUE-HOLDS-CONFIG-PATH:CAPS">GIMP_VALUE_HOLDS_CONFIG_PATH</a> (value)
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2556842"></a><h2>Description</h2>
<a name="id2593783"></a><h2>Description</h2>
<p>
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2556857"></a><h2>Details</h2>
<a name="id2593799"></a><h2>Details</h2>
<div class="refsect2" lang="en">
<a name="id2556868"></a><h3>
<a name="id2593810"></a><h3>
<a name="GimpConfigPathType"></a>enum GimpConfigPathType</h3>
<a class="indexterm" name="id2576804"></a><pre class="programlisting">typedef enum
<a class="indexterm" name="id2593822"></a><pre class="programlisting">typedef enum
{
GIMP_CONFIG_PATH_FILE,
GIMP_CONFIG_PATH_FILE_LIST,
@ -123,31 +123,31 @@ href="../glib/glib-Basic-Types.html#gchar"
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2576822"></a><h3>
<a name="id2527355"></a><h3>
<a name="gimp-param-spec-config-path"></a>gimp_param_spec_config_path ()</h3>
<a class="indexterm" name="id2576836"></a><pre class="programlisting"><a
href="../gobject/gobject-GParamSpec.html#GParamSpec"
<a class="indexterm" name="id2527369"></a><pre class="programlisting"><a
href="/usr/share/gtk-doc/html/gobject/gobject-GParamSpec.html#GParamSpec"
>GParamSpec</a>* gimp_param_spec_config_path (const <a
href="../glib/glib-Basic-Types.html#gchar"
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *name,
const <a
href="../glib/glib-Basic-Types.html#gchar"
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *nick,
const <a
href="../glib/glib-Basic-Types.html#gchar"
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *blurb,
<a href="libgimpconfig-gimpconfig-path.html#GimpConfigPathType">GimpConfigPathType</a> type,
<a class="link" href="libgimpconfig-gimpconfig-path.html#GimpConfigPathType">GimpConfigPathType</a> type,
const <a
href="../glib/glib-Basic-Types.html#gchar"
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *default_value,
<a
href="../gobject/gobject-GParamSpec.html#GParamFlags"
href="/usr/share/gtk-doc/html/gobject/gobject-GParamSpec.html#GParamFlags"
>GParamFlags</a> flags);</pre>
<p>
Creates a param spec to hold a filename, dir name,
or list of file or dir names.
See <a
href="../gobject/gobject-GParamSpec.html#g-param-spec-internal"
href="/usr/share/gtk-doc/html/gobject/gobject-GParamSpec.html#g-param-spec-internal"
><code class="function">g_param_spec_internal()</code></a> for more information.</p>
<p>
@ -156,41 +156,41 @@ href="../gobject/gobject-GParamSpec.html#g-param-spec-internal"
<col align="left" valign="top">
<tbody>
<tr>
<td><span class="term"><em class="parameter"><code>name</code></em>&#160;:</span></td>
<td><p><span class="term"><em class="parameter"><code>name</code></em>&#160;:</span></p></td>
<td> Canonical name of the param
</td>
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>nick</code></em>&#160;:</span></td>
<td><p><span class="term"><em class="parameter"><code>nick</code></em>&#160;:</span></p></td>
<td> Nickname of the param
</td>
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>blurb</code></em>&#160;:</span></td>
<td><p><span class="term"><em class="parameter"><code>blurb</code></em>&#160;:</span></p></td>
<td> Brief desciption of param.
</td>
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>type</code></em>&#160;:</span></td>
<td><p><span class="term"><em class="parameter"><code>type</code></em>&#160;:</span></p></td>
<td> a <span class="type">GimpParamConfigPathType</span> value.
</td>
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>default_value</code></em>&#160;:</span></td>
<td><p><span class="term"><em class="parameter"><code>default_value</code></em>&#160;:</span></p></td>
<td> Value to use if none is assigned.
</td>
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>flags</code></em>&#160;:</span></td>
<td><p><span class="term"><em class="parameter"><code>flags</code></em>&#160;:</span></p></td>
<td> a combination of <a
href="../gobject/gobject-GParamSpec.html#GParamFlags"
href="/usr/share/gtk-doc/html/gobject/gobject-GParamSpec.html#GParamFlags"
><span class="type">GParamFlags</span></a>
</td>
</tr>
<tr>
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></p></td>
<td> a newly allocated <a
href="../gobject/gobject-GParamSpec.html#GParamSpec"
href="/usr/share/gtk-doc/html/gobject/gobject-GParamSpec.html#GParamSpec"
><span class="type">GParamSpec</span></a> instance
</td>
@ -202,10 +202,10 @@ href="../gobject/gobject-GParamSpec.html#GParamSpec"
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2577041"></a><h3>
<a name="id2527574"></a><h3>
<a name="gimp-param-spec-config-path-type"></a>gimp_param_spec_config_path_type ()</h3>
<a class="indexterm" name="id2602000"></a><pre class="programlisting"><a href="libgimpconfig-gimpconfig-path.html#GimpConfigPathType">GimpConfigPathType</a> gimp_param_spec_config_path_type (<a
href="../gobject/gobject-GParamSpec.html#GParamSpec"
<a class="indexterm" name="id2527590"></a><pre class="programlisting"><a class="link" href="libgimpconfig-gimpconfig-path.html#GimpConfigPathType">GimpConfigPathType</a> gimp_param_spec_config_path_type (<a
href="/usr/share/gtk-doc/html/gobject/gobject-GParamSpec.html#GParamSpec"
>GParamSpec</a> *pspec);</pre>
<p>
Tells whether the path param encodes a filename,
@ -217,15 +217,15 @@ dir name, or list of file or dir names.</p>
<col align="left" valign="top">
<tbody>
<tr>
<td><span class="term"><em class="parameter"><code>pspec</code></em>&#160;:</span></td>
<td><p><span class="term"><em class="parameter"><code>pspec</code></em>&#160;:</span></p></td>
<td> A <a
href="../gobject/gobject-GParamSpec.html#GParamSpec"
href="/usr/share/gtk-doc/html/gobject/gobject-GParamSpec.html#GParamSpec"
><span class="type">GParamSpec</span></a> for a path param
</td>
</tr>
<tr>
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td> a <a href="libgimpconfig-gimpconfig-path.html#GimpConfigPathType"><span class="type">GimpConfigPathType</span></a> value
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></p></td>
<td> a <a class="link" href="libgimpconfig-gimpconfig-path.html#GimpConfigPathType"><span class="type">GimpConfigPathType</span></a> value
</td>
</tr>
@ -236,18 +236,18 @@ href="../gobject/gobject-GParamSpec.html#GParamSpec"
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2602083"></a><h3>
<a name="id2619434"></a><h3>
<a name="gimp-config-path-expand"></a>gimp_config_path_expand ()</h3>
<a class="indexterm" name="id2602096"></a><pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#gchar"
<a class="indexterm" name="id2619448"></a><pre class="programlisting"><a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a>* gimp_config_path_expand (const <a
href="../glib/glib-Basic-Types.html#gchar"
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *path,
<a
href="../glib/glib-Basic-Types.html#gboolean"
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> recode,
<a
href="../glib/glib-Error-Reporting.html#GError"
href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"
>GError</a> **error);</pre>
<p>
Paths as stored in the gimprc have to be treated special. The
@ -264,22 +264,22 @@ filesystem encoding.</p>
<col align="left" valign="top">
<tbody>
<tr>
<td><span class="term"><em class="parameter"><code>path</code></em>&#160;:</span></td>
<td><p><span class="term"><em class="parameter"><code>path</code></em>&#160;:</span></p></td>
<td> a <code class="literal">NUL</code>-terminated string in UTF-8 encoding
</td>
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>recode</code></em>&#160;:</span></td>
<td><p><span class="term"><em class="parameter"><code>recode</code></em>&#160;:</span></p></td>
<td> whether to convert to the filesystem's encoding
</td>
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>error</code></em>&#160;:</span></td>
<td><p><span class="term"><em class="parameter"><code>error</code></em>&#160;:</span></p></td>
<td> return location for errors
</td>
</tr>
<tr>
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></p></td>
<td> a newly allocated <code class="literal">NUL</code>-terminated string
</td>
@ -291,25 +291,25 @@ filesystem encoding.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2602232"></a><h3>
<a name="id2619583"></a><h3>
<a name="gimp-config-build-data-path"></a>gimp_config_build_data_path ()</h3>
<a class="indexterm" name="id2602246"></a><pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#gchar"
<a class="indexterm" name="id2619597"></a><pre class="programlisting"><a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a>* gimp_config_build_data_path (const <a
href="../glib/glib-Basic-Types.html#gchar"
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *name);</pre>
<p>
Creates a search path as it is used in the gimprc file. The path
returned by <a href="libgimpconfig-gimpconfig-path.html#gimp-config-build-data-path"><code class="function">gimp_config_build_data_path()</code></a> includes a directory
returned by <a class="link" href="libgimpconfig-gimpconfig-path.html#gimp-config-build-data-path"><code class="function">gimp_config_build_data_path()</code></a> includes a directory
below the user's gimp directory and one in the system-wide data
directory.
</p>
<p>
Note that you cannot use this path directly with <a
href="../libgimpbase/libgimpbase-gimpenv.html#gimp-path-parse"
href="/usr/share/gtk-doc/html/libgimpbase/libgimpbase-gimpenv.html#gimp-path-parse"
><code class="function">gimp_path_parse()</code></a>.
As it is in the gimprc notation, you first need to expand and
recode it using <a href="libgimpconfig-gimpconfig-path.html#gimp-config-path-expand"><code class="function">gimp_config_path_expand()</code></a>.</p>
recode it using <a class="link" href="libgimpconfig-gimpconfig-path.html#gimp-config-path-expand"><code class="function">gimp_config_path_expand()</code></a>.</p>
<p>
</p>
@ -317,12 +317,12 @@ recode it using <a href="libgimpconfig-gimpconfig-path.html#gimp-config-path-exp
<col align="left" valign="top">
<tbody>
<tr>
<td><span class="term"><em class="parameter"><code>name</code></em>&#160;:</span></td>
<td><p><span class="term"><em class="parameter"><code>name</code></em>&#160;:</span></p></td>
<td> directory name (in UTF-8 encoding)
</td>
</tr>
<tr>
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></p></td>
<td> a newly allocated string
</td>
@ -334,24 +334,24 @@ recode it using <a href="libgimpconfig-gimpconfig-path.html#gimp-config-path-exp
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2570729"></a><h3>
<a name="id2605514"></a><h3>
<a name="gimp-config-build-writable-path"></a>gimp_config_build_writable_path ()</h3>
<a class="indexterm" name="id2570745"></a><pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#gchar"
<a class="indexterm" name="id2605530"></a><pre class="programlisting"><a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a>* gimp_config_build_writable_path (const <a
href="../glib/glib-Basic-Types.html#gchar"
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *name);</pre>
<p>
Creates a search path as it is used in the gimprc file. The path
returned by <a href="libgimpconfig-gimpconfig-path.html#gimp-config-build-writable-path"><code class="function">gimp_config_build_writable_path()</code></a> is just the writable
parts of the search path constructed by <a href="libgimpconfig-gimpconfig-path.html#gimp-config-build-data-path"><code class="function">gimp_config_build_data_path()</code></a>.
returned by <a class="link" href="libgimpconfig-gimpconfig-path.html#gimp-config-build-writable-path"><code class="function">gimp_config_build_writable_path()</code></a> is just the writable
parts of the search path constructed by <a class="link" href="libgimpconfig-gimpconfig-path.html#gimp-config-build-data-path"><code class="function">gimp_config_build_data_path()</code></a>.
</p>
<p>
Note that you cannot use this path directly with <a
href="../libgimpbase/libgimpbase-gimpenv.html#gimp-path-parse"
href="/usr/share/gtk-doc/html/libgimpbase/libgimpbase-gimpenv.html#gimp-path-parse"
><code class="function">gimp_path_parse()</code></a>.
As it is in the gimprc notation, you first need to expand and
recode it using <a href="libgimpconfig-gimpconfig-path.html#gimp-config-path-expand"><code class="function">gimp_config_path_expand()</code></a>.</p>
recode it using <a class="link" href="libgimpconfig-gimpconfig-path.html#gimp-config-path-expand"><code class="function">gimp_config_path_expand()</code></a>.</p>
<p>
</p>
@ -359,12 +359,12 @@ recode it using <a href="libgimpconfig-gimpconfig-path.html#gimp-config-path-exp
<col align="left" valign="top">
<tbody>
<tr>
<td><span class="term"><em class="parameter"><code>name</code></em>&#160;:</span></td>
<td><p><span class="term"><em class="parameter"><code>name</code></em>&#160;:</span></p></td>
<td> directory name (in UTF-8 encoding)
</td>
</tr>
<tr>
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></p></td>
<td> a newly allocated string
</td>
@ -376,25 +376,25 @@ recode it using <a href="libgimpconfig-gimpconfig-path.html#gimp-config-path-exp
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2570859"></a><h3>
<a name="id2605644"></a><h3>
<a name="gimp-config-build-plug-in-path"></a>gimp_config_build_plug_in_path ()</h3>
<a class="indexterm" name="id2570874"></a><pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#gchar"
<a class="indexterm" name="id2605660"></a><pre class="programlisting"><a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a>* gimp_config_build_plug_in_path (const <a
href="../glib/glib-Basic-Types.html#gchar"
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *name);</pre>
<p>
Creates a search path as it is used in the gimprc file. The path
returned by <a href="libgimpconfig-gimpconfig-path.html#gimp-config-build-plug-in-path"><code class="function">gimp_config_build_plug_in_path()</code></a> includes a directory
returned by <a class="link" href="libgimpconfig-gimpconfig-path.html#gimp-config-build-plug-in-path"><code class="function">gimp_config_build_plug_in_path()</code></a> includes a directory
below the user's gimp directory and one in the system-wide plug-in
directory.
</p>
<p>
Note that you cannot use this path directly with <a
href="../libgimpbase/libgimpbase-gimpenv.html#gimp-path-parse"
href="/usr/share/gtk-doc/html/libgimpbase/libgimpbase-gimpenv.html#gimp-path-parse"
><code class="function">gimp_path_parse()</code></a>.
As it is in the gimprc notation, you first need to expand and
recode it using <a href="libgimpconfig-gimpconfig-path.html#gimp-config-path-expand"><code class="function">gimp_config_path_expand()</code></a>.</p>
recode it using <a class="link" href="libgimpconfig-gimpconfig-path.html#gimp-config-path-expand"><code class="function">gimp_config_path_expand()</code></a>.</p>
<p>
</p>
@ -402,12 +402,12 @@ recode it using <a href="libgimpconfig-gimpconfig-path.html#gimp-config-path-exp
<col align="left" valign="top">
<tbody>
<tr>
<td><span class="term"><em class="parameter"><code>name</code></em>&#160;:</span></td>
<td><p><span class="term"><em class="parameter"><code>name</code></em>&#160;:</span></p></td>
<td> directory name (in UTF-8 encoding)
</td>
</tr>
<tr>
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></p></td>
<td> a newly allocated string
</td>
@ -419,9 +419,9 @@ recode it using <a href="libgimpconfig-gimpconfig-path.html#gimp-config-path-exp
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2604038"></a><h3>
<a name="id2621497"></a><h3>
<a name="GIMP-VALUE-HOLDS-CONFIG-PATH:CAPS"></a>GIMP_VALUE_HOLDS_CONFIG_PATH()</h3>
<a class="indexterm" name="id2604051"></a><pre class="programlisting">#define GIMP_VALUE_HOLDS_CONFIG_PATH(value) (G_TYPE_CHECK_VALUE_TYPE ((value), GIMP_TYPE_CONFIG_PATH))
<a class="indexterm" name="id2621509"></a><pre class="programlisting">#define GIMP_VALUE_HOLDS_CONFIG_PATH(value) (G_TYPE_CHECK_VALUE_TYPE ((value), GIMP_TYPE_CONFIG_PATH))
</pre>
<p>
@ -429,7 +429,7 @@ recode it using <a href="libgimpconfig-gimpconfig-path.html#gimp-config-path-exp
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><span class="term"><em class="parameter"><code>value</code></em>&#160;:</span></td>
<td><p><span class="term"><em class="parameter"><code>value</code></em>&#160;:</span></p></td>
<td>
@ -438,6 +438,11 @@ recode it using <a href="libgimpconfig-gimpconfig-path.html#gimp-config-path-exp
</table></div>
</div>
</div>
<div class="refsect1" lang="en">
<a name="id2621543"></a><div class="refsect2" lang="en"><a name="id2621544"></a></div>
<hr>
<div class="refsect2" lang="en"><a name="id2621545"></a></div>
</div>
</div>
</body>
</html>