Commit 8f38dad3 authored by Adrien Plazas's avatar Adrien Plazas

example: Add selection mode button

parent 9926209a
Pipeline #957 passed with stage
in 1 minute and 58 seconds
......@@ -46,6 +46,7 @@
<child type="titlebar">
<object class="HdyTitleBar">
<property name="visible">True</property>
<property name="selection-mode" bind-source="selection_button" bind-property="active" bind-flags="sync-create|bidirectional"/>
<child>
<object class="HdyLeaflet" id="header_box">
<property name="visible">True</property>
......@@ -75,6 +76,22 @@
<property name="pack_type">end</property>
</packing>
</child>
<child>
<object class="GtkToggleButton" id="selection_button">
<property name="visible">True</property>
<property name="can_focus">True</property>
<child>
<object class="GtkImage">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="icon_name">object-select-symbolic</property>
</object>
</child>
</object>
<packing>
<property name="pack_type">end</property>
</packing>
</child>
</object>
<packing>
<property name="name">sidebar</property>
......
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