<?xml version="1.0" encoding="UTF-8"?>
<interface>
  <!-- interface-requires gtk+ 3.16 -->
  <template class="GbGreeterWindow" parent="GtkApplicationWindow">
    <property name="default-width">1280</property>
    <property name="default-height">800</property>
    <child type="titlebar">
      <object class="GtkHeaderBar" id="header_bar">
        <property name="show-close-button">true</property>
        <property name="title" translatable="yes">Select a Project</property>
        <property name="visible">true</property>
        <child>
          <object class="GtkButton">
            <property name="action-name">app.new-project</property>
            <property name="visible">true</property>
            <property name="label" translatable="yes">_New</property>
            <property name="use-underline">true</property>
            <style>
              <class name="text-button"/>
            </style>
          </object>
          <packing>
            <property name="position">0</property>
            <property name="pack-type">start</property>
          </packing>
        </child>
        <child>
          <object class="GtkToggleButton" id="search_button">
            <property name="visible">true</property>
            <style>
              <class name="image-button"/>
            </style>
            <child>
              <object class="GtkImage">
                <property name="icon-name">edit-find-symbolic</property>
                <property name="visible">true</property>
              </object>
            </child>
          </object>
          <packing>
            <property name="position">1</property>
            <property name="pack-type">end</property>
          </packing>
        </child>
        <child>
          <object class="GtkToggleButton" id="selection_button">
            <property name="visible">false</property>
            <style>
              <class name="image-button"/>
            </style>
            <child>
              <object class="GtkImage">
                <property name="icon-name">object-select-symbolic</property>
                <property name="visible">true</property>
              </object>
            </child>
          </object>
          <packing>
            <property name="position">0</property>
            <property name="pack-type">end</property>
          </packing>
        </child>
      </object>
    </child>
    <child>
      <object class="GtkBox">
        <property name="orientation">vertical</property>
        <property name="expand">true</property>
        <property name="visible">true</property>
        <child>
          <object class="EggSearchBar">
            <property name="visible">true</property>
            <property name="vexpand">false</property>
            <property name="search-mode-enabled" bind-source="search_button" bind-property="active" bind-flags="bidirectional"/>
            <child internal-child="entry">
              <object class="GtkSearchEntry" id="search_entry">
                <property name="placeholder-text"></property>
                <property name="width-chars">45</property>
              </object>
            </child>
          </object>
        </child>
        <child>
          <object class="GtkScrolledWindow">
            <property name="expand">true</property>
            <property name="visible">true</property>
            <child>
              <object class="GtkViewport" id="viewport">
                <property name="expand">true</property>
                <property name="visible">true</property>
                <child>
                  <object class="GtkBox">
                    <property name="margin-top">32</property>
                    <property name="margin-bottom">32</property>
                    <property name="spacing">32</property>
                    <property name="orientation">vertical</property>
                    <property name="visible">true</property>
                    <child>
                      <object class="GtkBox" id="my_projects_container">
                        <property name="orientation">vertical</property>
                        <property name="spacing">6</property>
                        <property name="visible">true</property>
                        <child>
                          <object class="GtkLabel" id="my_projects_label">
                            <property name="halign">center</property>
                            <property name="label" translatable="yes">Recent Projects</property>
                            <property name="visible">true</property>
                            <property name="xalign">0.0</property>
                            <style>
                              <class name="dim-label"/>
                            </style>
                          </object>
                        </child>
                        <child>
                          <object class="GtkFrame" id="my_projects_frame">
                            <property name="halign">center</property>
                            <property name="visible">true</property>
                            <property name="shadow-type">in</property>
                            <child>
                              <object class="GbScrolledWindow">
                                <property name="min-content-height">100</property>
                                <property name="min-content-width">475</property>
                                <property name="max-content-width">600</property>
                                <property name="visible">true</property>
                                <property name="vscrollbar-policy">never</property>
                                <child>
                                  <object class="GtkListBox" id="my_projects_list_box">
                                    <property name="visible">true</property>
                                    <property name="selection-mode">none</property>
                                  </object>
                                </child>
                              </object>
                            </child>
                          </object>
                        </child>
                      </object>
                    </child>
                    <child>
                      <object class="GtkBox" id="other_projects_container">
                        <property name="orientation">vertical</property>
                        <property name="spacing">6</property>
                        <property name="visible">true</property>
                        <child>
                          <object class="GtkLabel" id="other_projects_label">
                            <property name="halign">center</property>
                            <property name="label" translatable="yes">Other Projects</property>
                            <property name="visible">true</property>
                            <property name="xalign">0.0</property>
                            <style>
                              <class name="dim-label"/>
                            </style>
                          </object>
                        </child>
                        <child>
                          <object class="GtkFrame" id="other_projects_frame">
                            <property name="halign">center</property>
                            <property name="shadow-type">in</property>
                            <property name="visible">true</property>
                            <child>
                              <object class="GbScrolledWindow">
                                <property name="min-content-height">100</property>
                                <property name="min-content-width">300</property>
                                <property name="max-content-width">600</property>
                                <property name="visible">true</property>
                                <property name="vscrollbar-policy">never</property>
                                <child>
                                  <object class="GtkListBox" id="other_projects_list_box">
                                    <property name="visible">true</property>
                                    <property name="selection-mode">none</property>
                                  </object>
                                </child>
                              </object>
                            </child>
                          </object>
                        </child>
                      </object>
                    </child>
                  </object>
                </child>
              </object>
            </child>
          </object>
        </child>
        <child>
          <object class="GtkRevealer" id="action_bar_revealer">
            <property name="vexpand">false</property>
            <property name="visible">true</property>
            <child>
              <object class="GtkActionBar" id="action_bar">
                <property name="visible">true</property>
              </object>
            </child>
          </object>
        </child>
      </object>
    </child>
  </template>
  <object class="GtkSizeGroup">
    <property name="mode">horizontal</property>
    <widgets>
      <widget name="other_projects_label"/>
      <widget name="my_projects_label"/>
      <widget name="my_projects_frame"/>
      <widget name="other_projects_frame"/>
    </widgets>
  </object>
</interface>
