33
33
<th width="100%" align="center">GIMP Widgets Library Reference Manual</th>
34
34
<td><a accesskey="n" href="GimpPickButton.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
36
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2575741" class="shortcut">Top</a>
38
<a href="#id2641787" class="shortcut">Description</a>
40
<a href="#id2641650" class="shortcut">Object Hierarchy</a>
42
<a href="#id2641710" class="shortcut">Implemented Interfaces</a>
44
<a href="#id2641755" class="shortcut">Signals</a></nobr></td></tr>
36
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2612205" class="shortcut">Top</a>
38
<a href="#id2637283" class="shortcut">Description</a>
40
<a href="#id2637164" class="shortcut">Object Hierarchy</a>
42
<a href="#id2637224" class="shortcut">Implemented Interfaces</a>
44
<a href="#id2637251" class="shortcut">Signals</a></nobr></td></tr>
46
46
<div class="refentry" lang="en">
47
47
<a name="GimpPathEditor"></a><div class="titlepage"></div>
48
48
<div class="refnamediv"><table width="100%"><tr>
51
<a name="id2575741"></a><span class="refentrytitle">GimpPathEditor</span>
51
<a name="id2612205"></a><span class="refentrytitle">GimpPathEditor</span>
53
53
<p>GimpPathEditor — Widget for editing a file search path.</p>
63
63
<a class="link" href="GimpPathEditor.html#GimpPathEditor-struct">GimpPathEditor</a>;
64
GtkWidget* <a class="link" href="GimpPathEditor.html#gimp-path-editor-new">gimp_path_editor_new</a> (const gchar *title,
66
gchar* <a class="link" href="GimpPathEditor.html#gimp-path-editor-get-path">gimp_path_editor_get_path</a> (<a class="link" href="GimpPathEditor.html" title="GimpPathEditor">GimpPathEditor</a> *editor);
65
href="../gtk/GtkWidget.html"
66
>GtkWidget</a>* <a class="link" href="GimpPathEditor.html#gimp-path-editor-new">gimp_path_editor_new</a> (const <a
67
href="../glib/glib-Basic-Types.html#gchar"
70
href="../glib/glib-Basic-Types.html#gchar"
73
href="../glib/glib-Basic-Types.html#gchar"
74
>gchar</a>* <a class="link" href="GimpPathEditor.html#gimp-path-editor-get-path">gimp_path_editor_get_path</a> (<a class="link" href="GimpPathEditor.html" title="GimpPathEditor">GimpPathEditor</a> *editor);
67
75
void <a class="link" href="GimpPathEditor.html#gimp-path-editor-set-path">gimp_path_editor_set_path</a> (<a class="link" href="GimpPathEditor.html" title="GimpPathEditor">GimpPathEditor</a> *editor,
69
gchar* <a class="link" href="GimpPathEditor.html#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
href="../glib/glib-Basic-Types.html#gchar"
80
href="../glib/glib-Basic-Types.html#gchar"
81
>gchar</a>* <a class="link" href="GimpPathEditor.html#gimp-path-editor-get-writable-path">gimp_path_editor_get_writable_path</a> (<a class="link" href="GimpPathEditor.html" title="GimpPathEditor">GimpPathEditor</a> *editor);
70
82
void <a class="link" href="GimpPathEditor.html#gimp-path-editor-set-writable-path">gimp_path_editor_set_writable_path</a> (<a class="link" href="GimpPathEditor.html" title="GimpPathEditor">GimpPathEditor</a> *editor,
72
gboolean <a class="link" href="GimpPathEditor.html#gimp-path-editor-get-dir-writable">gimp_path_editor_get_dir_writable</a> (<a class="link" href="GimpPathEditor.html" title="GimpPathEditor">GimpPathEditor</a> *editor,
73
const gchar *directory);
84
href="../glib/glib-Basic-Types.html#gchar"
87
href="../glib/glib-Basic-Types.html#gboolean"
88
>gboolean</a> <a class="link" href="GimpPathEditor.html#gimp-path-editor-get-dir-writable">gimp_path_editor_get_dir_writable</a> (<a class="link" href="GimpPathEditor.html" title="GimpPathEditor">GimpPathEditor</a> *editor,
90
href="../glib/glib-Basic-Types.html#gchar"
91
>gchar</a> *directory);
74
92
void <a class="link" href="GimpPathEditor.html#gimp-path-editor-set-dir-writable">gimp_path_editor_set_dir_writable</a> (<a class="link" href="GimpPathEditor.html" title="GimpPathEditor">GimpPathEditor</a> *editor,
75
const gchar *directory,
94
href="../glib/glib-Basic-Types.html#gchar"
95
>gchar</a> *directory,
97
href="../glib/glib-Basic-Types.html#gboolean"
98
>gboolean</a> writable);
80
102
<div class="refsect1" lang="en">
81
<a name="id2641650"></a><h2>Object Hierarchy</h2>
103
<a name="id2637164"></a><h2>Object Hierarchy</h2>
82
104
<pre class="synopsis">
85
+----GInitiallyUnowned
107
href="../gobject/gobject-The-Base-Object-Type.html#GObject"
110
href="../gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned"
111
>GInitiallyUnowned</a>
113
href="../gtk/GtkObject.html"
116
href="../gtk/GtkWidget.html"
119
href="../gtk/GtkContainer.html"
122
href="../gtk/GtkBox.html"
125
href="../gtk/GtkVBox.html"
91
127
+----GimpPathEditor
94
130
<div class="refsect1" lang="en">
95
<a name="id2641710"></a><h2>Implemented Interfaces</h2>
131
<a name="id2637224"></a><h2>Implemented Interfaces</h2>
97
133
GimpPathEditor implements
98
134
AtkImplementorIface and GtkBuildable.</p>
100
136
<div class="refsect1" lang="en">
101
<a name="id2641755"></a><h2>Signals</h2>
137
<a name="id2637251"></a><h2>Signals</h2>
102
138
<pre class="synopsis">
104
140
"<a class="link" href="GimpPathEditor.html#GimpPathEditor-path-changed">path-changed</a>" : Run First
127
163
<div class="refsect1" lang="en">
128
<a name="id2641829"></a><h2>Details</h2>
164
<a name="id2637325"></a><h2>Details</h2>
129
165
<div class="refsect2" lang="en">
130
<a name="id2641840"></a><h3>
166
<a name="id2637335"></a><h3>
131
167
<a name="GimpPathEditor-struct"></a>GimpPathEditor</h3>
132
<a class="indexterm" name="id2641852"></a><pre class="programlisting">typedef struct _GimpPathEditor GimpPathEditor;</pre>
168
<a class="indexterm" name="id2637347"></a><pre class="programlisting">typedef struct _GimpPathEditor GimpPathEditor;</pre>
138
174
<div class="refsect2" lang="en">
139
<a name="id2641868"></a><h3>
175
<a name="id2637363"></a><h3>
140
176
<a name="gimp-path-editor-new"></a>gimp_path_editor_new ()</h3>
141
<a class="indexterm" name="id2641879"></a><pre class="programlisting">GtkWidget* gimp_path_editor_new (const gchar *title,
142
const gchar *path);</pre>
177
<a class="indexterm" name="id2637375"></a><pre class="programlisting"><a
178
href="../gtk/GtkWidget.html"
179
>GtkWidget</a>* gimp_path_editor_new (const <a
180
href="../glib/glib-Basic-Types.html#gchar"
183
href="../glib/glib-Basic-Types.html#gchar"
184
>gchar</a> *path);</pre>
144
186
Creates a new <a class="link" href="GimpPathEditor.html" title="GimpPathEditor"><span class="type">GimpPathEditor</span></a> widget.
147
189
The elements of the initial search path must be separated with the
148
<span class="type">G_SEARCHPATH_SEPARATOR</span> character.</p>
191
href="../glib/glib-Standard-Macros.html#G-SEARCHPATH-SEPARATOR:CAPS"
192
><span class="type">G_SEARCHPATH_SEPARATOR</span></a> character.</p>
174
220
<div class="refsect2" lang="en">
175
<a name="id2635996"></a><h3>
221
<a name="id2637489"></a><h3>
176
222
<a name="gimp-path-editor-get-path"></a>gimp_path_editor_get_path ()</h3>
177
<a class="indexterm" name="id2636008"></a><pre class="programlisting">gchar* gimp_path_editor_get_path (<a class="link" href="GimpPathEditor.html" title="GimpPathEditor">GimpPathEditor</a> *editor);</pre>
223
<a class="indexterm" name="id2637500"></a><pre class="programlisting"><a
224
href="../glib/glib-Basic-Types.html#gchar"
225
>gchar</a>* gimp_path_editor_get_path (<a class="link" href="GimpPathEditor.html" title="GimpPathEditor">GimpPathEditor</a> *editor);</pre>
179
227
The elements of the returned search path string are separated with the
180
<span class="type">G_SEARCHPATH_SEPARATOR</span> character.
229
href="../glib/glib-Standard-Macros.html#G-SEARCHPATH-SEPARATOR:CAPS"
230
><span class="type">G_SEARCHPATH_SEPARATOR</span></a> character.
183
Note that you have to <code class="function">g_free()</code> the returned string.</p>
233
Note that you have to <a
234
href="../glib/glib-Memory-Allocation.html#g-free"
235
><code class="function">g_free()</code></a> the returned string.</p>
204
256
<div class="refsect2" lang="en">
205
<a name="id2636090"></a><h3>
257
<a name="id2637582"></a><h3>
206
258
<a name="gimp-path-editor-set-path"></a>gimp_path_editor_set_path ()</h3>
207
<a class="indexterm" name="id2636102"></a><pre class="programlisting">void gimp_path_editor_set_path (<a class="link" href="GimpPathEditor.html" title="GimpPathEditor">GimpPathEditor</a> *editor,
208
const gchar *path);</pre>
259
<a class="indexterm" name="id2636673"></a><pre class="programlisting">void gimp_path_editor_set_path (<a class="link" href="GimpPathEditor.html" title="GimpPathEditor">GimpPathEditor</a> *editor,
261
href="../glib/glib-Basic-Types.html#gchar"
262
>gchar</a> *path);</pre>
210
264
The elements of the initial search path must be separated with the
211
<span class="type">G_SEARCHPATH_SEPARATOR</span> character.</p>
266
href="../glib/glib-Standard-Macros.html#G-SEARCHPATH-SEPARATOR:CAPS"
267
><span class="type">G_SEARCHPATH_SEPARATOR</span></a> character.</p>
232
288
<div class="refsect2" lang="en">
233
<a name="id2637226"></a><h3>
289
<a name="id2636751"></a><h3>
234
290
<a name="gimp-path-editor-get-writable-path"></a>gimp_path_editor_get_writable_path ()</h3>
235
<a class="indexterm" name="id2637239"></a><pre class="programlisting">gchar* gimp_path_editor_get_writable_path (<a class="link" href="GimpPathEditor.html" title="GimpPathEditor">GimpPathEditor</a> *editor);</pre>
291
<a class="indexterm" name="id2636763"></a><pre class="programlisting"><a
292
href="../glib/glib-Basic-Types.html#gchar"
293
>gchar</a>* gimp_path_editor_get_writable_path (<a class="link" href="GimpPathEditor.html" title="GimpPathEditor">GimpPathEditor</a> *editor);</pre>
258
316
<div class="refsect2" lang="en">
259
<a name="id2637296"></a><h3>
317
<a name="id2636819"></a><h3>
260
318
<a name="gimp-path-editor-set-writable-path"></a>gimp_path_editor_set_writable_path ()</h3>
261
<a class="indexterm" name="id2637309"></a><pre class="programlisting">void gimp_path_editor_set_writable_path (<a class="link" href="GimpPathEditor.html" title="GimpPathEditor">GimpPathEditor</a> *editor,
262
const gchar *path);</pre>
319
<a class="indexterm" name="id2636830"></a><pre class="programlisting">void gimp_path_editor_set_writable_path (<a class="link" href="GimpPathEditor.html" title="GimpPathEditor">GimpPathEditor</a> *editor,
321
href="../glib/glib-Basic-Types.html#gchar"
322
>gchar</a> *path);</pre>
285
345
<div class="refsect2" lang="en">
286
<a name="id2637376"></a><h3>
346
<a name="id2636898"></a><h3>
287
347
<a name="gimp-path-editor-get-dir-writable"></a>gimp_path_editor_get_dir_writable ()</h3>
288
<a class="indexterm" name="id2637389"></a><pre class="programlisting">gboolean gimp_path_editor_get_dir_writable (<a class="link" href="GimpPathEditor.html" title="GimpPathEditor">GimpPathEditor</a> *editor,
289
const gchar *directory);</pre>
348
<a class="indexterm" name="id2636909"></a><pre class="programlisting"><a
349
href="../glib/glib-Basic-Types.html#gboolean"
350
>gboolean</a> gimp_path_editor_get_dir_writable (<a class="link" href="GimpPathEditor.html" title="GimpPathEditor">GimpPathEditor</a> *editor,
352
href="../glib/glib-Basic-Types.html#gchar"
353
>gchar</a> *directory);</pre>
317
381
<div class="refsect2" lang="en">
318
<a name="id2637467"></a><h3>
382
<a name="id2636987"></a><h3>
319
383
<a name="gimp-path-editor-set-dir-writable"></a>gimp_path_editor_set_dir_writable ()</h3>
320
<a class="indexterm" name="id2637480"></a><pre class="programlisting">void gimp_path_editor_set_dir_writable (<a class="link" href="GimpPathEditor.html" title="GimpPathEditor">GimpPathEditor</a> *editor,
321
const gchar *directory,
322
gboolean writable);</pre>
384
<a class="indexterm" name="id2637000"></a><pre class="programlisting">void gimp_path_editor_set_dir_writable (<a class="link" href="GimpPathEditor.html" title="GimpPathEditor">GimpPathEditor</a> *editor,
386
href="../glib/glib-Basic-Types.html#gchar"
387
>gchar</a> *directory,
389
href="../glib/glib-Basic-Types.html#gboolean"
390
>gboolean</a> writable);</pre>
350
418
<div class="refsect1" lang="en">
351
<a name="id2640148"></a><h2>Signal Details</h2>
419
<a name="id2637090"></a><h2>Signal Details</h2>
352
420
<div class="refsect2" lang="en">
353
<a name="id2640159"></a><h3>
421
<a name="id2635220"></a><h3>
354
422
<a name="GimpPathEditor-path-changed"></a>The "path-changed" signal</h3>
355
<a class="indexterm" name="id2640167"></a><pre class="programlisting">void user_function (<a class="link" href="GimpPathEditor.html" title="GimpPathEditor">GimpPathEditor</a> *arg0,
356
gpointer user_data) : Run First</pre>
423
<a class="indexterm" name="id2635227"></a><pre class="programlisting">void user_function (<a class="link" href="GimpPathEditor.html" title="GimpPathEditor">GimpPathEditor</a> *arg0,
425
href="../glib/glib-Basic-Types.html#gpointer"
426
>gpointer</a> user_data) : Run First</pre>
358
428
This signal is emitted whenever the user adds, deletes, modifies
359
429
or reorders an element of the search path.</p>
372
442
<div class="refsect2" lang="en">
373
<a name="id2640226"></a><h3>
443
<a name="id2635286"></a><h3>
374
444
<a name="GimpPathEditor-writable-changed"></a>The "writable-changed" signal</h3>
375
<a class="indexterm" name="id2640235"></a><pre class="programlisting">void user_function (<a class="link" href="GimpPathEditor.html" title="GimpPathEditor">GimpPathEditor</a> *arg0,
376
gpointer user_data) : Run First</pre>
445
<a class="indexterm" name="id2635296"></a><pre class="programlisting">void user_function (<a class="link" href="GimpPathEditor.html" title="GimpPathEditor">GimpPathEditor</a> *arg0,
447
href="../glib/glib-Basic-Types.html#gpointer"
448
>gpointer</a> user_data) : Run First</pre>
378
450
This signal is emitted whenever the "writable" column of a directory
379
451
is changed, either by the user clicking on it or by calling
393
465
<div class="refsect1" lang="en">
394
<a name="id2640307"></a><h2>See Also</h2>
466
<a name="id2635368"></a><h2>See Also</h2>
396
468
<a class="link" href="GimpFileEntry.html" title="GimpFileEntry"><span class="type">GimpFileEntry</span></a>
399
<span class="type">G_SEARCHPATH_SEPARATOR</span>
472
href="../glib/glib-Standard-Macros.html#G-SEARCHPATH-SEPARATOR:CAPS"
473
><span class="type">G_SEARCHPATH_SEPARATOR</span></a>