<?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>