forked from AuroraMiddleware/gtk
720bdb8daf
2003-08-26 Matthias Clasen <maclas@gmx.de> * gtk/gtkuimanager.[hc] (gtk_ui_manager_add_ui_from_string): Use gssize for length, not gsize. * gtk/gtkuimanager.c: Refactor the XML format a bit: rename <Root> to <ui> and make it optional in strings. Rename verb to action, <dockitem> to <toolbar>, <menu> to <menubar>, <submenu> to <menu>. * demos/gtk-demo/appwindow.c: * tests/testactions.c: * tests/testmerge.c: * tests/merge-1.ui: * tests/merge-2.ui: * tests/merge-3.ui: Adjust to the new XML format.
23 lines
747 B
XML
23 lines
747 B
XML
<!--*- xml -*-->
|
|
<ui>
|
|
<menubar>
|
|
<menu name="FileMenu" action="StockFileMenuAction">
|
|
<menuitem name="Open" action="OpenAction" />
|
|
</menu>
|
|
<menu name="EditMenu" action="StockEditMenuAction">
|
|
<menuitem name="Cut" action="CutAction" />
|
|
</menu>
|
|
<placeholder name="TestPlaceholder" />
|
|
</menubar>
|
|
<toolbar name="toolbar1">
|
|
<placeholder name="ToolbarPlaceholder">
|
|
<toolitem name="nb2" action="NewAction" />
|
|
</placeholder>
|
|
<toolitem name="NewButton" action="NewAction" />
|
|
<toolitem name="CutButton" action="CutAction" />
|
|
<toolitem name="CopyButton" action="CopyAction" />
|
|
<toolitem name="PasteButton" action="PasteAction" />
|
|
<placeholder name="JustifyToolItems"/>
|
|
</toolbar>
|
|
</ui>
|