56
56
<a name="GimpPathEditor.synopsis"></a><h2>Synopsis</h2>
57
57
<pre class="synopsis">
58
58
<a class="link" href="GimpPathEditor.html#GimpPathEditor-struct" title="GimpPathEditor">GimpPathEditor</a>;
60
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
61
>GtkWidget</a>* <a class="link" href="GimpPathEditor.html#gimp-path-editor-new" title="gimp_path_editor_new ()">gimp_path_editor_new</a> (const <a
62
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
65
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
68
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
69
>gchar</a>* <a class="link" href="GimpPathEditor.html#gimp-path-editor-get-path" title="gimp_path_editor_get_path ()">gimp_path_editor_get_path</a> (<a class="link" href="GimpPathEditor.html" title="GimpPathEditor">GimpPathEditor</a> *editor);
59
GtkWidget* <a class="link" href="GimpPathEditor.html#gimp-path-editor-new" title="gimp_path_editor_new ()">gimp_path_editor_new</a> (const gchar *title,
61
gchar* <a class="link" href="GimpPathEditor.html#gimp-path-editor-get-path" title="gimp_path_editor_get_path ()">gimp_path_editor_get_path</a> (<a class="link" href="GimpPathEditor.html" title="GimpPathEditor">GimpPathEditor</a> *editor);
70
62
void <a class="link" href="GimpPathEditor.html#gimp-path-editor-set-path" title="gimp_path_editor_set_path ()">gimp_path_editor_set_path</a> (<a class="link" href="GimpPathEditor.html" title="GimpPathEditor">GimpPathEditor</a> *editor,
72
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
75
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
76
>gchar</a>* <a class="link" href="GimpPathEditor.html#gimp-path-editor-get-writable-path" title="gimp_path_editor_get_writable_path ()">gimp_path_editor_get_writable_path</a> (<a class="link" href="GimpPathEditor.html" title="GimpPathEditor">GimpPathEditor</a> *editor);
64
gchar* <a class="link" href="GimpPathEditor.html#gimp-path-editor-get-writable-path" title="gimp_path_editor_get_writable_path ()">gimp_path_editor_get_writable_path</a> (<a class="link" href="GimpPathEditor.html" title="GimpPathEditor">GimpPathEditor</a> *editor);
77
65
void <a class="link" href="GimpPathEditor.html#gimp-path-editor-set-writable-path" title="gimp_path_editor_set_writable_path ()">gimp_path_editor_set_writable_path</a> (<a class="link" href="GimpPathEditor.html" title="GimpPathEditor">GimpPathEditor</a> *editor,
79
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
82
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
83
>gboolean</a> <a class="link" href="GimpPathEditor.html#gimp-path-editor-get-dir-writable" title="gimp_path_editor_get_dir_writable ()">gimp_path_editor_get_dir_writable</a> (<a class="link" href="GimpPathEditor.html" title="GimpPathEditor">GimpPathEditor</a> *editor,
85
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
86
>gchar</a> *directory);
67
gboolean <a class="link" href="GimpPathEditor.html#gimp-path-editor-get-dir-writable" title="gimp_path_editor_get_dir_writable ()">gimp_path_editor_get_dir_writable</a> (<a class="link" href="GimpPathEditor.html" title="GimpPathEditor">GimpPathEditor</a> *editor,
68
const gchar *directory);
87
69
void <a class="link" href="GimpPathEditor.html#gimp-path-editor-set-dir-writable" title="gimp_path_editor_set_dir_writable ()">gimp_path_editor_set_dir_writable</a> (<a class="link" href="GimpPathEditor.html" title="GimpPathEditor">GimpPathEditor</a> *editor,
89
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
90
>gchar</a> *directory,
92
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
93
>gboolean</a> writable);
70
const gchar *directory,
96
74
<div class="refsect1" lang="en">
97
75
<a name="GimpPathEditor.object-hierarchy"></a><h2>Object Hierarchy</h2>
98
76
<pre class="synopsis">
100
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"
103
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned"
104
>GInitiallyUnowned</a>
106
href="/usr/share/gtk-doc/html/gtk/GtkObject.html"
109
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
112
href="/usr/share/gtk-doc/html/gtk/GtkContainer.html"
115
href="/usr/share/gtk-doc/html/gtk/GtkBox.html"
118
href="/usr/share/gtk-doc/html/gtk/GtkVBox.html"
78
+----GInitiallyUnowned
120
84
+----GimpPathEditor
165
129
<div class="refsect2" lang="en">
166
130
<a name="gimp-path-editor-new"></a><h3>gimp_path_editor_new ()</h3>
167
<pre class="programlisting"><a
168
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
169
>GtkWidget</a>* gimp_path_editor_new (const <a
170
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
173
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
174
>gchar</a> *path);</pre>
131
<pre class="programlisting">GtkWidget* gimp_path_editor_new (const gchar *title,
132
const gchar *path);</pre>
176
134
Creates a new <a class="link" href="GimpPathEditor.html" title="GimpPathEditor"><span class="type">GimpPathEditor</span></a> widget.
179
137
The elements of the initial search path must be separated with the
181
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#G-SEARCHPATH-SEPARATOR:CAPS"
182
><span class="type">G_SEARCHPATH_SEPARATOR</span></a> character.</p>
138
<span class="type">G_SEARCHPATH_SEPARATOR</span> character.</p>
210
164
<div class="refsect2" lang="en">
211
165
<a name="gimp-path-editor-get-path"></a><h3>gimp_path_editor_get_path ()</h3>
212
<pre class="programlisting"><a
213
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
214
>gchar</a>* gimp_path_editor_get_path (<a class="link" href="GimpPathEditor.html" title="GimpPathEditor">GimpPathEditor</a> *editor);</pre>
166
<pre class="programlisting">gchar* gimp_path_editor_get_path (<a class="link" href="GimpPathEditor.html" title="GimpPathEditor">GimpPathEditor</a> *editor);</pre>
216
168
The elements of the returned search path string are separated with the
218
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#G-SEARCHPATH-SEPARATOR:CAPS"
219
><span class="type">G_SEARCHPATH_SEPARATOR</span></a> character.
169
<span class="type">G_SEARCHPATH_SEPARATOR</span> character.
222
Note that you have to <a
223
href="/usr/share/gtk-doc/html/glib/glib-Memory-Allocation.html#g-free"
224
><code class="function">g_free()</code></a> the returned string.</p>
172
Note that you have to <code class="function">g_free()</code> the returned string.</p>
245
193
<div class="refsect2" lang="en">
246
194
<a name="gimp-path-editor-set-path"></a><h3>gimp_path_editor_set_path ()</h3>
247
195
<pre class="programlisting">void gimp_path_editor_set_path (<a class="link" href="GimpPathEditor.html" title="GimpPathEditor">GimpPathEditor</a> *editor,
249
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
250
>gchar</a> *path);</pre>
196
const gchar *path);</pre>
252
198
The elements of the initial search path must be separated with the
254
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#G-SEARCHPATH-SEPARATOR:CAPS"
255
><span class="type">G_SEARCHPATH_SEPARATOR</span></a> character.</p>
199
<span class="type">G_SEARCHPATH_SEPARATOR</span> character.</p>
276
220
<div class="refsect2" lang="en">
277
221
<a name="gimp-path-editor-get-writable-path"></a><h3>gimp_path_editor_get_writable_path ()</h3>
278
<pre class="programlisting"><a
279
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
280
>gchar</a>* gimp_path_editor_get_writable_path (<a class="link" href="GimpPathEditor.html" title="GimpPathEditor">GimpPathEditor</a> *editor);</pre>
222
<pre class="programlisting">gchar* gimp_path_editor_get_writable_path (<a class="link" href="GimpPathEditor.html" title="GimpPathEditor">GimpPathEditor</a> *editor);</pre>
303
245
<div class="refsect2" lang="en">
304
246
<a name="gimp-path-editor-set-writable-path"></a><h3>gimp_path_editor_set_writable_path ()</h3>
305
247
<pre class="programlisting">void gimp_path_editor_set_writable_path (<a class="link" href="GimpPathEditor.html" title="GimpPathEditor">GimpPathEditor</a> *editor,
307
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
308
>gchar</a> *path);</pre>
248
const gchar *path);</pre>
331
271
<div class="refsect2" lang="en">
332
272
<a name="gimp-path-editor-get-dir-writable"></a><h3>gimp_path_editor_get_dir_writable ()</h3>
333
<pre class="programlisting"><a
334
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
335
>gboolean</a> gimp_path_editor_get_dir_writable (<a class="link" href="GimpPathEditor.html" title="GimpPathEditor">GimpPathEditor</a> *editor,
337
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
338
>gchar</a> *directory);</pre>
273
<pre class="programlisting">gboolean gimp_path_editor_get_dir_writable (<a class="link" href="GimpPathEditor.html" title="GimpPathEditor">GimpPathEditor</a> *editor,
274
const gchar *directory);</pre>
366
302
<div class="refsect2" lang="en">
367
303
<a name="gimp-path-editor-set-dir-writable"></a><h3>gimp_path_editor_set_dir_writable ()</h3>
368
304
<pre class="programlisting">void gimp_path_editor_set_dir_writable (<a class="link" href="GimpPathEditor.html" title="GimpPathEditor">GimpPathEditor</a> *editor,
370
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
371
>gchar</a> *directory,
373
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
374
>gboolean</a> writable);</pre>
305
const gchar *directory,
306
gboolean writable);</pre>
404
336
<div class="refsect2" lang="en">
405
337
<a name="GimpPathEditor-path-changed"></a><h3>The <code class="literal">"path-changed"</code> signal</h3>
406
338
<pre class="programlisting">void user_function (<a class="link" href="GimpPathEditor.html" title="GimpPathEditor">GimpPathEditor</a> *arg0,
408
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
409
>gpointer</a> user_data) : Run First</pre>
339
gpointer user_data) : Run First</pre>
411
341
This signal is emitted whenever the user adds, deletes, modifies
412
342
or reorders an element of the search path.</p>
425
355
<div class="refsect2" lang="en">
426
356
<a name="GimpPathEditor-writable-changed"></a><h3>The <code class="literal">"writable-changed"</code> signal</h3>
427
357
<pre class="programlisting">void user_function (<a class="link" href="GimpPathEditor.html" title="GimpPathEditor">GimpPathEditor</a> *arg0,
429
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
430
>gpointer</a> user_data) : Run First</pre>
358
gpointer user_data) : Run First</pre>
432
360
This signal is emitted whenever the "writable" column of a directory
433
361
is changed, either by the user clicking on it or by calling