Commit b800a3c4 authored by Alexander Mikhaylenko's avatar Alexander Mikhaylenko
Browse files

example: Add examples of expander rows with actions

parent 0fbee2fb
Pipeline #55452 passed with stages
in 14 minutes and 7 seconds
......@@ -1330,6 +1330,39 @@
</child>
</object>
</child>
<child>
<object class="HdyExpanderRow" id="action_expander_row">
<property name="title" translatable="yes">Expander row with an action</property>
<property name="visible">True</property>
<child type="action">
<object class="GtkButton">
<property name="visible">True</property>
<property name="valign">center</property>
<style>
<class name="list-button"/>
</style>
<child>
<object class="GtkImage">
<property name="visible">True</property>
<property name="icon-name">edit-copy-symbolic</property>
</object>
</child>
</object>
</child>
<child>
<object class="HdyActionRow">
<property name="title" translatable="yes">A nested row</property>
<property name="visible">True</property>
</object>
</child>
<child>
<object class="HdyActionRow">
<property name="title" translatable="yes">Another nested row</property>
<property name="visible">True</property>
</object>
</child>
</object>
</child>
<child>
<object class="HdyExpanderRow" id="enable_expander_row">
<property name="show_enable_switch">True</property>
......@@ -1349,6 +1382,40 @@
</child>
</object>
</child>
<child>
<object class="HdyExpanderRow" id="action_switch_expander_row">
<property name="show_enable_switch">True</property>
<property name="title" translatable="yes">Toggleable expander row with an action</property>
<property name="visible">True</property>
<child type="action">
<object class="GtkButton">
<property name="visible">True</property>
<property name="valign">center</property>
<style>
<class name="list-button"/>
</style>
<child>
<object class="GtkImage">
<property name="visible">True</property>
<property name="icon-name">edit-copy-symbolic</property>
</object>
</child>
</object>
</child>
<child>
<object class="HdyActionRow">
<property name="title" translatable="yes">A nested row</property>
<property name="visible">True</property>
</object>
</child>
<child>
<object class="HdyActionRow">
<property name="title" translatable="yes">Another nested row</property>
<property name="visible">True</property>
</object>
</child>
</object>
</child>
</object>
</child>
</object>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment