blueprint-compiler/tests/samples/menu.ui
James Westman 5f0eef5f2e
Add compilation tests
Added a set of test inputs and expected outputs, for regression testing.
2021-10-31 23:36:20 -05:00

28 lines
912 B
XML

<?xml version="1.0" encoding="UTF-8"?>
<interface>
<requires lib="gtk" version="4.0"/>
<menu>
<attribute name="label" translatable="yes">menu label</attribute>
<attribute name="test-custom-attribute">3.1415</attribute>
<submenu>
<section>
<attribute name="label">test section</attribute>
</section>
<item>
<attribute name="label">test item</attribute>
</item>
<item>
<attribute name="label">test item shorthand 1</attribute>
</item>
<item>
<attribute name="label">test item shorthand 2</attribute>
<attribute name="action">app.test-action</attribute>
</item>
<item>
<attribute name="label">test item shorthand 3</attribute>
<attribute name="action">app.test-action</attribute>
<attribute name="icon">test-symbolic</attribute>
</item>
</submenu>
</menu>
</interface>