summaryrefslogtreecommitdiff
path: root/example/foo.glade
diff options
context:
space:
mode:
Diffstat (limited to 'example/foo.glade')
-rw-r--r--example/foo.glade40
1 files changed, 40 insertions, 0 deletions
diff --git a/example/foo.glade b/example/foo.glade
new file mode 100644
index 0000000..b29f92f
--- /dev/null
+++ b/example/foo.glade
@@ -0,0 +1,40 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<interface>
+ <menu id="app-menu">
+ <section>
+ <attribute name="label" translatable="yes">Change label</attribute>
+ <item>
+ <attribute name="action">win.change_label</attribute>
+ <attribute name="target">String 1</attribute>
+ <attribute name="label" translatable="yes">String 1</attribute>
+ </item>
+ <item>
+ <attribute name="action">win.change_label</attribute>
+ <attribute name="target">String 2</attribute>
+ <attribute name="label" translatable="yes">String 2</attribute>
+ </item>
+ <item>
+ <attribute name="action">win.change_label</attribute>
+ <attribute name="target">String 3</attribute>
+ <attribute name="label" translatable="yes">String 3</attribute>
+ </item>
+ </section>
+ <section>
+ <item>
+ <attribute name="action">win.maximize</attribute>
+ <attribute name="label" translatable="yes">Maximize</attribute>
+ </item>
+ </section>
+ <section>
+ <item>
+ <attribute name="action">app.about</attribute>
+ <attribute name="label" translatable="yes">_About</attribute>
+ </item>
+ <item>
+ <attribute name="action">app.quit</attribute>
+ <attribute name="label" translatable="yes">_Quit</attribute>
+ <attribute name="accel">&lt;Primary&gt;q</attribute>
+ </item>
+ </section>
+ </menu>
+</interface>
bgstack15