Move documentation to inline comments: GtkRecentAction

This commit is contained in:
Javier Jardón 2010-05-16 00:20:20 +02:00
parent 41f327051c
commit bddf455874
3 changed files with 18 additions and 84 deletions

View File

@ -6,6 +6,7 @@ gtkmessagedialog.sgml
gtkobject.sgml
gtkorientable.sgml
gtkpagesetupunixdialog.sgml
gtkrecentaction.sgml
gtkseparator.sgml
gtktesting.sgml
gtktextiter.sgml

View File

@ -1,84 +0,0 @@
<!-- ##### SECTION Title ##### -->
GtkRecentAction
<!-- ##### SECTION Short_Description ##### -->
An action of which represents a list of recently used files
<!-- ##### SECTION Long_Description ##### -->
<para>
A GtkRecentAction represents a list of recently used files, which
can be shown by widgets such as #GtkRecentChooserDialog or
#GtkRecentChooserMenu.
</para>
<para>
To construct a submenu showing recently used files, use a GtkRecentAction
as the action for a &lt;menuitem&gt;. To construct a menu toolbutton showing
the recently used files in the popup menu, use a GtkRecentAction as the
action for a &lt;toolitem&gt; element.
</para>
<!-- ##### SECTION See_Also ##### -->
<para>
</para>
<!-- ##### SECTION Stability_Level ##### -->
<!-- ##### SECTION Image ##### -->
<!-- ##### STRUCT GtkRecentAction ##### -->
<para>
</para>
<!-- ##### ARG GtkRecentAction:show-numbers ##### -->
<para>
</para>
<!-- ##### FUNCTION gtk_recent_action_new ##### -->
<para>
</para>
@name:
@label:
@tooltip:
@stock_id:
@Returns:
<!-- ##### FUNCTION gtk_recent_action_new_for_manager ##### -->
<para>
</para>
@name:
@label:
@tooltip:
@stock_id:
@manager:
@Returns:
<!-- ##### FUNCTION gtk_recent_action_get_show_numbers ##### -->
<para>
</para>
@action:
@Returns:
<!-- ##### FUNCTION gtk_recent_action_set_show_numbers ##### -->
<para>
</para>
@action:
@show_numbers:

View File

@ -32,6 +32,23 @@
#include "gtkprivate.h"
#include "gtkalias.h"
/**
* SECTION:gtkrecentaction
* @Short_description: An action of which represents a list of recently used files
* @Title: GtkRecentAction
*
* A #GtkRecentAction represents a list of recently used files, which
* can be shown by widgets such as #GtkRecentChooserDialog or
* #GtkRecentChooserMenu.
*
* To construct a submenu showing recently used files, use a #GtkRecentAction
* as the action for a &lt;menuitem&gt;. To construct a menu toolbutton showing
* the recently used files in the popup menu, use a #GtkRecentAction as the
* action for a &lt;toolitem&gt; element.
*/
#define FALLBACK_ITEM_LIMIT 10
#define GTK_RECENT_ACTION_GET_PRIVATE(obj) \