gtk+ r21616 - in trunk/docs/reference: . gtk/tmpl



Author: mitch
Date: Thu Oct  9 08:51:02 2008
New Revision: 21616
URL: http://svn.gnome.org/viewvc/gtk+?rev=21616&view=rev

Log:
2008-10-09  Michael Natterer  <mitch imendio com>

	Bug 516425 â Optionally display accelerators in popups

	* gtk/tmpl/gtkuimanager.sgml: document the enhanced XML syntax and
	the new enum value for popups with accelerators.



Modified:
   trunk/docs/reference/ChangeLog
   trunk/docs/reference/gtk/tmpl/gtkuimanager.sgml

Modified: trunk/docs/reference/gtk/tmpl/gtkuimanager.sgml
==============================================================================
--- trunk/docs/reference/gtk/tmpl/gtkuimanager.sgml	(original)
+++ trunk/docs/reference/gtk/tmpl/gtkuimanager.sgml	Thu Oct  9 08:51:02 2008
@@ -32,28 +32,29 @@
 <!ELEMENT toolitem     (menu?) >
 <!ELEMENT separator    EMPTY >
 <!ELEMENT accelerator  EMPTY >
-<!ATTLIST menubar      name                  &num;IMPLIED 
-                       action                &num;IMPLIED >
-<!ATTLIST toolbar      name                  &num;IMPLIED 
-                       action                &num;IMPLIED >
-<!ATTLIST popup        name                  &num;IMPLIED 
-                       action                &num;IMPLIED >
-<!ATTLIST placeholder  name                  &num;IMPLIED
-                       action                &num;IMPLIED >
-<!ATTLIST separator    name                  &num;IMPLIED
-                       action                &num;IMPLIED
-                       expand   (true|false) &num;IMPLIED >
-<!ATTLIST menu         name                  &num;IMPLIED
-                       action                &num;REQUIRED
-                       position (top|bot)    &num;IMPLIED >
-<!ATTLIST menuitem     name                  &num;IMPLIED
-                       action                &num;REQUIRED
-                       position (top|bot)    &num;IMPLIED >
-<!ATTLIST toolitem     name                  &num;IMPLIED
-                       action                &num;REQUIRED
-                       position (top|bot)    &num;IMPLIED >
-<!ATTLIST accelerator  name                  &num;IMPLIED
-                       action                &num;REQUIRED >
+<!ATTLIST menubar      name                      &num;IMPLIED 
+                       action                    &num;IMPLIED >
+<!ATTLIST toolbar      name                      &num;IMPLIED 
+                       action                    &num;IMPLIED >
+<!ATTLIST popup        name                      &num;IMPLIED 
+                       action                    &num;IMPLIED 
+                       accelerators (true|false) &num;IMPLIED >
+<!ATTLIST placeholder  name                      &num;IMPLIED
+                       action                    &num;IMPLIED >
+<!ATTLIST separator    name                      &num;IMPLIED
+                       action                    &num;IMPLIED
+                       expand       (true|false) &num;IMPLIED >
+<!ATTLIST menu         name                      &num;IMPLIED
+                       action                    &num;REQUIRED
+                       position     (top|bot)    &num;IMPLIED >
+<!ATTLIST menuitem     name                      &num;IMPLIED
+                       action                    &num;REQUIRED
+                       position     (top|bot)    &num;IMPLIED >
+<!ATTLIST toolitem     name                      &num;IMPLIED
+                       action                    &num;REQUIRED
+                       position     (top|bot)    &num;IMPLIED >
+<!ATTLIST accelerator  name                      &num;IMPLIED
+                       action                    &num;REQUIRED >
 ]]></programlisting>
 There are some additional restrictions beyond those specified in the
 DTD, e.g. every toolitem must have a toolbar in its anchestry and
@@ -458,6 +459,7 @@
 @GTK_UI_MANAGER_TOOLITEM: Create a toolitem.
 @GTK_UI_MANAGER_SEPARATOR: Create a separator.
 @GTK_UI_MANAGER_ACCELERATOR: Install an accelerator.
+ GTK_UI_MANAGER_POPUP_WITH_ACCELS: Same as %GTK_UI_MANAGER_POPUP, but the actions' accelerators are shown.
 
 <!-- ##### FUNCTION gtk_ui_manager_add_ui ##### -->
 <para>



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]