Doc tweaks.

This commit is contained in:
Matthias Clasen
2003-09-04 00:49:37 +00:00
parent e4dbc17a65
commit 0a163c7fd7
8 changed files with 26 additions and 11 deletions

View File

@ -4,6 +4,7 @@
GtkUIManagerNode to shorten the names and to make the GtkUIManagerNode to shorten the names and to make the
GTK_UI_MANAGER_<TYPE> names available for a public enum. GTK_UI_MANAGER_<TYPE> names available for a public enum.
* gtk/gtkactiongroup.c:
* gtk/gtkuimanager.c: Various doc tweaks. * gtk/gtkuimanager.c: Various doc tweaks.
* gtk/gtkuimanager.c (start_element_handler): * gtk/gtkuimanager.c (start_element_handler):

View File

@ -4,6 +4,7 @@
GtkUIManagerNode to shorten the names and to make the GtkUIManagerNode to shorten the names and to make the
GTK_UI_MANAGER_<TYPE> names available for a public enum. GTK_UI_MANAGER_<TYPE> names available for a public enum.
* gtk/gtkactiongroup.c:
* gtk/gtkuimanager.c: Various doc tweaks. * gtk/gtkuimanager.c: Various doc tweaks.
* gtk/gtkuimanager.c (start_element_handler): * gtk/gtkuimanager.c (start_element_handler):

View File

@ -4,6 +4,7 @@
GtkUIManagerNode to shorten the names and to make the GtkUIManagerNode to shorten the names and to make the
GTK_UI_MANAGER_<TYPE> names available for a public enum. GTK_UI_MANAGER_<TYPE> names available for a public enum.
* gtk/gtkactiongroup.c:
* gtk/gtkuimanager.c: Various doc tweaks. * gtk/gtkuimanager.c: Various doc tweaks.
* gtk/gtkuimanager.c (start_element_handler): * gtk/gtkuimanager.c (start_element_handler):

View File

@ -4,6 +4,7 @@
GtkUIManagerNode to shorten the names and to make the GtkUIManagerNode to shorten the names and to make the
GTK_UI_MANAGER_<TYPE> names available for a public enum. GTK_UI_MANAGER_<TYPE> names available for a public enum.
* gtk/gtkactiongroup.c:
* gtk/gtkuimanager.c: Various doc tweaks. * gtk/gtkuimanager.c: Various doc tweaks.
* gtk/gtkuimanager.c (start_element_handler): * gtk/gtkuimanager.c (start_element_handler):

View File

@ -4,6 +4,7 @@
GtkUIManagerNode to shorten the names and to make the GtkUIManagerNode to shorten the names and to make the
GTK_UI_MANAGER_<TYPE> names available for a public enum. GTK_UI_MANAGER_<TYPE> names available for a public enum.
* gtk/gtkactiongroup.c:
* gtk/gtkuimanager.c: Various doc tweaks. * gtk/gtkuimanager.c: Various doc tweaks.
* gtk/gtkuimanager.c (start_element_handler): * gtk/gtkuimanager.c (start_element_handler):

View File

@ -1,3 +1,7 @@
2003-09-04 Matthias Clasen <maclas@gmx.de>
* gtk/tmpl/gtkactiongroup.sgml: Doc tweaks.
2003-09-02 Matthias Clasen <maclas@gmx.de> 2003-09-02 Matthias Clasen <maclas@gmx.de>
* gtk/tmpl/gtkactiongroup.sgml: * gtk/tmpl/gtkactiongroup.sgml:

View File

@ -20,9 +20,9 @@ act on that document (eg. save, cut/copy/paste, etc). Each window's menus
would be constructed from a combination of two action groups. would be constructed from a combination of two action groups.
</para> </para>
<para id="Action-Accel"> <para id="Action-Accel">
Accelerators are handled by the GTK+ accelerator map. All actions are Accelerators are handled by the GTK+ accelerator map. All actions are assigned an
assigned an accelerator path of the form accelerator path (which normally has the form
<literal>&lt;Actions&gt;/<replaceable>group-name</replaceable>/<replaceable>action-name</replaceable></literal> when they are added to an action group, <literal>&lt;Actions&gt;/<replaceable>group-name</replaceable>/<replaceable>action-name</replaceable></literal>)
and a shortcut is associated with this accelerator path. All menuitems and and a shortcut is associated with this accelerator path. All menuitems and
toolitems take on this accelerator path. The GTK+ accelerator map code makes toolitems take on this accelerator path. The GTK+ accelerator map code makes
sure that the correct shortcut is displayed next to the menu item. sure that the correct shortcut is displayed next to the menu item.

View File

@ -205,7 +205,7 @@ gtk_action_group_get_action (GtkActionGroup *action_group,
* @action_group: the action group * @action_group: the action group
* @action: an action * @action: an action
* *
* Adds an action object to the action group. * Adds an action object to the action group.
* *
* Since: 2.4 * Since: 2.4
*/ */
@ -223,7 +223,7 @@ gtk_action_group_add_action (GtkActionGroup *action_group,
} }
/** /**
* gtk_action_group_removes_action: * gtk_action_group_remove_action:
* @action_group: the action group * @action_group: the action group
* @action: an action * @action: an action
* *
@ -284,9 +284,12 @@ gtk_action_group_list_actions (GtkActionGroup *action_group)
* @n_entries: the number of entries * @n_entries: the number of entries
* @user_data: data to pass to the action callbacks * @user_data: data to pass to the action callbacks
* *
* This is a convenience routine to create a number of actions and add * This is a convenience function to create a number of actions and add them to the
* them to the action group. Each member of the array describes an * action group.
* action to create. *
* The "activate" signals of the actions are connected to the callbacks and
* their accel paths are set to
* <literal>&lt;Actions&gt;/<replaceable>group-name</replaceable>/<replaceable>action-name</replaceable></literal>.
* *
* Since: 2.4 * Since: 2.4
*/ */
@ -397,9 +400,12 @@ gtk_action_group_add_actions_full (GtkActionGroup *action_group,
* @on_change: the callback to connect to the changed signal * @on_change: the callback to connect to the changed signal
* @user_data: data to pass to the action callbacks * @user_data: data to pass to the action callbacks
* *
* This is a convenience routine to create a group of radio actions and * This is a convenience routine to create a group of radio actions and
* add them to the action group. Each member of the array describes a * add them to the action group.
* radio action to create. *
* The"changed" signal of the first radio action is connected to the @on_change
* callback and the accel paths of the actions are set to
* <literal>&lt;Actions&gt;/<replaceable>group-name</replaceable>/<replaceable>action-name</replaceable></literal>.
* *
* Since: 2.4 * Since: 2.4
**/ **/