Document the "desktop-folder" binding signal.

2005-10-04  Federico Mena Quintero  <federico@ximian.com>

	* gtk/tmpl/gtkfilechooser.sgml: Document the "desktop-folder"
	binding signal.
This commit is contained in:
Federico Mena Quintero 2005-10-04 20:20:47 +00:00 committed by Federico Mena Quintero
parent 5a65996333
commit 721bc7e7e4
2 changed files with 43 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2005-10-04 Federico Mena Quintero <federico@ximian.com>
* gtk/tmpl/gtkfilechooser.sgml: Document the "desktop-folder"
binding signal.
2005-09-26 Matthias Clasen <mclasen@redhat.com>
* gdk/tmpl/gcs.sgml: Fix a comment.

View File

@ -234,6 +234,10 @@ update_preview_cb (GtkFileChooser *file_chooser, gpointer data)
<entry>home-folder</entry>
<entry><keycombo><keycap>Alt</keycap><keycap>Home</keycap></keycombo></entry>
</row>
<row>
<entry>desktop-folder</entry>
<entry><keycombo><keycap>Alt</keycap><keycap>D</keycap></keycombo></entry>
</row>
</tbody>
</tgroup>
</informaltable>
@ -447,6 +451,40 @@ class "GtkFileChooserDefault" binding "misc-shortcut"
</varlistentry>
</variablelist>
</refsect3>
<refsect3 id="GtkFileChooserDefault-desktop-folder">
<title>The &quot;GtkFileChooserDefault::desktop-folder&quot; signal</title>
<programlisting>
void user_function (GtkFileChooserDefault *chooser,
<link linkend="gpointer">gpointer</link> user_data);
</programlisting>
<para>
This is used to make the file chooser show the user's Desktop
folder in the file list. By default this is bound to
<keycombo><keycap>Alt</keycap><keycap>D</keycap></keycombo>.
</para>
<variablelist role="params">
<varlistentry>
<term><parameter>chooser</parameter>&nbsp;:</term>
<listitem>
<simpara>
the object which received the signal.
</simpara>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>user_data</parameter>&nbsp;:</term>
<listitem>
<simpara>
user data set when the signal handler was connected.
</simpara>
</listitem>
</varlistentry>
</variablelist>
</refsect3>
</refsect2>
<!-- ##### SECTION See_Also ##### -->