Imported Upstream version 2.4.0~rc3
This commit is contained in:
@ -33,22 +33,22 @@
|
||||
<th width="100%" align="center">GIMP Widgets Library Reference Manual</th>
|
||||
<td><a accesskey="n" href="GimpPickButton.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="#id2575741" class="shortcut">Top</a>
|
||||
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2612205" class="shortcut">Top</a>
|
||||
 | 
|
||||
<a href="#id2641787" class="shortcut">Description</a>
|
||||
<a href="#id2637283" class="shortcut">Description</a>
|
||||
 | 
|
||||
<a href="#id2641650" class="shortcut">Object Hierarchy</a>
|
||||
<a href="#id2637164" class="shortcut">Object Hierarchy</a>
|
||||
 | 
|
||||
<a href="#id2641710" class="shortcut">Implemented Interfaces</a>
|
||||
<a href="#id2637224" class="shortcut">Implemented Interfaces</a>
|
||||
 | 
|
||||
<a href="#id2641755" class="shortcut">Signals</a></nobr></td></tr>
|
||||
<a href="#id2637251" class="shortcut">Signals</a></nobr></td></tr>
|
||||
</table>
|
||||
<div class="refentry" lang="en">
|
||||
<a name="GimpPathEditor"></a><div class="titlepage"></div>
|
||||
<div class="refnamediv"><table width="100%"><tr>
|
||||
<td valign="top">
|
||||
<h2>
|
||||
<a name="id2575741"></a><span class="refentrytitle">GimpPathEditor</span>
|
||||
<a name="id2612205"></a><span class="refentrytitle">GimpPathEditor</span>
|
||||
</h2>
|
||||
<p>GimpPathEditor — Widget for editing a file search path.</p>
|
||||
</td>
|
||||
@ -61,44 +61,80 @@
|
||||
|
||||
|
||||
<a class="link" href="GimpPathEditor.html#GimpPathEditor-struct">GimpPathEditor</a>;
|
||||
GtkWidget* <a class="link" href="GimpPathEditor.html#gimp-path-editor-new">gimp_path_editor_new</a> (const gchar *title,
|
||||
const gchar *path);
|
||||
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);
|
||||
<a
|
||||
href="../gtk/GtkWidget.html"
|
||||
>GtkWidget</a>* <a class="link" href="GimpPathEditor.html#gimp-path-editor-new">gimp_path_editor_new</a> (const <a
|
||||
href="../glib/glib-Basic-Types.html#gchar"
|
||||
>gchar</a> *title,
|
||||
const <a
|
||||
href="../glib/glib-Basic-Types.html#gchar"
|
||||
>gchar</a> *path);
|
||||
<a
|
||||
href="../glib/glib-Basic-Types.html#gchar"
|
||||
>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);
|
||||
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,
|
||||
const gchar *path);
|
||||
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);
|
||||
const <a
|
||||
href="../glib/glib-Basic-Types.html#gchar"
|
||||
>gchar</a> *path);
|
||||
<a
|
||||
href="../glib/glib-Basic-Types.html#gchar"
|
||||
>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);
|
||||
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,
|
||||
const gchar *path);
|
||||
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,
|
||||
const gchar *directory);
|
||||
const <a
|
||||
href="../glib/glib-Basic-Types.html#gchar"
|
||||
>gchar</a> *path);
|
||||
<a
|
||||
href="../glib/glib-Basic-Types.html#gboolean"
|
||||
>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,
|
||||
const <a
|
||||
href="../glib/glib-Basic-Types.html#gchar"
|
||||
>gchar</a> *directory);
|
||||
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,
|
||||
const gchar *directory,
|
||||
gboolean writable);
|
||||
const <a
|
||||
href="../glib/glib-Basic-Types.html#gchar"
|
||||
>gchar</a> *directory,
|
||||
<a
|
||||
href="../glib/glib-Basic-Types.html#gboolean"
|
||||
>gboolean</a> writable);
|
||||
|
||||
</pre>
|
||||
</div>
|
||||
<div class="refsect1" lang="en">
|
||||
<a name="id2641650"></a><h2>Object Hierarchy</h2>
|
||||
<a name="id2637164"></a><h2>Object Hierarchy</h2>
|
||||
<pre class="synopsis">
|
||||
|
||||
GObject
|
||||
+----GInitiallyUnowned
|
||||
+----GtkObject
|
||||
+----GtkWidget
|
||||
+----GtkContainer
|
||||
+----GtkBox
|
||||
+----GtkVBox
|
||||
<a
|
||||
href="../gobject/gobject-The-Base-Object-Type.html#GObject"
|
||||
>GObject</a>
|
||||
+----<a
|
||||
href="../gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned"
|
||||
>GInitiallyUnowned</a>
|
||||
+----<a
|
||||
href="../gtk/GtkObject.html"
|
||||
>GtkObject</a>
|
||||
+----<a
|
||||
href="../gtk/GtkWidget.html"
|
||||
>GtkWidget</a>
|
||||
+----<a
|
||||
href="../gtk/GtkContainer.html"
|
||||
>GtkContainer</a>
|
||||
+----<a
|
||||
href="../gtk/GtkBox.html"
|
||||
>GtkBox</a>
|
||||
+----<a
|
||||
href="../gtk/GtkVBox.html"
|
||||
>GtkVBox</a>
|
||||
+----GimpPathEditor
|
||||
</pre>
|
||||
</div>
|
||||
<div class="refsect1" lang="en">
|
||||
<a name="id2641710"></a><h2>Implemented Interfaces</h2>
|
||||
<a name="id2637224"></a><h2>Implemented Interfaces</h2>
|
||||
<p>
|
||||
GimpPathEditor implements
|
||||
AtkImplementorIface and GtkBuildable.</p>
|
||||
</div>
|
||||
<div class="refsect1" lang="en">
|
||||
<a name="id2641755"></a><h2>Signals</h2>
|
||||
<a name="id2637251"></a><h2>Signals</h2>
|
||||
<pre class="synopsis">
|
||||
|
||||
"<a class="link" href="GimpPathEditor.html#GimpPathEditor-path-changed">path-changed</a>" : Run First
|
||||
@ -106,7 +142,7 @@ GimpPathEditor implements
|
||||
</pre>
|
||||
</div>
|
||||
<div class="refsect1" lang="en">
|
||||
<a name="id2641787"></a><h2>Description</h2>
|
||||
<a name="id2637283"></a><h2>Description</h2>
|
||||
<p>
|
||||
This widget is used to edit file search paths.
|
||||
</p>
|
||||
@ -125,27 +161,35 @@ the search path, the "path_changed" signal will be emitted.
|
||||
</p>
|
||||
</div>
|
||||
<div class="refsect1" lang="en">
|
||||
<a name="id2641829"></a><h2>Details</h2>
|
||||
<a name="id2637325"></a><h2>Details</h2>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2641840"></a><h3>
|
||||
<a name="id2637335"></a><h3>
|
||||
<a name="GimpPathEditor-struct"></a>GimpPathEditor</h3>
|
||||
<a class="indexterm" name="id2641852"></a><pre class="programlisting">typedef struct _GimpPathEditor GimpPathEditor;</pre>
|
||||
<a class="indexterm" name="id2637347"></a><pre class="programlisting">typedef struct _GimpPathEditor GimpPathEditor;</pre>
|
||||
<p>
|
||||
|
||||
</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2641868"></a><h3>
|
||||
<a name="id2637363"></a><h3>
|
||||
<a name="gimp-path-editor-new"></a>gimp_path_editor_new ()</h3>
|
||||
<a class="indexterm" name="id2641879"></a><pre class="programlisting">GtkWidget* gimp_path_editor_new (const gchar *title,
|
||||
const gchar *path);</pre>
|
||||
<a class="indexterm" name="id2637375"></a><pre class="programlisting"><a
|
||||
href="../gtk/GtkWidget.html"
|
||||
>GtkWidget</a>* gimp_path_editor_new (const <a
|
||||
href="../glib/glib-Basic-Types.html#gchar"
|
||||
>gchar</a> *title,
|
||||
const <a
|
||||
href="../glib/glib-Basic-Types.html#gchar"
|
||||
>gchar</a> *path);</pre>
|
||||
<p>
|
||||
Creates a new <a class="link" href="GimpPathEditor.html" title="GimpPathEditor"><span class="type">GimpPathEditor</span></a> widget.
|
||||
</p>
|
||||
<p>
|
||||
The elements of the initial search path must be separated with the
|
||||
<span class="type">G_SEARCHPATH_SEPARATOR</span> character.</p>
|
||||
<a
|
||||
href="../glib/glib-Standard-Macros.html#G-SEARCHPATH-SEPARATOR:CAPS"
|
||||
><span class="type">G_SEARCHPATH_SEPARATOR</span></a> character.</p>
|
||||
<p>
|
||||
|
||||
</p>
|
||||
@ -154,7 +198,9 @@ The elements of the initial search path must be separated with the
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><p><span class="term"><em class="parameter"><code>title</code></em> :</span></p></td>
|
||||
<td> The title of the <span class="type">GtkFileChooser</span> dialog which can be popped up.
|
||||
<td> The title of the <a
|
||||
href="../gtk/GtkFileChooser.html"
|
||||
><span class="type">GtkFileChooser</span></a> dialog which can be popped up.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
@ -172,15 +218,21 @@ The elements of the initial search path must be separated with the
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2635996"></a><h3>
|
||||
<a name="id2637489"></a><h3>
|
||||
<a name="gimp-path-editor-get-path"></a>gimp_path_editor_get_path ()</h3>
|
||||
<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>
|
||||
<a class="indexterm" name="id2637500"></a><pre class="programlisting"><a
|
||||
href="../glib/glib-Basic-Types.html#gchar"
|
||||
>gchar</a>* gimp_path_editor_get_path (<a class="link" href="GimpPathEditor.html" title="GimpPathEditor">GimpPathEditor</a> *editor);</pre>
|
||||
<p>
|
||||
The elements of the returned search path string are separated with the
|
||||
<span class="type">G_SEARCHPATH_SEPARATOR</span> character.
|
||||
<a
|
||||
href="../glib/glib-Standard-Macros.html#G-SEARCHPATH-SEPARATOR:CAPS"
|
||||
><span class="type">G_SEARCHPATH_SEPARATOR</span></a> character.
|
||||
</p>
|
||||
<p>
|
||||
Note that you have to <code class="function">g_free()</code> the returned string.</p>
|
||||
Note that you have to <a
|
||||
href="../glib/glib-Memory-Allocation.html#g-free"
|
||||
><code class="function">g_free()</code></a> the returned string.</p>
|
||||
<p>
|
||||
|
||||
</p>
|
||||
@ -202,13 +254,17 @@ Note that you have to <code class="function">g_free()</code> the returned string
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2636090"></a><h3>
|
||||
<a name="id2637582"></a><h3>
|
||||
<a name="gimp-path-editor-set-path"></a>gimp_path_editor_set_path ()</h3>
|
||||
<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,
|
||||
const gchar *path);</pre>
|
||||
<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,
|
||||
const <a
|
||||
href="../glib/glib-Basic-Types.html#gchar"
|
||||
>gchar</a> *path);</pre>
|
||||
<p>
|
||||
The elements of the initial search path must be separated with the
|
||||
<span class="type">G_SEARCHPATH_SEPARATOR</span> character.</p>
|
||||
<a
|
||||
href="../glib/glib-Standard-Macros.html#G-SEARCHPATH-SEPARATOR:CAPS"
|
||||
><span class="type">G_SEARCHPATH_SEPARATOR</span></a> character.</p>
|
||||
<p>
|
||||
|
||||
</p>
|
||||
@ -230,9 +286,11 @@ The elements of the initial search path must be separated with the
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2637226"></a><h3>
|
||||
<a name="id2636751"></a><h3>
|
||||
<a name="gimp-path-editor-get-writable-path"></a>gimp_path_editor_get_writable_path ()</h3>
|
||||
<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>
|
||||
<a class="indexterm" name="id2636763"></a><pre class="programlisting"><a
|
||||
href="../glib/glib-Basic-Types.html#gchar"
|
||||
>gchar</a>* gimp_path_editor_get_writable_path (<a class="link" href="GimpPathEditor.html" title="GimpPathEditor">GimpPathEditor</a> *editor);</pre>
|
||||
<p>
|
||||
|
||||
</p>
|
||||
@ -256,10 +314,12 @@ The elements of the initial search path must be separated with the
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2637296"></a><h3>
|
||||
<a name="id2636819"></a><h3>
|
||||
<a name="gimp-path-editor-set-writable-path"></a>gimp_path_editor_set_writable_path ()</h3>
|
||||
<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,
|
||||
const gchar *path);</pre>
|
||||
<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,
|
||||
const <a
|
||||
href="../glib/glib-Basic-Types.html#gchar"
|
||||
>gchar</a> *path);</pre>
|
||||
<p>
|
||||
|
||||
</p>
|
||||
@ -283,10 +343,14 @@ The elements of the initial search path must be separated with the
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2637376"></a><h3>
|
||||
<a name="id2636898"></a><h3>
|
||||
<a name="gimp-path-editor-get-dir-writable"></a>gimp_path_editor_get_dir_writable ()</h3>
|
||||
<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,
|
||||
const gchar *directory);</pre>
|
||||
<a class="indexterm" name="id2636909"></a><pre class="programlisting"><a
|
||||
href="../glib/glib-Basic-Types.html#gboolean"
|
||||
>gboolean</a> gimp_path_editor_get_dir_writable (<a class="link" href="GimpPathEditor.html" title="GimpPathEditor">GimpPathEditor</a> *editor,
|
||||
const <a
|
||||
href="../glib/glib-Basic-Types.html#gchar"
|
||||
>gchar</a> *directory);</pre>
|
||||
<p>
|
||||
|
||||
</p>
|
||||
@ -315,11 +379,15 @@ The elements of the initial search path must be separated with the
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2637467"></a><h3>
|
||||
<a name="id2636987"></a><h3>
|
||||
<a name="gimp-path-editor-set-dir-writable"></a>gimp_path_editor_set_dir_writable ()</h3>
|
||||
<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,
|
||||
const gchar *directory,
|
||||
gboolean writable);</pre>
|
||||
<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,
|
||||
const <a
|
||||
href="../glib/glib-Basic-Types.html#gchar"
|
||||
>gchar</a> *directory,
|
||||
<a
|
||||
href="../glib/glib-Basic-Types.html#gboolean"
|
||||
>gboolean</a> writable);</pre>
|
||||
<p>
|
||||
|
||||
</p>
|
||||
@ -348,12 +416,14 @@ The elements of the initial search path must be separated with the
|
||||
</div>
|
||||
</div>
|
||||
<div class="refsect1" lang="en">
|
||||
<a name="id2640148"></a><h2>Signal Details</h2>
|
||||
<a name="id2637090"></a><h2>Signal Details</h2>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2640159"></a><h3>
|
||||
<a name="id2635220"></a><h3>
|
||||
<a name="GimpPathEditor-path-changed"></a>The "path-changed" signal</h3>
|
||||
<a class="indexterm" name="id2640167"></a><pre class="programlisting">void user_function (<a class="link" href="GimpPathEditor.html" title="GimpPathEditor">GimpPathEditor</a> *arg0,
|
||||
gpointer user_data) : Run First</pre>
|
||||
<a class="indexterm" name="id2635227"></a><pre class="programlisting">void user_function (<a class="link" href="GimpPathEditor.html" title="GimpPathEditor">GimpPathEditor</a> *arg0,
|
||||
<a
|
||||
href="../glib/glib-Basic-Types.html#gpointer"
|
||||
>gpointer</a> user_data) : Run First</pre>
|
||||
<p>
|
||||
This signal is emitted whenever the user adds, deletes, modifies
|
||||
or reorders an element of the search path.</p>
|
||||
@ -370,10 +440,12 @@ or reorders an element of the search path.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2640226"></a><h3>
|
||||
<a name="id2635286"></a><h3>
|
||||
<a name="GimpPathEditor-writable-changed"></a>The "writable-changed" signal</h3>
|
||||
<a class="indexterm" name="id2640235"></a><pre class="programlisting">void user_function (<a class="link" href="GimpPathEditor.html" title="GimpPathEditor">GimpPathEditor</a> *arg0,
|
||||
gpointer user_data) : Run First</pre>
|
||||
<a class="indexterm" name="id2635296"></a><pre class="programlisting">void user_function (<a class="link" href="GimpPathEditor.html" title="GimpPathEditor">GimpPathEditor</a> *arg0,
|
||||
<a
|
||||
href="../glib/glib-Basic-Types.html#gpointer"
|
||||
>gpointer</a> user_data) : Run First</pre>
|
||||
<p>
|
||||
This signal is emitted whenever the "writable" column of a directory
|
||||
is changed, either by the user clicking on it or by calling
|
||||
@ -391,12 +463,14 @@ is changed, either by the user clicking on it or by calling
|
||||
</div>
|
||||
</div>
|
||||
<div class="refsect1" lang="en">
|
||||
<a name="id2640307"></a><h2>See Also</h2>
|
||||
<a name="id2635368"></a><h2>See Also</h2>
|
||||
<p>
|
||||
<a class="link" href="GimpFileEntry.html" title="GimpFileEntry"><span class="type">GimpFileEntry</span></a>
|
||||
</p>
|
||||
<p>
|
||||
<span class="type">G_SEARCHPATH_SEPARATOR</span>
|
||||
<a
|
||||
href="../glib/glib-Standard-Macros.html#G-SEARCHPATH-SEPARATOR:CAPS"
|
||||
><span class="type">G_SEARCHPATH_SEPARATOR</span></a>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user