forked from AuroraMiddleware/gtk
Bug 516425 – Optionally display accelerators in popups
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. svn path=/trunk/; revision=21616
This commit is contained in:
parent
1d82722199
commit
7accf50a3a
@ -1,3 +1,10 @@
|
|||||||
|
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.
|
||||||
|
|
||||||
2008-10-07 Michael Natterer <mitch@imendio.com>
|
2008-10-07 Michael Natterer <mitch@imendio.com>
|
||||||
|
|
||||||
* gtk/gtk-sections.txt: add gtk_box_new.
|
* gtk/gtk-sections.txt: add gtk_box_new.
|
||||||
|
@ -32,28 +32,29 @@ Definitions</link>.
|
|||||||
<!ELEMENT toolitem (menu?) >
|
<!ELEMENT toolitem (menu?) >
|
||||||
<!ELEMENT separator EMPTY >
|
<!ELEMENT separator EMPTY >
|
||||||
<!ELEMENT accelerator EMPTY >
|
<!ELEMENT accelerator EMPTY >
|
||||||
<!ATTLIST menubar name #IMPLIED
|
<!ATTLIST menubar name #IMPLIED
|
||||||
action #IMPLIED >
|
action #IMPLIED >
|
||||||
<!ATTLIST toolbar name #IMPLIED
|
<!ATTLIST toolbar name #IMPLIED
|
||||||
action #IMPLIED >
|
action #IMPLIED >
|
||||||
<!ATTLIST popup name #IMPLIED
|
<!ATTLIST popup name #IMPLIED
|
||||||
action #IMPLIED >
|
action #IMPLIED
|
||||||
<!ATTLIST placeholder name #IMPLIED
|
accelerators (true|false) #IMPLIED >
|
||||||
action #IMPLIED >
|
<!ATTLIST placeholder name #IMPLIED
|
||||||
<!ATTLIST separator name #IMPLIED
|
action #IMPLIED >
|
||||||
action #IMPLIED
|
<!ATTLIST separator name #IMPLIED
|
||||||
expand (true|false) #IMPLIED >
|
action #IMPLIED
|
||||||
<!ATTLIST menu name #IMPLIED
|
expand (true|false) #IMPLIED >
|
||||||
action #REQUIRED
|
<!ATTLIST menu name #IMPLIED
|
||||||
position (top|bot) #IMPLIED >
|
action #REQUIRED
|
||||||
<!ATTLIST menuitem name #IMPLIED
|
position (top|bot) #IMPLIED >
|
||||||
action #REQUIRED
|
<!ATTLIST menuitem name #IMPLIED
|
||||||
position (top|bot) #IMPLIED >
|
action #REQUIRED
|
||||||
<!ATTLIST toolitem name #IMPLIED
|
position (top|bot) #IMPLIED >
|
||||||
action #REQUIRED
|
<!ATTLIST toolitem name #IMPLIED
|
||||||
position (top|bot) #IMPLIED >
|
action #REQUIRED
|
||||||
<!ATTLIST accelerator name #IMPLIED
|
position (top|bot) #IMPLIED >
|
||||||
action #REQUIRED >
|
<!ATTLIST accelerator name #IMPLIED
|
||||||
|
action #REQUIRED >
|
||||||
]]></programlisting>
|
]]></programlisting>
|
||||||
There are some additional restrictions beyond those specified in the
|
There are some additional restrictions beyond those specified in the
|
||||||
DTD, e.g. every toolitem must have a toolbar in its anchestry and
|
DTD, e.g. every toolitem must have a toolbar in its anchestry and
|
||||||
@ -458,6 +459,7 @@ what UI element to create.
|
|||||||
@GTK_UI_MANAGER_TOOLITEM: Create a toolitem.
|
@GTK_UI_MANAGER_TOOLITEM: Create a toolitem.
|
||||||
@GTK_UI_MANAGER_SEPARATOR: Create a separator.
|
@GTK_UI_MANAGER_SEPARATOR: Create a separator.
|
||||||
@GTK_UI_MANAGER_ACCELERATOR: Install an accelerator.
|
@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 ##### -->
|
<!-- ##### FUNCTION gtk_ui_manager_add_ui ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
Loading…
Reference in New Issue
Block a user