mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-11 11:20:12 +00:00
15453349ea
This example demonstrates property actions and object binding.
20 lines
554 B
XML
20 lines
554 B
XML
<?xml version="1.0"?>
|
|
<interface>
|
|
<!-- interface-requires gtk+ 3.0 -->
|
|
<menu id="appmenu">
|
|
<section>
|
|
<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>
|
|
<attribute name="accel"><![CDATA[<Ctrl>Q]]></attribute>
|
|
</item>
|
|
</section>
|
|
</menu>
|
|
</interface>
|