blob: d6cc82e962b10865949d718b58c92e9591c6bc4d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
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>
|