MainWindow.ui (Código)

<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.38.2 -->
<interface>
    <requires lib="gtk+" version="3.24"/>
    <object class="GtkListStore" id="list_store">
        <columns>
            <!-- column-name id -->
            <column type="gint"/>
            <!-- column-name state -->
            <column type="gchararray"/>
        </columns>
    </object>
    <template class="MainWindow" parent="GtkApplicationWindow">
        <property name="can_focus">False</property>
        <property name="title" translatable="yes">Gtk.TreeView sort</property>
        <property name="default_width">683</property>
        <property name="default_height">384</property>
        <property name="icon">../../../assets/icons/icon.png</property>
        <child type="titlebar">
            <placeholder/>
        </child>
        <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="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>
                                <child internal-child="selection">
                                    <object class="GtkTreeSelection"/>
                                </child>
                                <child>
                                    <object class="GtkTreeViewColumn" id="col-id">
                                        <property name="title" translatable="yes">ID</property>
                                        <property name="reorderable">True</property>
                                        <property name="sort_indicator">True</property>
                                        <property name="sort_column_id">0</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">Estado</property>
                                        <property name="reorderable">True</property>
                                        <property name="sort_indicator">True</property>
                                        <property name="sort_column_id">1</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>
    </template>
</interface>