Move documentation to inline comments: GtkRecentAction
This commit is contained in:
		
							
								
								
									
										1
									
								
								docs/reference/gtk/tmpl/.gitignore
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								docs/reference/gtk/tmpl/.gitignore
									
									
									
									
										vendored
									
									
								
							@ -6,6 +6,7 @@ gtkmessagedialog.sgml
 | 
			
		||||
gtkobject.sgml
 | 
			
		||||
gtkorientable.sgml
 | 
			
		||||
gtkpagesetupunixdialog.sgml
 | 
			
		||||
gtkrecentaction.sgml
 | 
			
		||||
gtkseparator.sgml
 | 
			
		||||
gtktesting.sgml
 | 
			
		||||
gtktextiter.sgml
 | 
			
		||||
 | 
			
		||||
@ -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 <menuitem>. To construct a menu toolbutton showing 
 | 
			
		||||
the recently used files in the popup menu, use a GtkRecentAction as the 
 | 
			
		||||
action for a <toolitem> 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: 
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -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 <menuitem>. To construct a menu toolbutton showing
 | 
			
		||||
 * the recently used files in the popup menu, use a #GtkRecentAction as the
 | 
			
		||||
 * action for a <toolitem> element.
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
#define FALLBACK_ITEM_LIMIT     10
 | 
			
		||||
 | 
			
		||||
#define GTK_RECENT_ACTION_GET_PRIVATE(obj)      \
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user