Link to information about allowed action names. (#149620, David Malcolm)
Thu Aug 12 00:02:29 2004 Matthias Clasen <maclas@gmx.de> * gtk/gtkaction.c (gtk_action_new): Link to information about allowed action names. (#149620, David Malcolm)
This commit is contained in:
committed by
Matthias Clasen
parent
d00889a3ed
commit
4dc5a17c15
@@ -1,3 +1,8 @@
|
||||
Thu Aug 12 00:07:15 2004 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/gtkaction.c (gtk_action_new): Link to information about
|
||||
allowed action names. (#149620, David Malcolm)
|
||||
|
||||
2004-08-11 Federico Mena Quintero <federico@ximian.com>
|
||||
|
||||
Merged from HEAD:
|
||||
|
||||
@@ -1,3 +1,8 @@
|
||||
Thu Aug 12 00:07:15 2004 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/gtkaction.c (gtk_action_new): Link to information about
|
||||
allowed action names. (#149620, David Malcolm)
|
||||
|
||||
2004-08-11 Federico Mena Quintero <federico@ximian.com>
|
||||
|
||||
Merged from HEAD:
|
||||
|
||||
@@ -1,3 +1,8 @@
|
||||
Thu Aug 12 00:07:15 2004 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/gtkaction.c (gtk_action_new): Link to information about
|
||||
allowed action names. (#149620, David Malcolm)
|
||||
|
||||
2004-08-11 Federico Mena Quintero <federico@ximian.com>
|
||||
|
||||
Merged from HEAD:
|
||||
|
||||
@@ -1,3 +1,8 @@
|
||||
Thu Aug 12 00:07:15 2004 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/gtkaction.c (gtk_action_new): Link to information about
|
||||
allowed action names. (#149620, David Malcolm)
|
||||
|
||||
2004-08-11 Federico Mena Quintero <federico@ximian.com>
|
||||
|
||||
Merged from HEAD:
|
||||
|
||||
@@ -1,3 +1,8 @@
|
||||
Thu Aug 12 00:06:20 2004 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/tmpl/gtkuimanager.sgml: Add some information about
|
||||
allowed values for the name and action attributes.
|
||||
|
||||
2004-08-07 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/tmpl/gtkrc.sgml: Fix a typo. (#149470, Mariano
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
<!-- ##### SECTION Title ##### -->
|
||||
|
||||
GtkUIManager
|
||||
|
||||
<!-- ##### SECTION Short_Description ##### -->
|
||||
@@ -51,9 +52,15 @@ There are some additional restrictions beyond those specified in the
|
||||
DTD, e.g. every toolitem must have a toolbar in its anchestry and
|
||||
every menuitem must have a menubar or popup in its anchestry. Since
|
||||
a #GMarkup parser is used to parse the UI description, it must not only
|
||||
be valid XML, but valid #GMarkup. If a name is not specified, it defaults
|
||||
to the action. If an action is not specified either, the element name is
|
||||
used.
|
||||
be valid XML, but valid #GMarkup.
|
||||
</para>
|
||||
<para>
|
||||
If a name is not specified, it defaults to the action. If an action is
|
||||
not specified either, the element name is used. The name and action
|
||||
attributes must not contain '/' characters after parsing (since that
|
||||
would mess up path lookup) and must be usable as XML attributes when
|
||||
enclosed in doublequotes, thus they must not '"' characters or references
|
||||
to the &quot; entity.
|
||||
</para>
|
||||
<example>
|
||||
<title>A UI definition</title>
|
||||
|
||||
@@ -339,6 +339,8 @@ gtk_action_init (GtkAction *action)
|
||||
* Creates a new #GtkAction object. To add the action to a
|
||||
* #GtkActionGroup and set the accelerator for the action,
|
||||
* call gtk_action_group_add_action_with_accel().
|
||||
* See <xref linkend="XML-UI"> for information on allowed action
|
||||
* names.
|
||||
*
|
||||
* Return value: a new #GtkAction
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user