summaryrefslogtreecommitdiff
path: root/tests/merge-1.ui
diff options
context:
space:
mode:
authorMatthias Clasen <maclas@gmx.de>2003-08-24 19:58:30 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2003-08-24 19:58:30 +0000
commite7e395652cfac4aa5385aa91fd6079fae13dd129 (patch)
tree0673f20be9d82055803dd59a058961c0f0d8b964 /tests/merge-1.ui
parent9897d659c082f5e2661b5c26a24c3ed8d0096f0d (diff)
downloadgtk+-e7e395652cfac4aa5385aa91fd6079fae13dd129.tar.gz
A model-view separation for menus and toolbars, using the EggMenu code by
2003-08-24 Matthias Clasen <maclas@gmx.de> * gtk/gtkaction.[ch]: * gtk/gtktoggleaction.[ch]: * gtk/gtktoggleactionprivate.h: * gtk/gtkradioaction.[ch]: * gtk/gtkactiongroup.[ch]: * gtk/gtkmenumerge.[ch]: A model-view separation for menus and toolbars, using the EggMenu code by James Henstridge. * gtk/gtk.h: Include new headers. * gtk/Makefile.am: Add new files. * tests/testactions.c: Test for actions. * tests/testmerge.c: Test for menu merging. * tests/merge-[123].ui: Test data for testmerge. * tests/Makefile.am: Add testactions and testmerge. * demos/gtk-demo/appwindow.c: Use GtkMenuMerge to construct the menubar and toolbar.
Diffstat (limited to 'tests/merge-1.ui')
-rw-r--r--tests/merge-1.ui20
1 files changed, 20 insertions, 0 deletions
diff --git a/tests/merge-1.ui b/tests/merge-1.ui
new file mode 100644
index 0000000000..8ff6a72b2b
--- /dev/null
+++ b/tests/merge-1.ui
@@ -0,0 +1,20 @@
+<!--*- xml -*-->
+<Root>
+ <menu>
+ <submenu name="FileMenu" verb="StockFileMenuAction">
+ <menuitem name="Open" verb="OpenAction" />
+ </submenu>
+ <submenu name="EditMenu" verb="StockEditMenuAction">
+ <menuitem name="Cut" verb="CutAction" />
+ </submenu>
+ <placeholder name="TestPlaceholder" />
+ </menu>
+ <dockitem name="toolbar1">
+ <placeholder name="ToolbarPlaceholder" />
+ <toolitem name="NewButton" verb="NewAction" />
+ <toolitem name="CutButton" verb="CutAction" />
+ <toolitem name="CopyButton" verb="CopyAction" />
+ <toolitem name="PasteButton" verb="PasteAction" />
+ <placeholder name="JustifyToolItems"/>
+ </dockitem>
+</Root>