New templates.

2003-08-24  Matthias Clasen  <maclas@gmx.de>

	* gtk/tmpl/gtkmenumerge.sgml:
	* gtk/tmpl/gtkaction.sgml:
	* gtk/tmpl/gtkactiongroup.sgml:
	* gtk/tmpl/gtkradioaction.sgml:
	* gtk/tmpl/gtktoggleaction.sgml: New templates.

	* gtk/gtk-docs.sgml:
	* gtk/gtk-sections.txt: Add GtkMenuMerge, GtkAction, GtkActionGroup,
	GtkRadioAction, GtkToggleAction.
This commit is contained in:
Matthias Clasen 2003-08-24 20:47:37 +00:00 committed by Matthias Clasen
parent e7e395652c
commit 20667ea755
8 changed files with 589 additions and 0 deletions

View File

@ -1,3 +1,15 @@
2003-08-24 Matthias Clasen <maclas@gmx.de>
* gtk/tmpl/gtkmenumerge.sgml:
* gtk/tmpl/gtkaction.sgml:
* gtk/tmpl/gtkactiongroup.sgml:
* gtk/tmpl/gtkradioaction.sgml:
* gtk/tmpl/gtktoggleaction.sgml: New templates.
* gtk/gtk-docs.sgml:
* gtk/gtk-sections.txt: Add GtkMenuMerge, GtkAction, GtkActionGroup,
GtkRadioAction, GtkToggleAction.
2003-08-11 Matthias Clasen <maclas@gmx.de>
* gdk/gdk-sections.txt: Add gdk_window_set_keep_above and

View File

@ -2,6 +2,8 @@
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
"http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" [
<!ENTITY GtkAccelLabel SYSTEM "xml/gtkaccellabel.xml">
<!ENTITY GtkAction SYSTEM "xml/gtkaction.xml">
<!ENTITY GtkActionGroup SYSTEM "xml/gtkactiongroup.xml">
<!ENTITY GtkAdjustment SYSTEM "xml/gtkadjustment.xml">
<!ENTITY GtkAlignment SYSTEM "xml/gtkalignment.xml">
<!ENTITY GtkArrow SYSTEM "xml/gtkarrow.xml">
@ -59,6 +61,7 @@
<!ENTITY GtkMenu SYSTEM "xml/gtkmenu.xml">
<!ENTITY GtkMenuBar SYSTEM "xml/gtkmenubar.xml">
<!ENTITY GtkMenuItem SYSTEM "xml/gtkmenuitem.xml">
<!ENTITY GtkMenuMerge SYSTEM "xml/gtkmenumerge.xml">
<!ENTITY GtkMenuShell SYSTEM "xml/gtkmenushell.xml">
<!ENTITY GtkMessageDialog SYSTEM "xml/gtkmessagedialog.xml">
<!ENTITY GtkMisc SYSTEM "xml/gtkmisc.xml">
@ -71,6 +74,7 @@
<!ENTITY GtkPreview SYSTEM "xml/gtkpreview.xml">
<!ENTITY GtkProgress SYSTEM "xml/gtkprogress.xml">
<!ENTITY GtkProgressBar SYSTEM "xml/gtkprogressbar.xml">
<!ENTITY GtkRadioAction SYSTEM "xml/gtkradioaction.xml">
<!ENTITY GtkRadioButton SYSTEM "xml/gtkradiobutton.xml">
<!ENTITY GtkRadioMenuItem SYSTEM "xml/gtkradiomenuitem.xml">
<!ENTITY GtkRadioToolButton SYSTEM "xml/gtkradiotoolbutton.xml">
@ -96,6 +100,7 @@
<!ENTITY GtkTextTagTable SYSTEM "xml/gtktexttagtable.xml">
<!ENTITY GtkTextView SYSTEM "xml/gtktextview.xml">
<!ENTITY GtkTipsQuery SYSTEM "xml/gtktipsquery.xml">
<!ENTITY GtkToggleAction SYSTEM "xml/gtktoggleaction.xml">
<!ENTITY GtkToggleButton SYSTEM "xml/gtktogglebutton.xml">
<!ENTITY GtkToggleToolButton SYSTEM "xml/gtktoggletoolbutton.xml">
<!ENTITY GtkToolbar SYSTEM "xml/gtktoolbar.xml">
@ -391,6 +396,15 @@ that is, GUI components such as <link linkend="GtkButton">GtkButton</link> or
&GtkToggleToolButton;
&GtkRadioToolButton;
</chapter>
<chapter id="Actions">
<title>Action-based menus and toolbars</title>
&GtkMenuMerge;
&GtkActionGroup;
&GtkAction;
&GtkToggleAction;
&GtkRadioAction;
</chapter>
<chapter id="SelectorWidgets">
<title>Selectors (File/Font/Color/Input Devices)</title>

View File

@ -98,6 +98,60 @@ GTK_IS_ACCESSIBLE_CLASS
gtk_accessible_get_type
</SECTION>
<SECTION>
<FILE>gtkaction</FILE>
<TITLE>GtkAction</TITLE>
GtkAction
gtk_action_get_name
gtk_action_activate
gtk_action_create_icon
gtk_action_create_menu_item
gtk_action_create_tool_item
gtk_action_connect_proxy
gtk_action_disconnect_proxy
gtk_action_get_proxies
gtk_action_block_activate_from
gtk_action_unblock_activate_from
gtk_action_set_accel_path
<SUBSECTION Standard>
GTK_TYPE_ACTION
GTK_ACTION
GTK_ACTION_CLASS
GTK_IS_ACTION
GTK_IS_ACTION_CLASS
GTK_ACTION_GET_CLASS
GtkActionClass
<SUBSECTION Private>
gtk_action_get_type
GtkActionPrivate
</SECTION>
<SECTION>
<FILE>gtkactiongroup</FILE>
<TITLE>GtkActionGroup</TITLE>
GtkActionGroup
GtkActionGroupEntryTrype
GtkActionGroupEntry
gtk_action_group_new
gtk_action_group_get_name
gtk_action_group_get_action
gtk_action_group_list_actions
gtk_action_group_add_action
gtk_action_group_remove_action
gtk_action_group_add_actions
<SUBSECTION Standard>
GTK_TYPE_ACTION_GROUP
GTK_ACTION_GROUP
GTK_ACTION_GROUP_CLASS
GTK_IS_ACTION_GROUP
GTK_IS_ACTION_GROUP_CLASS
GTK_ACTION_GROUP_GET_CLASS
GtkActionGroupClass
<SUBSECTION Private>
gtk_action_group_get_type
GtkActionGroupPrivate
</SECTION>
<SECTION>
<FILE>gtkadjustment</FILE>
<TITLE>GtkAdjustment</TITLE>
@ -1659,6 +1713,33 @@ GTK_MENU_ITEM_GET_CLASS
gtk_menu_item_get_type
</SECTION>
<SECTION>
<FILE>gtkmenumerge</FILE>
<TITLE>GtkMenuMerge</TITLE>
GtkMenuMerge
gtk_menu_merge_new
gtk_menu_merge_insert_action_group
gtk_menu_merge_remove_action_group
gtk_menu_merge_get_action_groups
gtk_menu_merge_get_accel_group
gtk_menu_merge_get_widget
gtk_menu_merge_add_ui_from_string
gtk_menu_merge_add_ui_from_file
gtk_menu_merge_remove_ui
gtk_menu_merge_get_ui
<SUBSECTION Standard>
GTK_TYPE_MENU_MERGE
GTK_MENU_MERGE
GTK_MENU_MERGE_CLASS
GTK_IS_MENU_MERGE
GTK_IS_MENU_MERGE_CLASS
GTK_MENU_MERGE_GET_CLASS
GtkMenuMergeClass
<SUBSECTION Private>
gtk_menu_merge_get_type
GtkMenuMergePrivate
</SECTION>
<SECTION>
<FILE>gtkmenushell</FILE>
<TITLE>GtkMenuShell</TITLE>
@ -2007,6 +2088,24 @@ GTK_PROGRESS_BAR_GET_CLASS
gtk_progress_bar_get_type
</SECTION>
<SECTION>
<FILE>gtkradioaction</FILE>
<TITLE>GtkRadioAction</TITLE>
GtkRadioAction
gtk_radio_action_get_group
gtk_radio_action_set_group
<SUBSECTION Standard>
GTK_TYPE_RADIO_ACTION
GTK_RADIO_ACTION
GTK_RADIO_ACTION_CLASS
GTK_IS_RADIO_ACTION
GTK_IS_RADIO_ACTION_CLASS
GTK_RADIO_ACTION_GET_CLASS
<SUBSECTION Private>
gtk_radio_action_get_type
GtkRadionActionPrivate
</SECTION>
<SECTION>
<FILE>gtkradiobutton</FILE>
<TITLE>GtkRadioButton</TITLE>
@ -2768,6 +2867,26 @@ GTK_TIPS_QUERY_GET_CLASS
gtk_tips_query_get_type
</SECTION>
<SECTION>
<FILE>gtktoggleaction</FILE>
<TITLE>GtkToggleAction</TITLE>
GtkToggleAction
gtk_toggle_action_toggled
gtk_toggle_action_set_active
gtk_toggle_action_get_active
<SUBSECTION Standard>
GTK_TYPE_TOGGLE_ACTION
GTK_TOGGLE_ACTION
GTK_TOGGLE_ACTION_CLASS
GTK_IS_TOGGLE_ACTION
GTK_IS_TOGGLE_ACTION_CLASS
GTK_TOGGLE_ACTION_GET_CLASS
GtkToggleActionClass
<SUBSECTION Private>
gtk_toggle_action_get_type
GtkToggleActionPrivate
</SECTION>
<SECTION>
<FILE>gtktogglebutton</FILE>
<TITLE>GtkToggleButton</TITLE>

View File

@ -0,0 +1,124 @@
<!-- ##### SECTION Title ##### -->
GtkAction
<!-- ##### SECTION Short_Description ##### -->
<!-- ##### SECTION Long_Description ##### -->
<para>
</para>
<!-- ##### SECTION See_Also ##### -->
<para>
</para>
<!-- ##### STRUCT GtkAction ##### -->
<para>
</para>
@object:
<!-- ##### FUNCTION gtk_action_get_name ##### -->
<para>
</para>
@action:
@Returns:
<!-- ##### FUNCTION gtk_action_activate ##### -->
<para>
</para>
@action:
<!-- ##### FUNCTION gtk_action_create_icon ##### -->
<para>
</para>
@action:
@icon_size:
@Returns:
<!-- ##### FUNCTION gtk_action_create_menu_item ##### -->
<para>
</para>
@action:
@Returns:
<!-- ##### FUNCTION gtk_action_create_tool_item ##### -->
<para>
</para>
@action:
@Returns:
<!-- ##### FUNCTION gtk_action_connect_proxy ##### -->
<para>
</para>
@action:
@proxy:
<!-- ##### FUNCTION gtk_action_disconnect_proxy ##### -->
<para>
</para>
@action:
@proxy:
<!-- ##### FUNCTION gtk_action_get_proxies ##### -->
<para>
</para>
@action:
@Returns:
<!-- ##### FUNCTION gtk_action_block_activate_from ##### -->
<para>
</para>
@action:
@proxy:
<!-- ##### FUNCTION gtk_action_unblock_activate_from ##### -->
<para>
</para>
@action:
@proxy:
<!-- ##### FUNCTION gtk_action_set_accel_path ##### -->
<para>
</para>
@action:
@accel_path:

View File

@ -0,0 +1,105 @@
<!-- ##### SECTION Title ##### -->
GtkActionGroup
<!-- ##### SECTION Short_Description ##### -->
<!-- ##### SECTION Long_Description ##### -->
<para>
</para>
<!-- ##### SECTION See_Also ##### -->
<para>
</para>
<!-- ##### STRUCT GtkActionGroup ##### -->
<para>
</para>
@parent:
<!-- ##### STRUCT GtkActionGroupEntry ##### -->
<para>
</para>
@name:
@label:
@stock_id:
@accelerator:
@tooltip:
@callback:
@user_data:
@entry_type:
@extra_data:
<!-- ##### FUNCTION gtk_action_group_new ##### -->
<para>
</para>
@name:
@Returns:
<!-- ##### FUNCTION gtk_action_group_get_name ##### -->
<para>
</para>
@action_group:
@Returns:
<!-- ##### FUNCTION gtk_action_group_get_action ##### -->
<para>
</para>
@action_group:
@action_name:
@Returns:
<!-- ##### FUNCTION gtk_action_group_list_actions ##### -->
<para>
</para>
@action_group:
@Returns:
<!-- ##### FUNCTION gtk_action_group_add_action ##### -->
<para>
</para>
@action_group:
@action:
<!-- ##### FUNCTION gtk_action_group_remove_action ##### -->
<para>
</para>
@action_group:
@action:
<!-- ##### FUNCTION gtk_action_group_add_actions ##### -->
<para>
</para>
@action_group:
@entries:
@n_entries:

View File

@ -0,0 +1,121 @@
<!-- ##### SECTION Title ##### -->
GtkMenuMerge
<!-- ##### SECTION Short_Description ##### -->
<!-- ##### SECTION Long_Description ##### -->
<para>
</para>
<!-- ##### SECTION See_Also ##### -->
<para>
</para>
<!-- ##### STRUCT GtkMenuMerge ##### -->
<para>
</para>
@parent:
<!-- ##### FUNCTION gtk_menu_merge_new ##### -->
<para>
</para>
@Returns:
<!-- ##### FUNCTION gtk_menu_merge_insert_action_group ##### -->
<para>
</para>
@self:
@action_group:
@pos:
<!-- ##### FUNCTION gtk_menu_merge_remove_action_group ##### -->
<para>
</para>
@self:
@action_group:
<!-- ##### FUNCTION gtk_menu_merge_get_action_groups ##### -->
<para>
</para>
@self:
@Returns:
<!-- ##### FUNCTION gtk_menu_merge_get_accel_group ##### -->
<para>
</para>
@self:
@Returns:
<!-- ##### FUNCTION gtk_menu_merge_get_widget ##### -->
<para>
</para>
@self:
@path:
@Returns:
<!-- ##### FUNCTION gtk_menu_merge_add_ui_from_string ##### -->
<para>
</para>
@self:
@buffer:
@length:
@error:
@Returns:
<!-- ##### FUNCTION gtk_menu_merge_add_ui_from_file ##### -->
<para>
</para>
@self:
@filename:
@error:
@Returns:
<!-- ##### FUNCTION gtk_menu_merge_remove_ui ##### -->
<para>
</para>
@self:
@merge_id:
<!-- ##### FUNCTION gtk_menu_merge_get_ui ##### -->
<para>
</para>
@self:
@Returns:

View File

@ -0,0 +1,43 @@
<!-- ##### SECTION Title ##### -->
GtkRadioAction
<!-- ##### SECTION Short_Description ##### -->
<!-- ##### SECTION Long_Description ##### -->
<para>
</para>
<!-- ##### SECTION See_Also ##### -->
<para>
</para>
<!-- ##### STRUCT GtkRadioAction ##### -->
<para>
</para>
@parent:
<!-- ##### FUNCTION gtk_radio_action_get_group ##### -->
<para>
</para>
@action:
@Returns:
<!-- ##### FUNCTION gtk_radio_action_set_group ##### -->
<para>
</para>
@action:
@group:

View File

@ -0,0 +1,51 @@
<!-- ##### SECTION Title ##### -->
GtkToggleAction
<!-- ##### SECTION Short_Description ##### -->
<!-- ##### SECTION Long_Description ##### -->
<para>
</para>
<!-- ##### SECTION See_Also ##### -->
<para>
</para>
<!-- ##### STRUCT GtkToggleAction ##### -->
<para>
</para>
@parent:
<!-- ##### FUNCTION gtk_toggle_action_toggled ##### -->
<para>
</para>
@action:
<!-- ##### FUNCTION gtk_toggle_action_set_active ##### -->
<para>
</para>
@action:
@is_active:
<!-- ##### FUNCTION gtk_toggle_action_get_active ##### -->
<para>
</para>
@action:
@Returns: