calendars-page: Use switch to toggle visibility

This commit is contained in:
Georges Basile Stavracas Neto
2019-06-24 21:32:59 -03:00
parent c092445363
commit efa29b19d5
2 changed files with 21 additions and 0 deletions
+16
View File
@@ -53,6 +53,22 @@
<property name="top_attach">0</property>
</packing>
</child>
<!-- Visibility switch -->
<child>
<object class="GtkSwitch" id="switch">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="hexpand">True</property>
<property name="halign">end</property>
<property name="valign">center</property>
</object>
<packing>
<property name="left_attach">2</property>
<property name="top_attach">0</property>
<property name="height">2</property>
</packing>
</child>
</object>
</child>
</object>