summaryrefslogtreecommitdiffstats
path: root/subprojects/libhandy/examples/hdy-view-switcher-demo-window.ui
diff options
context:
space:
mode:
Diffstat (limited to 'subprojects/libhandy/examples/hdy-view-switcher-demo-window.ui')
-rw-r--r--subprojects/libhandy/examples/hdy-view-switcher-demo-window.ui109
1 files changed, 109 insertions, 0 deletions
diff --git a/subprojects/libhandy/examples/hdy-view-switcher-demo-window.ui b/subprojects/libhandy/examples/hdy-view-switcher-demo-window.ui
new file mode 100644
index 0000000..d6cc82e
--- /dev/null
+++ b/subprojects/libhandy/examples/hdy-view-switcher-demo-window.ui
@@ -0,0 +1,109 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- Generated with glade 3.22.0 -->
+<interface>
+ <requires lib="gtk+" version="3.20"/>
+ <requires lib="libhandy" version="0.0"/>
+ <template class="HdyViewSwitcherDemoWindow" parent="HdyWindow">
+ <property name="can_focus">False</property>
+ <property name="modal">True</property>
+ <property name="window_position">center-on-parent</property>
+ <child>
+ <object class="GtkBox">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="orientation">vertical</property>
+ <child>
+ <object class="HdyHeaderBar">
+ <property name="visible">True</property>
+ <property name="centering_policy">strict</property>
+ <property name="can_focus">False</property>
+ <property name="show_close_button">True</property>
+ <property name="title">HdyViewSwitcher Demo</property>
+ <child type="title">
+ <object class="HdyViewSwitcherTitle" id="switcher_title">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="stack">stack</property>
+ <property name="title" translatable="yes">View Switcher Example</property>
+ </object>
+ </child>
+ </object>
+ </child>
+ <child>
+ <object class="GtkStack" id="stack">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <child>
+ <object class="GtkLabel">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="margin">24</property>
+ <property name="label" translatable="yes">World</property>
+ </object>
+ <packing>
+ <property name="name">page1</property>
+ <property name="title" translatable="yes">World</property>
+ <property name="icon_name">help-about-symbolic</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkLabel">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="margin">24</property>
+ <property name="label" translatable="yes">Alarm</property>
+ </object>
+ <packing>
+ <property name="name">page2</property>
+ <property name="title" translatable="yes">Alarm</property>
+ <property name="icon_name">alarm-symbolic</property>
+ <property name="position">1</property>
+ <property name="needs_attention">True</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkLabel">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="margin">24</property>
+ <property name="label" translatable="yes">Stopwatch</property>
+ </object>
+ <packing>
+ <property name="name">page3</property>
+ <property name="title" translatable="yes">Stopwatch</property>
+ <property name="icon_name">document-print-symbolic</property>
+ <property name="position">2</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkLabel">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="margin">24</property>
+ <property name="label" translatable="yes">Timer</property>
+ </object>
+ <packing>
+ <property name="name">page0</property>
+ <property name="title" translatable="yes">Timer</property>
+ <property name="icon_name">weather-clear-symbolic</property>
+ <property name="position">3</property>
+ </packing>
+ </child>
+ </object>
+ <packing>
+ <property name="expand">True</property>
+ <property name="fill">True</property>
+ </packing>
+ </child>
+ <child>
+ <object class="HdyViewSwitcherBar" id="switcher_bar">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="stack">stack</property>
+ <property name="reveal" bind-source="switcher_title" bind-property="title-visible" bind-flags="sync-create"/>
+ </object>
+ </child>
+ </object>
+ </child>
+ </template>
+</interface>