diff options
author | B. Stack <bgstack15@gmail.com> | 2024-11-21 07:45:36 -0500 |
---|---|---|
committer | B. Stack <bgstack15@gmail.com> | 2024-11-21 07:45:36 -0500 |
commit | 36e34e96a5fc22abdb294538fa355d9da416f75b (patch) | |
tree | e64082f339c6a97f0e6756e16ace69d48fc77946 /example/foo.glade | |
parent | WIP: gtk, before glade (diff) | |
download | gmm-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.glade | 40 |
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"><Primary>q</attribute> + </item> + </section> + </menu> +</interface> |