Imported Upstream version 2.4.0~rc3
This commit is contained in:
@ -3,7 +3,7 @@
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
|
||||
<title>gimpconfig-path</title>
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.73.2">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.72.0">
|
||||
<link rel="start" href="index.html" title="GIMP Config Library Reference Manual">
|
||||
<link rel="up" href="libgimpconfig.html" title="Part I. GIMP Config Library">
|
||||
<link rel="prev" href="libgimpconfig-gimpconfig-params.html" title="gimpconfig-params">
|
||||
@ -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="#id2575759" class="shortcut">Top</a>
|
||||
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2586091" class="shortcut">Top</a>
|
||||
 | 
|
||||
<a href="#id2605542" class="shortcut">Description</a></nobr></td></tr>
|
||||
<a href="#id2556842" 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="id2575759"></a><span class="refentrytitle">gimpconfig-path</span>
|
||||
<a name="id2586091"></a><span class="refentrytitle">gimpconfig-path</span>
|
||||
</h2>
|
||||
<p>gimpconfig-path</p>
|
||||
</td>
|
||||
@ -46,36 +46,70 @@
|
||||
|
||||
|
||||
|
||||
enum <a class="link" href="libgimpconfig-gimpconfig-path.html#GimpConfigPathType">GimpConfigPathType</a>;
|
||||
GParamSpec* <a class="link" href="libgimpconfig-gimpconfig-path.html#gimp-param-spec-config-path">gimp_param_spec_config_path</a> (const gchar *name,
|
||||
const gchar *nick,
|
||||
const gchar *blurb,
|
||||
<a class="link" href="libgimpconfig-gimpconfig-path.html#GimpConfigPathType">GimpConfigPathType</a> type,
|
||||
const gchar *default_value,
|
||||
GParamFlags flags);
|
||||
<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> (GParamSpec *pspec);
|
||||
gchar* <a class="link" href="libgimpconfig-gimpconfig-path.html#gimp-config-path-expand">gimp_config_path_expand</a> (const gchar *path,
|
||||
gboolean recode,
|
||||
GError **error);
|
||||
gchar* <a class="link" href="libgimpconfig-gimpconfig-path.html#gimp-config-build-data-path">gimp_config_build_data_path</a> (const gchar *name);
|
||||
gchar* <a class="link" href="libgimpconfig-gimpconfig-path.html#gimp-config-build-writable-path">gimp_config_build_writable_path</a> (const gchar *name);
|
||||
gchar* <a class="link" href="libgimpconfig-gimpconfig-path.html#gimp-config-build-plug-in-path">gimp_config_build_plug_in_path</a> (const gchar *name);
|
||||
#define <a class="link" href="libgimpconfig-gimpconfig-path.html#GIMP-VALUE-HOLDS-CONFIG-PATH:CAPS">GIMP_VALUE_HOLDS_CONFIG_PATH</a> (value)
|
||||
enum <a 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"
|
||||
>gchar</a> *name,
|
||||
const <a
|
||||
href="../glib/glib-Basic-Types.html#gchar"
|
||||
>gchar</a> *nick,
|
||||
const <a
|
||||
href="../glib/glib-Basic-Types.html#gchar"
|
||||
>gchar</a> *blurb,
|
||||
<a href="libgimpconfig-gimpconfig-path.html#GimpConfigPathType">GimpConfigPathType</a> type,
|
||||
const <a
|
||||
href="../glib/glib-Basic-Types.html#gchar"
|
||||
>gchar</a> *default_value,
|
||||
<a
|
||||
href="../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"
|
||||
>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"
|
||||
>gchar</a> *path,
|
||||
<a
|
||||
href="../glib/glib-Basic-Types.html#gboolean"
|
||||
>gboolean</a> recode,
|
||||
<a
|
||||
href="../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"
|
||||
>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"
|
||||
>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"
|
||||
>gchar</a> *name);
|
||||
#define <a 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="id2605542"></a><h2>Description</h2>
|
||||
<a name="id2556842"></a><h2>Description</h2>
|
||||
<p>
|
||||
|
||||
</p>
|
||||
</div>
|
||||
<div class="refsect1" lang="en">
|
||||
<a name="id2605557"></a><h2>Details</h2>
|
||||
<a name="id2556857"></a><h2>Details</h2>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2605568"></a><h3>
|
||||
<a name="id2556868"></a><h3>
|
||||
<a name="GimpConfigPathType"></a>enum GimpConfigPathType</h3>
|
||||
<a class="indexterm" name="id2605580"></a><pre class="programlisting">typedef enum
|
||||
<a class="indexterm" name="id2576804"></a><pre class="programlisting">typedef enum
|
||||
{
|
||||
GIMP_CONFIG_PATH_FILE,
|
||||
GIMP_CONFIG_PATH_FILE_LIST,
|
||||
@ -89,18 +123,32 @@ gchar* <a class="link" href="libgimpconfig-gimpconfig-path.html#gim
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2581500"></a><h3>
|
||||
<a name="id2576822"></a><h3>
|
||||
<a name="gimp-param-spec-config-path"></a>gimp_param_spec_config_path ()</h3>
|
||||
<a class="indexterm" name="id2581514"></a><pre class="programlisting">GParamSpec* gimp_param_spec_config_path (const gchar *name,
|
||||
const gchar *nick,
|
||||
const gchar *blurb,
|
||||
<a class="link" href="libgimpconfig-gimpconfig-path.html#GimpConfigPathType">GimpConfigPathType</a> type,
|
||||
const gchar *default_value,
|
||||
GParamFlags flags);</pre>
|
||||
<a class="indexterm" name="id2576836"></a><pre class="programlisting"><a
|
||||
href="../gobject/gobject-GParamSpec.html#GParamSpec"
|
||||
>GParamSpec</a>* gimp_param_spec_config_path (const <a
|
||||
href="../glib/glib-Basic-Types.html#gchar"
|
||||
>gchar</a> *name,
|
||||
const <a
|
||||
href="../glib/glib-Basic-Types.html#gchar"
|
||||
>gchar</a> *nick,
|
||||
const <a
|
||||
href="../glib/glib-Basic-Types.html#gchar"
|
||||
>gchar</a> *blurb,
|
||||
<a href="libgimpconfig-gimpconfig-path.html#GimpConfigPathType">GimpConfigPathType</a> type,
|
||||
const <a
|
||||
href="../glib/glib-Basic-Types.html#gchar"
|
||||
>gchar</a> *default_value,
|
||||
<a
|
||||
href="../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 <code class="function">g_param_spec_internal()</code> for more information.</p>
|
||||
See <a
|
||||
href="../gobject/gobject-GParamSpec.html#g-param-spec-internal"
|
||||
><code class="function">g_param_spec_internal()</code></a> for more information.</p>
|
||||
<p>
|
||||
|
||||
</p>
|
||||
@ -108,38 +156,42 @@ See <code class="function">g_param_spec_internal()</code> for more information.<
|
||||
<col align="left" valign="top">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td>
|
||||
<td><span class="term"><em class="parameter"><code>name</code></em> :</span></td>
|
||||
<td> Canonical name of the param
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><p><span class="term"><em class="parameter"><code>nick</code></em> :</span></p></td>
|
||||
<td><span class="term"><em class="parameter"><code>nick</code></em> :</span></td>
|
||||
<td> Nickname of the param
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><p><span class="term"><em class="parameter"><code>blurb</code></em> :</span></p></td>
|
||||
<td><span class="term"><em class="parameter"><code>blurb</code></em> :</span></td>
|
||||
<td> Brief desciption of param.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><p><span class="term"><em class="parameter"><code>type</code></em> :</span></p></td>
|
||||
<td><span class="term"><em class="parameter"><code>type</code></em> :</span></td>
|
||||
<td> a <span class="type">GimpParamConfigPathType</span> value.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><p><span class="term"><em class="parameter"><code>default_value</code></em> :</span></p></td>
|
||||
<td><span class="term"><em class="parameter"><code>default_value</code></em> :</span></td>
|
||||
<td> Value to use if none is assigned.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><p><span class="term"><em class="parameter"><code>flags</code></em> :</span></p></td>
|
||||
<td> a combination of <span class="type">GParamFlags</span>
|
||||
<td><span class="term"><em class="parameter"><code>flags</code></em> :</span></td>
|
||||
<td> a combination of <a
|
||||
href="../gobject/gobject-GParamSpec.html#GParamFlags"
|
||||
><span class="type">GParamFlags</span></a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
||||
<td> a newly allocated <span class="type">GParamSpec</span> instance
|
||||
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td> a newly allocated <a
|
||||
href="../gobject/gobject-GParamSpec.html#GParamSpec"
|
||||
><span class="type">GParamSpec</span></a> instance
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
@ -150,9 +202,11 @@ See <code class="function">g_param_spec_internal()</code> for more information.<
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2581719"></a><h3>
|
||||
<a name="id2577041"></a><h3>
|
||||
<a name="gimp-param-spec-config-path-type"></a>gimp_param_spec_config_path_type ()</h3>
|
||||
<a class="indexterm" name="id2581735"></a><pre class="programlisting"><a class="link" href="libgimpconfig-gimpconfig-path.html#GimpConfigPathType">GimpConfigPathType</a> gimp_param_spec_config_path_type (GParamSpec *pspec);</pre>
|
||||
<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"
|
||||
>GParamSpec</a> *pspec);</pre>
|
||||
<p>
|
||||
Tells whether the path param encodes a filename,
|
||||
dir name, or list of file or dir names.</p>
|
||||
@ -163,13 +217,15 @@ dir name, or list of file or dir names.</p>
|
||||
<col align="left" valign="top">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><p><span class="term"><em class="parameter"><code>pspec</code></em> :</span></p></td>
|
||||
<td> A <span class="type">GParamSpec</span> for a path param
|
||||
<td><span class="term"><em class="parameter"><code>pspec</code></em> :</span></td>
|
||||
<td> A <a
|
||||
href="../gobject/gobject-GParamSpec.html#GParamSpec"
|
||||
><span class="type">GParamSpec</span></a> for a path param
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
||||
<td> a <a class="link" href="libgimpconfig-gimpconfig-path.html#GimpConfigPathType"><span class="type">GimpConfigPathType</span></a> value
|
||||
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td> a <a href="libgimpconfig-gimpconfig-path.html#GimpConfigPathType"><span class="type">GimpConfigPathType</span></a> value
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
@ -180,11 +236,19 @@ dir name, or list of file or dir names.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2619243"></a><h3>
|
||||
<a name="id2602083"></a><h3>
|
||||
<a name="gimp-config-path-expand"></a>gimp_config_path_expand ()</h3>
|
||||
<a class="indexterm" name="id2619257"></a><pre class="programlisting">gchar* gimp_config_path_expand (const gchar *path,
|
||||
gboolean recode,
|
||||
GError **error);</pre>
|
||||
<a class="indexterm" name="id2602096"></a><pre class="programlisting"><a
|
||||
href="../glib/glib-Basic-Types.html#gchar"
|
||||
>gchar</a>* gimp_config_path_expand (const <a
|
||||
href="../glib/glib-Basic-Types.html#gchar"
|
||||
>gchar</a> *path,
|
||||
<a
|
||||
href="../glib/glib-Basic-Types.html#gboolean"
|
||||
>gboolean</a> recode,
|
||||
<a
|
||||
href="../glib/glib-Error-Reporting.html#GError"
|
||||
>GError</a> **error);</pre>
|
||||
<p>
|
||||
Paths as stored in the gimprc have to be treated special. The
|
||||
string may contain special identifiers such as for example
|
||||
@ -200,22 +264,22 @@ filesystem encoding.</p>
|
||||
<col align="left" valign="top">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><p><span class="term"><em class="parameter"><code>path</code></em> :</span></p></td>
|
||||
<td><span class="term"><em class="parameter"><code>path</code></em> :</span></td>
|
||||
<td> a <code class="literal">NUL</code>-terminated string in UTF-8 encoding
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><p><span class="term"><em class="parameter"><code>recode</code></em> :</span></p></td>
|
||||
<td><span class="term"><em class="parameter"><code>recode</code></em> :</span></td>
|
||||
<td> whether to convert to the filesystem's encoding
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
||||
<td><span class="term"><em class="parameter"><code>error</code></em> :</span></td>
|
||||
<td> return location for errors
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
||||
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td> a newly allocated <code class="literal">NUL</code>-terminated string
|
||||
|
||||
</td>
|
||||
@ -227,12 +291,16 @@ filesystem encoding.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2619392"></a><h3>
|
||||
<a name="id2602232"></a><h3>
|
||||
<a name="gimp-config-build-data-path"></a>gimp_config_build_data_path ()</h3>
|
||||
<a class="indexterm" name="id2619406"></a><pre class="programlisting">gchar* gimp_config_build_data_path (const gchar *name);</pre>
|
||||
<a class="indexterm" name="id2602246"></a><pre class="programlisting"><a
|
||||
href="../glib/glib-Basic-Types.html#gchar"
|
||||
>gchar</a>* gimp_config_build_data_path (const <a
|
||||
href="../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 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
|
||||
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
|
||||
below the user's gimp directory and one in the system-wide data
|
||||
directory.
|
||||
</p>
|
||||
@ -241,7 +309,7 @@ Note that you cannot use this path directly with <a
|
||||
href="../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 class="link" href="libgimpconfig-gimpconfig-path.html#gimp-config-path-expand"><code class="function">gimp_config_path_expand()</code></a>.</p>
|
||||
recode it using <a href="libgimpconfig-gimpconfig-path.html#gimp-config-path-expand"><code class="function">gimp_config_path_expand()</code></a>.</p>
|
||||
<p>
|
||||
|
||||
</p>
|
||||
@ -249,12 +317,12 @@ recode it using <a class="link" href="libgimpconfig-gimpconfig-path.html#gimp-co
|
||||
<col align="left" valign="top">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td>
|
||||
<td><span class="term"><em class="parameter"><code>name</code></em> :</span></td>
|
||||
<td> directory name (in UTF-8 encoding)
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
||||
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td> a newly allocated string
|
||||
|
||||
</td>
|
||||
@ -266,20 +334,24 @@ recode it using <a class="link" href="libgimpconfig-gimpconfig-path.html#gimp-co
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2610063"></a><h3>
|
||||
<a name="id2570729"></a><h3>
|
||||
<a name="gimp-config-build-writable-path"></a>gimp_config_build_writable_path ()</h3>
|
||||
<a class="indexterm" name="id2610078"></a><pre class="programlisting">gchar* gimp_config_build_writable_path (const gchar *name);</pre>
|
||||
<a class="indexterm" name="id2570745"></a><pre class="programlisting"><a
|
||||
href="../glib/glib-Basic-Types.html#gchar"
|
||||
>gchar</a>* gimp_config_build_writable_path (const <a
|
||||
href="../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 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>.
|
||||
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>.
|
||||
</p>
|
||||
<p>
|
||||
Note that you cannot use this path directly with <a
|
||||
href="../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 class="link" href="libgimpconfig-gimpconfig-path.html#gimp-config-path-expand"><code class="function">gimp_config_path_expand()</code></a>.</p>
|
||||
recode it using <a href="libgimpconfig-gimpconfig-path.html#gimp-config-path-expand"><code class="function">gimp_config_path_expand()</code></a>.</p>
|
||||
<p>
|
||||
|
||||
</p>
|
||||
@ -287,12 +359,12 @@ recode it using <a class="link" href="libgimpconfig-gimpconfig-path.html#gimp-co
|
||||
<col align="left" valign="top">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td>
|
||||
<td><span class="term"><em class="parameter"><code>name</code></em> :</span></td>
|
||||
<td> directory name (in UTF-8 encoding)
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
||||
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td> a newly allocated string
|
||||
|
||||
</td>
|
||||
@ -304,12 +376,16 @@ recode it using <a class="link" href="libgimpconfig-gimpconfig-path.html#gimp-co
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2610191"></a><h3>
|
||||
<a name="id2570859"></a><h3>
|
||||
<a name="gimp-config-build-plug-in-path"></a>gimp_config_build_plug_in_path ()</h3>
|
||||
<a class="indexterm" name="id2610207"></a><pre class="programlisting">gchar* gimp_config_build_plug_in_path (const gchar *name);</pre>
|
||||
<a class="indexterm" name="id2570874"></a><pre class="programlisting"><a
|
||||
href="../glib/glib-Basic-Types.html#gchar"
|
||||
>gchar</a>* gimp_config_build_plug_in_path (const <a
|
||||
href="../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 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
|
||||
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
|
||||
below the user's gimp directory and one in the system-wide plug-in
|
||||
directory.
|
||||
</p>
|
||||
@ -318,7 +394,7 @@ Note that you cannot use this path directly with <a
|
||||
href="../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 class="link" href="libgimpconfig-gimpconfig-path.html#gimp-config-path-expand"><code class="function">gimp_config_path_expand()</code></a>.</p>
|
||||
recode it using <a href="libgimpconfig-gimpconfig-path.html#gimp-config-path-expand"><code class="function">gimp_config_path_expand()</code></a>.</p>
|
||||
<p>
|
||||
|
||||
</p>
|
||||
@ -326,12 +402,12 @@ recode it using <a class="link" href="libgimpconfig-gimpconfig-path.html#gimp-co
|
||||
<col align="left" valign="top">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td>
|
||||
<td><span class="term"><em class="parameter"><code>name</code></em> :</span></td>
|
||||
<td> directory name (in UTF-8 encoding)
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
||||
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td> a newly allocated string
|
||||
|
||||
</td>
|
||||
@ -343,9 +419,9 @@ recode it using <a class="link" href="libgimpconfig-gimpconfig-path.html#gimp-co
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2621194"></a><h3>
|
||||
<a name="id2604038"></a><h3>
|
||||
<a name="GIMP-VALUE-HOLDS-CONFIG-PATH:CAPS"></a>GIMP_VALUE_HOLDS_CONFIG_PATH()</h3>
|
||||
<a class="indexterm" name="id2621206"></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="id2604051"></a><pre class="programlisting">#define GIMP_VALUE_HOLDS_CONFIG_PATH(value) (G_TYPE_CHECK_VALUE_TYPE ((value), GIMP_TYPE_CONFIG_PATH))
|
||||
</pre>
|
||||
<p>
|
||||
|
||||
@ -353,7 +429,7 @@ recode it using <a class="link" href="libgimpconfig-gimpconfig-path.html#gimp-co
|
||||
<div class="variablelist"><table border="0">
|
||||
<col align="left" valign="top">
|
||||
<tbody><tr>
|
||||
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
|
||||
<td><span class="term"><em class="parameter"><code>value</code></em> :</span></td>
|
||||
<td>
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user