MainWindow.glade (Código)

<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.38.1 -->
<interface>
    <requires lib="gtk+" version="3.24"/>
    <object class="GtkImage" id="img-btn-open-search">
        <property name="visible">True</property>
        <property name="can-focus">False</property>
        <property name="icon-name">system-search-symbolic</property>
    </object>
    <object class="GtkListStore" id="list_store">
        <columns>
            <!-- column-name id -->
            <column type="gint"/>
            <!-- column-name state -->
            <column type="gchararray"/>
        </columns>
    </object>
    <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>
            <object class="GtkBox">
                <property name="visible">True</property>
                <property name="can-focus">False</property>
                <property name="border-width">12</property>
                <property name="orientation">vertical</property>
                <property name="spacing">6</property>
                <child>
                    <object class="GtkRevealer" id="revealer">
                        <property name="visible">True</property>
                        <property name="can-focus">False</property>
                        <property name="transition-type">none</property>
                        <child>
                            <object class="GtkSearchEntry" id="search_entry">
                                <property name="visible">True</property>
                                <property name="can-focus">True</property>
                                <property name="tooltip-text" translatable="yes">Nome do estado</property>
                                <property name="primary-icon-name">edit-find-symbolic</property>
                                <property name="primary-icon-activatable">False</property>
                                <property name="primary-icon-sensitive">False</property>
                                <property name="placeholder-text" translatable="yes">Nome do estado</property>
                                <signal name="search-changed" handler="on_search_changed" swapped="no"/>
                            </object>
                        </child>
                    </object>
                    <packing>
                        <property name="expand">False</property>
                        <property name="fill">True</property>
                        <property name="position">0</property>
                    </packing>
                </child>
                <child>
                    <object class="GtkScrolledWindow">
                        <property name="visible">True</property>
                        <property name="can-focus">True</property>
                        <property name="shadow-type">in</property>
                        <child>
                            <object class="GtkTreeView" id="treeview">
                                <property name="visible">True</property>
                                <property name="can-focus">True</property>
                                <property name="tooltip-text" translatable="yes">2 Clique para selecionar</property>
                                <property name="model">list_store</property>
                                <signal name="row-activated" handler="set_entry_text" swapped="no"/>
                                <child internal-child="selection">
                                    <object class="GtkTreeSelection"/>
                                </child>
                                <child>
                                    <object class="GtkTreeViewColumn" id="col-id">
                                        <property name="title" translatable="yes">Pacote</property>
                                        <child>
                                            <object class="GtkCellRendererText" id="cellrender-id"/>
                                            <attributes>
                                                <attribute name="text">0</attribute>
                                            </attributes>
                                        </child>
                                    </object>
                                </child>
                                <child>
                                    <object class="GtkTreeViewColumn" id="col-state">
                                        <property name="title" translatable="yes">Arquitetura</property>
                                        <child>
                                            <object class="GtkCellRendererText" id="cellrender-state"/>
                                            <attributes>
                                                <attribute name="text">1</attribute>
                                            </attributes>
                                        </child>
                                    </object>
                                </child>
                            </object>
                        </child>
                    </object>
                    <packing>
                        <property name="expand">True</property>
                        <property name="fill">True</property>
                        <property name="position">1</property>
                    </packing>
                </child>
            </object>
        </child>
        <child type="titlebar">
            <object class="GtkHeaderBar">
                <property name="visible">True</property>
                <property name="can-focus">False</property>
                <property name="title" translatable="yes">SearchEntry</property>
                <property name="subtitle" translatable="yes">SearchEntry</property>
                <property name="show-close-button">True</property>
                <child>
                    <object class="GtkButton" id="btn-open-search">
                        <property name="visible">True</property>
                        <property name="can-focus">True</property>
                        <property name="receives-default">True</property>
                        <property name="tooltip-text" translatable="yes">Abrir campo de busca</property>
                        <property name="image">img-btn-open-search</property>
                        <signal name="clicked" handler="show_hide_search" swapped="no"/>
                    </object>
                </child>
            </object>
        </child>
    </object>
</interface>