forked from AuroraMiddleware/gtk
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:
parent
e6fdcff1fb
commit
001e629969
@ -1,3 +1,8 @@
|
||||
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)
|
||||
|
||||
Wed Aug 11 23:14:25 2004 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/gtk.symbols:
|
||||
|
@ -1,3 +1,8 @@
|
||||
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)
|
||||
|
||||
Wed Aug 11 23:14:25 2004 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/gtk.symbols:
|
||||
|
@ -1,3 +1,8 @@
|
||||
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)
|
||||
|
||||
Wed Aug 11 23:14:25 2004 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/gtk.symbols:
|
||||
|
@ -1,3 +1,8 @@
|
||||
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)
|
||||
|
||||
Wed Aug 11 23:14:25 2004 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/gtk.symbols:
|
||||
|
@ -1,3 +1,8 @@
|
||||
Thu Aug 12 00:00:12 2004 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/tmpl/gtkuimanager.sgml: Add some information about
|
||||
allowed values for the name and action attributes.
|
||||
|
||||
Wed Aug 11 23:13:02 2004 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/gtk-sections.txt: Add new GtkAction setters.
|
||||
|
@ -51,9 +51,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>
|
||||
|
@ -365,6 +365,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
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user