mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-27 06:00:22 +00:00
15453349ea
This example demonstrates property actions and object binding.
17 lines
458 B
XML
17 lines
458 B
XML
<?xml version="1.0"?>
|
|
<interface>
|
|
<!-- interface-requires gtk+ 3.0 -->
|
|
<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>
|
|
</section>
|
|
</menu>
|
|
</interface>
|