summaryrefslogtreecommitdiff
path: root/tests/popover.ui
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2014-04-02 01:08:39 -0400
committerMatthias Clasen <mclasen@redhat.com>2014-04-28 14:20:27 -0400
commit7fa1133912c7dfe66b278625ee4b2e3764e3aa0d (patch)
tree92e216f11a4b992fe66a103e46080394907fb1ce /tests/popover.ui
parent28a567f5a977a41bebd8541a680234ba3bdccc48 (diff)
downloadgtk+-7fa1133912c7dfe66b278625ee4b2e3764e3aa0d.tar.gz
Add an example of iconic rendering
testpopover now shows several examples of icon buttons. https://bugzilla.gnome.org/show_bug.cgi?id=727477
Diffstat (limited to 'tests/popover.ui')
-rw-r--r--tests/popover.ui56
1 files changed, 56 insertions, 0 deletions
diff --git a/tests/popover.ui b/tests/popover.ui
index 74ffdb9b9a..74fa0bfadb 100644
--- a/tests/popover.ui
+++ b/tests/popover.ui
@@ -1,6 +1,24 @@
<interface>
<menu id="menu">
<section>
+ <attribute name="display-hint">horizontal-buttons</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>
@@ -44,6 +62,21 @@
<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>
@@ -54,6 +87,29 @@
</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>