forked from AuroraMiddleware/gtk
d2430c70bd
Redo this series of examples from 2013, and adapt it to modern way of doing things. The biggest differences are that we use a headerbar right from the start, and don't mention the app menu. Fixes: #2730
26 lines
779 B
XML
26 lines
779 B
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<interface>
|
|
<menu id="menu">
|
|
<section>
|
|
<item>
|
|
<attribute name="label" translatable="yes">_Words</attribute>
|
|
<attribute name="action">win.show-words</attribute>
|
|
</item>
|
|
<item>
|
|
<attribute name="label" translatable="yes">_Lines</attribute>
|
|
<attribute name="action">win.show-lines</attribute>
|
|
</item>
|
|
<item>
|
|
<attribute name="label" translatable="yes">_Preferences</attribute>
|
|
<attribute name="action">app.preferences</attribute>
|
|
</item>
|
|
</section>
|
|
<section>
|
|
<item>
|
|
<attribute name="label" translatable="yes">_Quit</attribute>
|
|
<attribute name="action">app.quit</attribute>
|
|
</item>
|
|
</section>
|
|
</menu>
|
|
</interface>
|