summaryrefslogtreecommitdiff
path: root/src/gui/window.ui
blob: 59b8b2cd15d60922c1656eb106f7de138e82cce6 (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
<?xml version="1.0" encoding="UTF-8"?>
<interface>

    <menu id="main_menu_model">
        <section>
            <item>
                <attribute name="label" translatable="yes">Preferences</attribute>
            </item>
            <item>
                <attribute name="label" translatable="yes">About</attribute>
                <attribute name="action">win.about</attribute>
            </item>
        </section>
    </menu>

    <template class="GtkFrameworkWindow" parent="GtkApplicationWindow">
        <property name="title" translatable="no">Chrysalide</property>
        <property name="default-width">800</property>
        <property name="default-height">600</property>
        <property name="icon-name">chrysalide-logo</property>

        <child type="titlebar">
            <object class="GtkHeaderBar">
                <child type="end">
                    <object class="GtkMenuButton">
                        <property name="icon-name">open-menu-symbolic</property>
                        <property name="menu-model">main_menu_model</property>
                    </object>
                </child>

            </object>
        </child>

        <child>
            <object class="GtkBox">
                <property name="orientation">vertical</property>

                <child>
                    <object class="GtkStack" id="grid">
                        <property name="vexpand">TRUE</property>
                    </object>
                </child>

                <child>
                    <object class="GtkSeparator">
                        <property name="orientation">horizontal</property>
                    </object>
                </child>

                <child>
                    <object class="GtkStatusStack" id="status">
                    </object>
                </child>

            </object>
        </child>

    </template>

</interface>