Learning_GTK4_tree/tests/popover2.ui

447 lines
16 KiB
Plaintext
Raw Permalink Normal View History

2023-12-12 11:36:42 +01:00
<interface>
<object class="GtkPopoverMenu" id="popover">
<property name="autohide">True</property>
<child>
<object class="GtkBox">
<property name="orientation">vertical</property>
<child>
<object class="GtkBox">
<property name="orientation">vertical</property>
<property name="margin-start">12</property>
<property name="margin-end">12</property>
<property name="margin-top">6</property>
<property name="margin-bottom">3</property>
<child>
<object class="GtkLabel">
<property name="halign">start</property>
<property name="label">Edit</property>
<style>
<class name="separator"/>
</style>
</object>
</child>
<child>
<object class="GtkSeparator"/>
</child>
</object>
</child>
<child>
<object class="GtkModelButton">
<property name="action-name">top.cut</property>
<property name="text">Cut</property>
</object>
</child>
<child>
<object class="GtkModelButton">
<property name="action-name">top.copy</property>
<property name="text">Copy</property>
</object>
</child>
<child>
<object class="GtkModelButton">
<property name="action-name">top.paste</property>
<property name="text">Paste</property>
</object>
</child>
<child>
<object class="GtkSeparator">
<property name="margin-start">12</property>
<property name="margin-end">12</property>
<property name="margin-top">3</property>
<property name="margin-bottom">3</property>
</object>
</child>
<child>
<object class="GtkModelButton">
<property name="action-name">action1</property>
<property name="text">No action</property>
</object>
</child>
<child>
<object class="GtkModelButton">
<property name="action-name">top.action2</property>
<property name="text">Toggle</property>
</object>
</child>
<child>
<object class="GtkModelButton">
<property name="action-name">top.action2a</property>
<property name="text">Another Toggle</property>
</object>
</child>
<child>
<object class="GtkBox">
<property name="orientation">vertical</property>
<property name="margin-start">12</property>
<property name="margin-end">12</property>
<property name="margin-top">6</property>
<property name="margin-bottom">3</property>
<child>
<object class="GtkLabel">
<property name="halign">start</property>
<property name="label">Middle Section</property>
<style>
<class name="separator"/>
</style>
</object>
</child>
<child>
<object class="GtkSeparator"/>
</child>
</object>
</child>
<child>
<object class="GtkModelButton">
<property name="action-name">top.action3</property>
<property name="action-target">&apos;three&apos;</property>
<property name="text">Radio 1</property>
</object>
</child>
<child>
<object class="GtkModelButton">
<property name="action-name">top.action3</property>
<property name="action-target">&apos;four&apos;</property>
<property name="text">Radio 2</property>
</object>
</child>
<child>
<object class="GtkModelButton">
<property name="text">Submenu 1</property>
<property name="popover">submenu1</property>
</object>
</child>
<child>
<object class="GtkModelButton">
<property name="text">Submenu 2</property>
<property name="popover">submenu2</property>
</object>
</child>
<child>
<object class="GtkBox">
<property name="orientation">vertical</property>
<property name="margin-start">12</property>
<property name="margin-end">12</property>
<property name="margin-top">6</property>
<property name="margin-bottom">3</property>
<child>
<object class="GtkLabel">
<property name="halign">start</property>
<property name="label">End Section</property>
<style>
<class name="separator"/>
</style>
</object>
</child>
<child>
<object class="GtkSeparator"/>
</child>
</object>
</child>
<child>
<object class="GtkModelButton">
<property name="action-name">top.action9</property>
<property name="text">Another Item 9</property>
<property name="icon">icon9</property>
</object>
</child>
<child>
<object class="GtkModelButton">
<property name="action-name">top.action10</property>
<property name="text">Another Item 10</property>
</object>
</child>
</object>
</child>
</object>
<object class="GtkPopoverMenu" id="submenu1">
<child>
<object class="GtkBox">
<property name="name">submenu1</property>
<property name="orientation">vertical</property>
<property name="margin-start">10</property>
<property name="margin-end">10</property>
<property name="margin-top">10</property>
<property name="margin-bottom">10</property>
<child>
<object class="GtkBox">
<property name="orientation">vertical</property>
<property name="margin-start">12</property>
<property name="margin-end">12</property>
<property name="margin-top">6</property>
<property name="margin-bottom">3</property>
<child>
<object class="GtkLabel">
<property name="halign">start</property>
<property name="label">5555</property>
<style>
<class name="separator"/>
</style>
</object>
</child>
<child>
<object class="GtkSeparator"/>
</child>
</object>
</child>
<child>
<object class="GtkModelButton">
<property name="action-name">top.action5</property>
<property name="text">Item 5</property>
</object>
</child>
<child>
<object class="GtkModelButton">
<property name="action-name">top.action5</property>
<property name="text">Item 5a</property>
</object>
</child>
<child>
<object class="GtkModelButton">
<property name="action-name">top.action5</property>
<property name="text">Item 5b</property>
</object>
</child>
<child>
<object class="GtkBox">
<property name="margin-top">10</property>
<style>
<class name="linked"/>
</style>
<child>
<object class="GtkModelButton">
<property name="text">List</property>
<property name="action-name">top.set-view</property>
<property name="action-target">&apos;list&apos;</property>
<property name="iconic">1</property>
<property name="icon">icon-list</property>
</object>
</child>
<child>
<object class="GtkModelButton">
<property name="text">Grid</property>
<property name="action-name">top.set-view</property>
<property name="action-target">&apos;grid&apos;</property>
<property name="iconic">1</property>
<property name="icon">icon-grid</property>
</object>
</child>
</object>
</child>
<child>
<object class="GtkModelButton">
<property name="action-name">top.action5</property>
<property name="text">Item 5c</property>
</object>
</child>
<child>
<object class="GtkModelButton">
<property name="action-name">top.action5</property>
<property name="text">Item 5d</property>
</object>
</child>
<child>
<object class="GtkBox">
<property name="orientation">vertical</property>
<property name="margin-start">12</property>
<property name="margin-end">12</property>
<property name="margin-top">6</property>
<property name="margin-bottom">3</property>
<child>
<object class="GtkLabel">
<property name="halign">start</property>
<property name="label">Format</property>
<style>
<class name="separator"/>
</style>
</object>
</child>
<child>
<object class="GtkSeparator"/>
</child>
</object>
</child>
<child>
<object class="GtkBox">
<property name="margin-top">10</property>
<style>
<class name="linked"/>
</style>
<child>
<object class="GtkModelButton">
<property name="text">Bold</property>
<property name="action-name">top.bold</property>
<property name="iconic">1</property>
</object>
</child>
<child>
<object class="GtkModelButton">
<property name="text">Italic</property>
<property name="action-name">top.italic</property>
<property name="iconic">1</property>
<property name="icon">icon-italic</property>
</object>
</child>
<child>
<object class="GtkModelButton">
<property name="text">Strikethrough</property>
<property name="action-name">top.strikethrough</property>
<property name="iconic">1</property>
<property name="icon">icon-strikethrough</property>
</object>
</child>
<child>
<object class="GtkModelButton">
<property name="text">Underline</property>
<property name="action-name">top.underline</property>
<property name="iconic">1</property>
<property name="icon">icon-underline</property>
</object>
</child>
</object>
</child>
<child>
<object class="GtkBox">
<property name="orientation">vertical</property>
<property name="margin-start">12</property>
<property name="margin-end">12</property>
<property name="margin-top">6</property>
<property name="margin-bottom">3</property>
<child>
<object class="GtkLabel">
<property name="halign">start</property>
<property name="label">6666</property>
<style>
<class name="separator"/>
</style>
</object>
</child>
<child>
<object class="GtkSeparator"/>
</child>
</object>
</child>
<child>
<object class="GtkModelButton">
<property name="action-name">top.action6</property>
<property name="text">Item 6</property>
</object>
</child>
<child>
<object class="GtkModelButton">
<property name="action-name">top.action6</property>
<property name="text">Item 6a</property>
</object>
</child>
<child>
<object class="GtkModelButton">
<property name="action-name">top.action6</property>
<property name="text">Item 6b</property>
</object>
</child>
<child>
<object class="GtkModelButton">
<property name="action-name">top.action6</property>
<property name="text">Item 6c</property>
</object>
</child>
<child>
<object class="GtkModelButton">
<property name="action-name">top.action6</property>
<property name="text">Item 6d</property>
</object>
</child>
</object>
</child>
</object>
<object class="GtkPopoverMenu" id="submenu2">
<child>
<object class="GtkBox">
<property name="name">submenu2</property>
<property name="orientation">vertical</property>
<property name="margin-start">10</property>
<property name="margin-end">10</property>
<property name="margin-top">10</property>
<property name="margin-bottom">10</property>
<child>
<object class="GtkModelButton">
<property name="action-name">top.action7</property>
<property name="text">Item 7</property>
</object>
</child>
<child>
<object class="GtkScale">
<property name="draw-value">0</property>
<property name="adjustment">adjustment</property>
</object>
</child>
<child>
<object class="GtkModelButton">
<property name="text">Subsubmenu</property>
<property name="popover">subsubmenu</property>
</object>
</child>
</object>
</child>
</object>
<object class="GtkPopoverMenu" id="subsubmenu">
<child>
<object class="GtkBox">
<property name="name">subsubmenu</property>
<property name="orientation">vertical</property>
<property name="margin-start">10</property>
<property name="margin-end">10</property>
<property name="margin-top">10</property>
<property name="margin-bottom">10</property>
<child>
<object class="GtkModelButton">
<property name="action-name">action8</property>
<property name="text">Item 8</property>
</object>
</child>
<child>
<object class="GtkSeparator">
<property name="margin-start">12</property>
<property name="margin-end">12</property>
<property name="margin-top">3</property>
<property name="margin-bottom">3</property>
</object>
</child>
<child>
<object class="GtkModelButton">
<property name="action-name">top.action9</property>
<property name="text">Item 9</property>
</object>
</child>
<child>
<object class="GtkModelButton">
<property name="action-name">top.action10</property>
<property name="text">Item 10</property>
</object>
</child>
</object>
</child>
</object>
<object class="GThemedIcon" id="icon9">
<property name="name">preferences-desktop-font</property>
</object>
<object class="GThemedIcon" id="icon-grid">
<property name="name">view-grid-symbolic</property>
</object>
<object class="GThemedIcon" id="icon-list">
<property name="name">view-list-symbolic</property>
</object>
<object class="GThemedIcon" id="icon-italic">
<property name="name">format-text-italic-symbolic</property>
</object>
<object class="GThemedIcon" id="icon-strikethrough">
<property name="name">format-text-strikethrough-symbolic</property>
</object>
<object class="GThemedIcon" id="icon-underline">
<property name="name">format-text-underline-symbolic</property>
</object>
<object class="GtkAdjustment" id="adjustment">
<property name="upper">100</property>
<property name="value">50</property>
</object>
</interface>