MainWindow.glade (Código)

<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.38.2 -->
<interface>
    <requires lib="gtk+" version="3.24"/>
    <object class="GtkApplicationWindow" id="MainWindow">
        <property name="can-focus">False</property>
        <property name="default-width">683</property>
        <property name="default-height">384</property>
        <property name="icon">../../../assets/icons/icon.png</property>
        <child>
            <placeholder/>
        </child>
        <child type="titlebar">
            <object class="GtkHeaderBar">
                <property name="visible">True</property>
                <property name="can-focus">False</property>
                <property name="title" translatable="yes">Gtk.Popover</property>
                <property name="subtitle" translatable="yes">Gtk.Popover</property>
                <property name="show-close-button">True</property>
                <child>
                    <object class="GtkMenuButton" id="menu_button">
                        <property name="visible">True</property>
                        <property name="can-focus">True</property>
                        <property name="receives-default">True</property>
                        <property name="popover">menu_popover</property>
                        <child>
                            <object class="GtkImage">
                                <property name="visible">True</property>
                                <property name="can-focus">False</property>
                                <property name="icon-name">open-menu-symbolic</property>
                            </object>
                        </child>
                    </object>
                    <packing>
                        <property name="pack-type">end</property>
                    </packing>
                </child>
            </object>
        </child>
    </object>
    <object class="GtkPopover" id="menu_popover">
        <property name="can-focus">False</property>
        <property name="double-buffered">False</property>
        <property name="relative-to">menu_button</property>
        <property name="transitions-enabled">False</property>
        <child>
            <object class="GtkBox">
                <property name="visible">True</property>
                <property name="can-focus">False</property>
                <property name="border-width">24</property>
                <property name="orientation">vertical</property>
                <property name="spacing">6</property>
                <child>
                    <object class="GtkModelButton" id="item1">
                        <property name="visible">True</property>
                        <property name="can-focus">True</property>
                        <property name="receives-default">True</property>
                        <property name="text" translatable="yes">Item 1</property>
                        <signal name="clicked" handler="menu_item_clicked" swapped="no"/>
                    </object>
                    <packing>
                        <property name="expand">False</property>
                        <property name="fill">True</property>
                        <property name="position">0</property>
                    </packing>
                </child>
                <child>
                    <object class="GtkModelButton" id="item2">
                        <property name="visible">True</property>
                        <property name="can-focus">True</property>
                        <property name="receives-default">True</property>
                        <property name="text" translatable="yes">Item 2</property>
                        <signal name="clicked" handler="menu_item_clicked" swapped="no"/>
                    </object>
                    <packing>
                        <property name="expand">False</property>
                        <property name="fill">True</property>
                        <property name="position">1</property>
                    </packing>
                </child>
                <child>
                    <object class="GtkSeparator">
                        <property name="visible">True</property>
                        <property name="can-focus">False</property>
                    </object>
                    <packing>
                        <property name="expand">False</property>
                        <property name="fill">True</property>
                        <property name="position">2</property>
                    </packing>
                </child>
                <child>
                    <object class="GtkModelButton" id="item3">
                        <property name="visible">True</property>
                        <property name="can-focus">True</property>
                        <property name="receives-default">True</property>
                        <property name="text" translatable="yes">Sobre</property>
                        <signal name="clicked" handler="about" swapped="no"/>
                    </object>
                    <packing>
                        <property name="expand">False</property>
                        <property name="fill">True</property>
                        <property name="position">3</property>
                    </packing>
                </child>
            </object>
        </child>
    </object>
</interface>