mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-27 06:00:22 +00:00
f3ba001a1d
...unless they are empty.
176 lines
6.2 KiB
XML
176 lines
6.2 KiB
XML
<interface>
|
|
<menu id="menu">
|
|
<section>
|
|
<!--<attribute name="display-hint">horizontal-buttons</attribute>-->
|
|
<attribute name="label">Edit</attribute>
|
|
<item>
|
|
<attribute name="label">Cut</attribute>
|
|
<attribute name="action">top.cut</attribute>
|
|
<attribute name="verb-icon">edit-cut-symbolic</attribute>
|
|
</item>
|
|
<item>
|
|
<attribute name="label">Copy</attribute>
|
|
<attribute name="action">top.copy</attribute>
|
|
<attribute name="verb-icon">edit-copy-symbolic</attribute>
|
|
</item>
|
|
<item>
|
|
<attribute name="label">Paste</attribute>
|
|
<attribute name="action">top.paste</attribute>
|
|
<attribute name="verb-icon">edit-paste-symbolic</attribute>
|
|
</item>
|
|
</section>
|
|
<section>
|
|
<item>
|
|
<attribute name="label">No action</attribute>
|
|
<attribute name="action">action1</attribute>
|
|
</item>
|
|
<item>
|
|
<attribute name="label">Toggle</attribute>
|
|
<attribute name="action">top.action2</attribute>
|
|
<attribute name="hidden-when">action-missing</attribute>
|
|
</item>
|
|
<item>
|
|
<attribute name="label">Another Toggle</attribute>
|
|
<attribute name="action">top.action2a</attribute>
|
|
</item>
|
|
</section>
|
|
<section>
|
|
<attribute name="label">Middle Section</attribute>
|
|
<item>
|
|
<attribute name="label">Radio 1</attribute>
|
|
<attribute name="action">top.action3</attribute>
|
|
<attribute name="target">three</attribute>
|
|
</item>
|
|
<item>
|
|
<attribute name="label">Radio 2</attribute>
|
|
<attribute name="action">top.action3</attribute>
|
|
<attribute name="target">four</attribute>
|
|
</item>
|
|
</section>
|
|
<submenu>
|
|
<attribute name="label">Submenu 1</attribute>
|
|
<section>
|
|
<attribute name="label">5555</attribute>
|
|
<item>
|
|
<attribute name="label">Item 5</attribute>
|
|
<attribute name="action">top.action5</attribute>
|
|
</item>
|
|
<item>
|
|
<attribute name="label">Item 5a</attribute>
|
|
<attribute name="action">top.action5</attribute>
|
|
</item>
|
|
<item>
|
|
<attribute name="label">Item 5b</attribute>
|
|
<attribute name="action">top.action5</attribute>
|
|
</item>
|
|
<section>
|
|
<attribute name="display-hint">horizontal-buttons</attribute>
|
|
<item>
|
|
<attribute name="label">List</attribute>
|
|
<attribute name="action">top.set-view</attribute>
|
|
<attribute name="target">list</attribute>
|
|
<attribute name="verb-icon">view-list-symbolic</attribute>
|
|
</item>
|
|
<item>
|
|
<attribute name="label">Grid</attribute>
|
|
<attribute name="action">top.set-view</attribute>
|
|
<attribute name="target">grid</attribute>
|
|
<attribute name="verb-icon">view-grid-symbolic</attribute>
|
|
</item>
|
|
</section>
|
|
<item>
|
|
<attribute name="label">Item 5c</attribute>
|
|
<attribute name="action">top.action5</attribute>
|
|
</item>
|
|
<item>
|
|
<attribute name="label">Item 5d</attribute>
|
|
<attribute name="action">top.action5</attribute>
|
|
</item>
|
|
</section>
|
|
<section>
|
|
<attribute name="display-hint">horizontal-buttons</attribute>
|
|
<attribute name="label">Format</attribute>
|
|
<item>
|
|
<attribute name="label">Bold</attribute>
|
|
<attribute name="action">top.bold</attribute>
|
|
</item>
|
|
<item>
|
|
<attribute name="label">Italic</attribute>
|
|
<attribute name="action">top.italic</attribute>
|
|
<attribute name="verb-icon">format-text-italic-symbolic</attribute>
|
|
</item>
|
|
<item>
|
|
<attribute name="label">Strikethrough</attribute>
|
|
<attribute name="action">top.strikethrough</attribute>
|
|
<attribute name="verb-icon">format-text-strikethrough-symbolic</attribute>
|
|
</item>
|
|
<item>
|
|
<attribute name="label">Underline</attribute>
|
|
<attribute name="action">top.underline</attribute>
|
|
<attribute name="verb-icon">format-text-underline-symbolic</attribute>
|
|
</item>
|
|
</section>
|
|
<section>
|
|
<attribute name="label">6666</attribute>
|
|
<item>
|
|
<attribute name="label">Item 6</attribute>
|
|
<attribute name="action">top.action6</attribute>
|
|
</item>
|
|
<item>
|
|
<attribute name="label">Item 6a</attribute>
|
|
<attribute name="action">top.action6</attribute>
|
|
</item>
|
|
<item>
|
|
<attribute name="label">Item 6b</attribute>
|
|
<attribute name="action">top.action6</attribute>
|
|
</item>
|
|
<item>
|
|
<attribute name="label">Item 6c</attribute>
|
|
<attribute name="action">top.action6</attribute>
|
|
</item>
|
|
<item>
|
|
<attribute name="label">Item 6d</attribute>
|
|
<attribute name="action">top.action6</attribute>
|
|
</item>
|
|
</section>
|
|
</submenu>
|
|
<submenu>
|
|
<attribute name="label">Submenu 2</attribute>
|
|
<item>
|
|
<attribute name="label">Item 7</attribute>
|
|
<attribute name="action">top.action7</attribute>
|
|
</item>
|
|
<submenu>
|
|
<attribute name="label">Subsubmenu</attribute>
|
|
<attribute name="icon">preferences-desktop-font</attribute>
|
|
<item>
|
|
<attribute name="label">Item 8</attribute>
|
|
<attribute name="action">action8</attribute>
|
|
</item>
|
|
<section>
|
|
<item>
|
|
<attribute name="label">Item 9</attribute>
|
|
<attribute name="action">top.action9</attribute>
|
|
</item>
|
|
<item>
|
|
<attribute name="label">Item 10</attribute>
|
|
<attribute name="action">top.action10</attribute>
|
|
</item>
|
|
</section>
|
|
</submenu>
|
|
</submenu>
|
|
<section>
|
|
<attribute name="label">End Section</attribute>
|
|
<item>
|
|
<attribute name="label">Another Item 9</attribute>
|
|
<attribute name="action">top.action9</attribute>
|
|
<attribute name="icon">preferences-desktop-font</attribute>
|
|
</item>
|
|
<item>
|
|
<attribute name="label">Another Item 10</attribute>
|
|
<attribute name="action">top.action10</attribute>
|
|
</item>
|
|
</section>
|
|
</menu>
|
|
</interface>
|