8
8
<link rel="up" href="libgimpconfig.html" title="Part I. GIMP Config Library">
9
9
<link rel="prev" href="libgimpconfig-gimpconfig-params.html" title="gimpconfig-params">
10
10
<link rel="next" href="libgimpconfig-gimpconfig-utils.html" title="gimpconfig-utils">
11
<meta name="generator" content="GTK-Doc V1.11 (XML mode)">
11
<meta name="generator" content="GTK-Doc V1.15 (XML mode)">
12
12
<link rel="stylesheet" href="style.css" type="text/css">
13
<link rel="part" href="libgimpconfig.html" title="Part I. GIMP Config Library">
14
<link rel="chapter" href="libgimpconfig-hierarchy.html" title="Object Hierarchy">
15
<link rel="index" href="libgimpconfig-index.html" title="Index">
16
<link rel="index" href="libgimpconfig-index-new-in-2-4.html" title="Index of new symbols in GIMP 2.4">
17
<link rel="index" href="libgimpconfig-index-new-in-2-6.html" title="Index of new symbols in GIMP 2.6">
18
<link rel="index" href="libgimpconfig-index-deprecated.html" title="Index of deprecated symbols">
20
14
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
21
15
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
43
37
</tr></table></div>
44
38
<div class="refsynopsisdiv" title="Synopsis">
45
39
<a name="libgimpconfig-gimpconfig-path.synopsis"></a><h2>Synopsis</h2>
46
<pre class="synopsis">
47
enum <a class="link" href="libgimpconfig-gimpconfig-path.html#GimpConfigPathType" title="enum GimpConfigPathType">GimpConfigPathType</a>;
49
href="http://library.gnome.org/devel/gobject/unstable/gobject-GParamSpec.html#GParamSpec"
50
>GParamSpec</a> * <a class="link" href="libgimpconfig-gimpconfig-path.html#gimp-param-spec-config-path" title="gimp_param_spec_config_path ()">gimp_param_spec_config_path</a> (const <a
51
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
54
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
57
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
59
<a class="link" href="libgimpconfig-gimpconfig-path.html#GimpConfigPathType" title="enum GimpConfigPathType">GimpConfigPathType</a> type,
61
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
62
>gchar</a> *default_value,
64
href="http://library.gnome.org/devel/gobject/unstable/gobject-GParamSpec.html#GParamFlags"
65
>GParamFlags</a> flags);
66
<a class="link" href="libgimpconfig-gimpconfig-path.html#GimpConfigPathType" title="enum GimpConfigPathType">GimpConfigPathType</a> <a class="link" href="libgimpconfig-gimpconfig-path.html#gimp-param-spec-config-path-type" title="gimp_param_spec_config_path_type ()">gimp_param_spec_config_path_type</a> (<a
67
href="http://library.gnome.org/devel/gobject/unstable/gobject-GParamSpec.html#GParamSpec"
68
>GParamSpec</a> *pspec);
70
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
71
>gchar</a> * <a class="link" href="libgimpconfig-gimpconfig-path.html#gimp-config-path-expand" title="gimp_config_path_expand ()">gimp_config_path_expand</a> (const <a
72
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
75
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
78
href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"
81
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
82
>gchar</a> * <a class="link" href="libgimpconfig-gimpconfig-path.html#gimp-config-build-data-path" title="gimp_config_build_data_path ()">gimp_config_build_data_path</a> (const <a
83
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
86
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
87
>gchar</a> * <a class="link" href="libgimpconfig-gimpconfig-path.html#gimp-config-build-writable-path" title="gimp_config_build_writable_path ()">gimp_config_build_writable_path</a> (const <a
88
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
91
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
92
>gchar</a> * <a class="link" href="libgimpconfig-gimpconfig-path.html#gimp-config-build-plug-in-path" title="gimp_config_build_plug_in_path ()">gimp_config_build_plug_in_path</a> (const <a
93
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
95
#define <a class="link" href="libgimpconfig-gimpconfig-path.html#GIMP-VALUE-HOLDS-CONFIG-PATH--CAPS" title="GIMP_VALUE_HOLDS_CONFIG_PATH()">GIMP_VALUE_HOLDS_CONFIG_PATH</a> (value)
40
<pre class="synopsis">enum <a class="link" href="libgimpconfig-gimpconfig-path.html#GimpConfigPathType" title="enum GimpConfigPathType">GimpConfigPathType</a>;
41
<a href="/usr/share/gtk-doc/html/gobject/gobject-GParamSpec.html#GParamSpec"><span class="returnvalue">GParamSpec</span></a> * <a class="link" href="libgimpconfig-gimpconfig-path.html#gimp-param-spec-config-path" title="gimp_param_spec_config_path ()">gimp_param_spec_config_path</a> (<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>,
42
<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *nick</code></em>,
43
<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *blurb</code></em>,
44
<em class="parameter"><code><a class="link" href="libgimpconfig-gimpconfig-path.html#GimpConfigPathType" title="enum GimpConfigPathType"><span class="type">GimpConfigPathType</span></a> type</code></em>,
45
<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *default_value</code></em>,
46
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/gobject/gobject-GParamSpec.html#GParamFlags"><span class="type">GParamFlags</span></a> flags</code></em>);
47
<a class="link" href="libgimpconfig-gimpconfig-path.html#GimpConfigPathType" title="enum GimpConfigPathType"><span class="returnvalue">GimpConfigPathType</span></a> <a class="link" href="libgimpconfig-gimpconfig-path.html#gimp-param-spec-config-path-type" title="gimp_param_spec_config_path_type ()">gimp_param_spec_config_path_type</a> (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/gobject/gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpec</span></a> *pspec</code></em>);
48
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="libgimpconfig-gimpconfig-path.html#gimp-config-path-expand" title="gimp_config_path_expand ()">gimp_config_path_expand</a> (<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *path</code></em>,
49
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> recode</code></em>,
50
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
51
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="libgimpconfig-gimpconfig-path.html#gimp-config-build-data-path" title="gimp_config_build_data_path ()">gimp_config_build_data_path</a> (<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>);
52
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="libgimpconfig-gimpconfig-path.html#gimp-config-build-writable-path" title="gimp_config_build_writable_path ()">gimp_config_build_writable_path</a> (<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>);
53
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="libgimpconfig-gimpconfig-path.html#gimp-config-build-plug-in-path" title="gimp_config_build_plug_in_path ()">gimp_config_build_plug_in_path</a> (<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>);
54
#define <a class="link" href="libgimpconfig-gimpconfig-path.html#GIMP-VALUE-HOLDS-CONFIG-PATH:CAPS" title="GIMP_VALUE_HOLDS_CONFIG_PATH()">GIMP_VALUE_HOLDS_CONFIG_PATH</a> (value)
98
57
<div class="refsect1" title="Description">
119
78
<div class="refsect2" title="gimp_param_spec_config_path ()">
120
79
<a name="gimp-param-spec-config-path"></a><h3>gimp_param_spec_config_path ()</h3>
121
<pre class="programlisting"><a
122
href="http://library.gnome.org/devel/gobject/unstable/gobject-GParamSpec.html#GParamSpec"
123
>GParamSpec</a> * gimp_param_spec_config_path (const <a
124
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
127
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
130
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
132
<a class="link" href="libgimpconfig-gimpconfig-path.html#GimpConfigPathType" title="enum GimpConfigPathType">GimpConfigPathType</a> type,
134
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
135
>gchar</a> *default_value,
137
href="http://library.gnome.org/devel/gobject/unstable/gobject-GParamSpec.html#GParamFlags"
138
>GParamFlags</a> flags);</pre>
80
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/gobject/gobject-GParamSpec.html#GParamSpec"><span class="returnvalue">GParamSpec</span></a> * gimp_param_spec_config_path (<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>,
81
<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *nick</code></em>,
82
<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *blurb</code></em>,
83
<em class="parameter"><code><a class="link" href="libgimpconfig-gimpconfig-path.html#GimpConfigPathType" title="enum GimpConfigPathType"><span class="type">GimpConfigPathType</span></a> type</code></em>,
84
<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *default_value</code></em>,
85
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/gobject/gobject-GParamSpec.html#GParamFlags"><span class="type">GParamFlags</span></a> flags</code></em>);</pre>
140
87
Creates a param spec to hold a filename, dir name,
141
88
or list of file or dir names.
143
href="http://library.gnome.org/devel/gobject/unstable/gobject-GParamSpec.html#g-param-spec-internal"
144
><code class="function">g_param_spec_internal()</code></a> for more information.</p>
89
See <a 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.
147
91
<div class="variablelist"><table border="0">
148
92
<col align="left" valign="top">
151
95
<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td>
152
<td> Canonical name of the param
96
<td>Canonical name of the param
156
100
<td><p><span class="term"><em class="parameter"><code>nick</code></em> :</span></p></td>
157
<td> Nickname of the param
101
<td>Nickname of the param
161
105
<td><p><span class="term"><em class="parameter"><code>blurb</code></em> :</span></p></td>
162
<td> Brief desciption of param.
106
<td>Brief desciption of param.
166
110
<td><p><span class="term"><em class="parameter"><code>type</code></em> :</span></p></td>
167
<td> a <span class="type">GimpParamConfigPathType</span> value.
111
<td>a <span class="type">GimpParamConfigPathType</span> value.
171
115
<td><p><span class="term"><em class="parameter"><code>default_value</code></em> :</span></p></td>
172
<td> Value to use if none is assigned.
116
<td>Value to use if none is assigned.
176
120
<td><p><span class="term"><em class="parameter"><code>flags</code></em> :</span></p></td>
177
<td> a combination of <a
178
href="http://library.gnome.org/devel/gobject/unstable/gobject-GParamSpec.html#GParamFlags"
179
><span class="type">GParamFlags</span></a>
121
<td>a combination of <a href="/usr/share/gtk-doc/html/gobject/gobject-GParamSpec.html#GParamFlags"><span class="type">GParamFlags</span></a>
183
125
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
184
<td> a newly allocated <a
185
href="http://library.gnome.org/devel/gobject/unstable/gobject-GParamSpec.html#GParamSpec"
186
><span class="type">GParamSpec</span></a> instance
126
<td> a newly allocated <a href="/usr/share/gtk-doc/html/gobject/gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpec</span></a> instance
195
135
<div class="refsect2" title="gimp_param_spec_config_path_type ()">
196
136
<a name="gimp-param-spec-config-path-type"></a><h3>gimp_param_spec_config_path_type ()</h3>
197
<pre class="programlisting"><a class="link" href="libgimpconfig-gimpconfig-path.html#GimpConfigPathType" title="enum GimpConfigPathType">GimpConfigPathType</a> gimp_param_spec_config_path_type (<a
198
href="http://library.gnome.org/devel/gobject/unstable/gobject-GParamSpec.html#GParamSpec"
199
>GParamSpec</a> *pspec);</pre>
137
<pre class="programlisting"><a class="link" href="libgimpconfig-gimpconfig-path.html#GimpConfigPathType" title="enum GimpConfigPathType"><span class="returnvalue">GimpConfigPathType</span></a> gimp_param_spec_config_path_type (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/gobject/gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpec</span></a> *pspec</code></em>);</pre>
201
139
Tells whether the path param encodes a filename,
202
dir name, or list of file or dir names.</p>
140
dir name, or list of file or dir names.
205
142
<div class="variablelist"><table border="0">
206
143
<col align="left" valign="top">
209
146
<td><p><span class="term"><em class="parameter"><code>pspec</code></em> :</span></p></td>
211
href="http://library.gnome.org/devel/gobject/unstable/gobject-GParamSpec.html#GParamSpec"
212
><span class="type">GParamSpec</span></a> for a path param
147
<td>A <a href="/usr/share/gtk-doc/html/gobject/gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpec</span></a> for a path param
226
161
<div class="refsect2" title="gimp_config_path_expand ()">
227
162
<a name="gimp-config-path-expand"></a><h3>gimp_config_path_expand ()</h3>
228
<pre class="programlisting"><a
229
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
230
>gchar</a> * gimp_config_path_expand (const <a
231
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
234
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
235
>gboolean</a> recode,
237
href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"
238
>GError</a> **error);</pre>
163
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * gimp_config_path_expand (<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *path</code></em>,
164
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> recode</code></em>,
165
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
240
167
Paths as stored in the gimprc have to be treated special. The
241
168
string may contain special identifiers such as for example
243
170
filesystem may be in a different encoding than UTF-8 (which is what
244
171
is used for the gimprc). This function does the variable
245
172
substitution for you and can also attempt to convert to the
246
filesystem encoding.</p>
249
175
<div class="variablelist"><table border="0">
250
176
<col align="left" valign="top">
253
179
<td><p><span class="term"><em class="parameter"><code>path</code></em> :</span></p></td>
254
<td> a <code class="literal">NUL</code>-terminated string in UTF-8 encoding
180
<td>a <code class="literal">NUL</code>-terminated string in UTF-8 encoding
258
184
<td><p><span class="term"><em class="parameter"><code>recode</code></em> :</span></p></td>
259
<td> whether to convert to the filesystem's encoding
185
<td>whether to convert to the filesystem's encoding
263
189
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
264
<td> return location for errors
190
<td>return location for errors
278
204
<div class="refsect2" title="gimp_config_build_data_path ()">
279
205
<a name="gimp-config-build-data-path"></a><h3>gimp_config_build_data_path ()</h3>
280
<pre class="programlisting"><a
281
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
282
>gchar</a> * gimp_config_build_data_path (const <a
283
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
284
>gchar</a> *name);</pre>
206
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * gimp_config_build_data_path (<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>);</pre>
286
208
Creates a search path as it is used in the gimprc file. The path
287
209
returned by <a class="link" href="libgimpconfig-gimpconfig-path.html#gimp-config-build-data-path" title="gimp_config_build_data_path ()"><code class="function">gimp_config_build_data_path()</code></a> includes a directory
292
Note that you cannot use this path directly with <a
293
href="../libgimpbase/libgimpbase-gimpenv.html#gimp-path-parse"
294
><code class="function">gimp_path_parse()</code></a>.
214
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>.
295
215
As it is in the gimprc notation, you first need to expand and
296
recode it using <a class="link" href="libgimpconfig-gimpconfig-path.html#gimp-config-path-expand" title="gimp_config_path_expand ()"><code class="function">gimp_config_path_expand()</code></a>.</p>
216
recode it using <a class="link" href="libgimpconfig-gimpconfig-path.html#gimp-config-path-expand" title="gimp_config_path_expand ()"><code class="function">gimp_config_path_expand()</code></a>.
299
218
<div class="variablelist"><table border="0">
300
219
<col align="left" valign="top">
303
222
<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td>
304
<td> directory name (in UTF-8 encoding)
223
<td>directory name (in UTF-8 encoding)
318
237
<div class="refsect2" title="gimp_config_build_writable_path ()">
319
238
<a name="gimp-config-build-writable-path"></a><h3>gimp_config_build_writable_path ()</h3>
320
<pre class="programlisting"><a
321
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
322
>gchar</a> * gimp_config_build_writable_path (const <a
323
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
324
>gchar</a> *name);</pre>
239
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * gimp_config_build_writable_path (<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>);</pre>
326
241
Creates a search path as it is used in the gimprc file. The path
327
242
returned by <a class="link" href="libgimpconfig-gimpconfig-path.html#gimp-config-build-writable-path" title="gimp_config_build_writable_path ()"><code class="function">gimp_config_build_writable_path()</code></a> is just the writable
328
243
parts of the search path constructed by <a class="link" href="libgimpconfig-gimpconfig-path.html#gimp-config-build-data-path" title="gimp_config_build_data_path ()"><code class="function">gimp_config_build_data_path()</code></a>.
331
Note that you cannot use this path directly with <a
332
href="../libgimpbase/libgimpbase-gimpenv.html#gimp-path-parse"
333
><code class="function">gimp_path_parse()</code></a>.
246
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>.
334
247
As it is in the gimprc notation, you first need to expand and
335
recode it using <a class="link" href="libgimpconfig-gimpconfig-path.html#gimp-config-path-expand" title="gimp_config_path_expand ()"><code class="function">gimp_config_path_expand()</code></a>.</p>
248
recode it using <a class="link" href="libgimpconfig-gimpconfig-path.html#gimp-config-path-expand" title="gimp_config_path_expand ()"><code class="function">gimp_config_path_expand()</code></a>.
338
250
<div class="variablelist"><table border="0">
339
251
<col align="left" valign="top">
342
254
<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td>
343
<td> directory name (in UTF-8 encoding)
255
<td>directory name (in UTF-8 encoding)
357
269
<div class="refsect2" title="gimp_config_build_plug_in_path ()">
358
270
<a name="gimp-config-build-plug-in-path"></a><h3>gimp_config_build_plug_in_path ()</h3>
359
<pre class="programlisting"><a
360
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
361
>gchar</a> * gimp_config_build_plug_in_path (const <a
362
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
363
>gchar</a> *name);</pre>
271
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * gimp_config_build_plug_in_path (<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>);</pre>
365
273
Creates a search path as it is used in the gimprc file. The path
366
274
returned by <a class="link" href="libgimpconfig-gimpconfig-path.html#gimp-config-build-plug-in-path" title="gimp_config_build_plug_in_path ()"><code class="function">gimp_config_build_plug_in_path()</code></a> includes a directory
371
Note that you cannot use this path directly with <a
372
href="../libgimpbase/libgimpbase-gimpenv.html#gimp-path-parse"
373
><code class="function">gimp_path_parse()</code></a>.
279
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>.
374
280
As it is in the gimprc notation, you first need to expand and
375
recode it using <a class="link" href="libgimpconfig-gimpconfig-path.html#gimp-config-path-expand" title="gimp_config_path_expand ()"><code class="function">gimp_config_path_expand()</code></a>.</p>
281
recode it using <a class="link" href="libgimpconfig-gimpconfig-path.html#gimp-config-path-expand" title="gimp_config_path_expand ()"><code class="function">gimp_config_path_expand()</code></a>.
378
283
<div class="variablelist"><table border="0">
379
284
<col align="left" valign="top">
382
287
<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td>
383
<td> directory name (in UTF-8 encoding)
288
<td>directory name (in UTF-8 encoding)