summaryrefslogtreecommitdiff
path: root/example/foo.glade
diff options
context:
space:
mode:
authorB. Stack <bgstack15@gmail.com>2024-11-21 07:45:36 -0500
committerB. Stack <bgstack15@gmail.com>2024-11-21 07:45:36 -0500
commit36e34e96a5fc22abdb294538fa355d9da416f75b (patch)
treee64082f339c6a97f0e6756e16ace69d48fc77946 /example/foo.glade
parentWIP: gtk, before glade (diff)
downloadgmm-36e34e96a5fc22abdb294538fa355d9da416f75b.tar.gz
gmm-36e34e96a5fc22abdb294538fa355d9da416f75b.tar.bz2
gmm-36e34e96a5fc22abdb294538fa355d9da416f75b.zip
add failed example that glade cannot open
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