<?xml version="1.0" encoding="UTF-8"?>
<interface>
  <!-- interface-requires gtk+ 3.15 -->
  <template class="GbEditorWorkspace" parent="GbWorkspace">
    <child>
      <object class="GtkPaned" id="project_paned">
        <property name="orientation">horizontal</property>
        <property name="position">250</property>
        <property name="visible">true</property>
        <child>
          <object class="GtkBox" id="project_sidebar">
            <property name="vexpand">true</property>
            <property name="orientation">vertical</property>
            <property name="visible">false</property>
            <child>
              <object class="GtkBox" id="project_sidebar_header">
                <property name="name">project_sidebar_header</property>
                <property name="orientation">horizontal</property>
                <property name="visible">true</property>
                <style>
                  <class name="notebook"/>
                  <class name="header"/>
                </style>
                <child>
                  <object class="GtkButton" id="collapse_button">
                    <property name="action-name">workspace.toggle-sidebar</property>
                    <property name="margin">3</property>
                    <property name="visible">true</property>
                    <style>
                      <class name="dim-label"/>
                      <class name="flat"/>
                      <class name="image-button"/>
                    </style>
                    <child>
                      <object class="GtkImage">
                        <property name="icon-name">go-previous-symbolic</property>
                        <property name="visible">true</property>
                      </object>
                    </child>
                  </object>
                  <packing>
                    <property name="pack-type">start</property>
                  </packing>
                </child>
                <child type="center">
                  <object class="GtkMenuButton" id="project_button">
                    <property name="margin">3</property>
                    <property name="popover">project_popover</property>
                    <property name="visible">true</property>
                    <style>
                      <class name="dim-label"/>
                      <class name="flat"/>
                    </style>
                  </object>
                </child>
                <child>
                  <object class="GtkSpinner" id="project_spinner">
                    <property name="active">false</property>
                    <property name="margin-top">3</property>
                    <property name="margin-bottom">3</property>
                    <property name="margin-start">6</property>
                    <property name="margin-end">6</property>
                    <property name="visible">false</property>
                  </object>
                  <packing>
                    <property name="pack-type">end</property>
                  </packing>
                </child>
              </object>
            </child>
            <child>
              <object class="GtkScrolledWindow">
                <property name="vexpand">true</property>
                <property name="visible">true</property>
                <child>
                  <object class="GbProjectTree" id="project_tree">
                    <property name="headers-visible">false</property>
                    <property name="visible">true</property>
                  </object>
                </child>
              </object>
            </child>
          </object>
        </child>
        <child>
          <object class="GbViewGrid" id="view_grid">
            <property name="expand">true</property>
            <property name="visible">true</property>
          </object>
        </child>
      </object>
    </child>
  </template>
  <object class="GtkPopover" id="project_popover">
    <property name="border-width">12</property>
    <property name="visible">true</property>
    <child>
      <object class="GtkBox">
        <property name="orientation">vertical</property>
        <property name="spacing">6</property>
        <property name="visible">true</property>
        <child>
          <object class="GtkModelButton">
            <property name="action-name">workbench.build</property>
            <property name="halign">fill</property>
            <property name="hexpand">true</property>
            <property name="text" translatable="yes">Build Project</property>
            <property name="visible">true</property>
          </object>
        </child>
        <child>
          <object class="GtkModelButton">
            <property name="action-name">workbench.rebuild</property>
            <property name="halign">fill</property>
            <property name="hexpand">true</property>
            <property name="text" translatable="yes">Rebuild Project</property>
            <property name="visible">true</property>
          </object>
        </child>
      </object>
    </child>
  </object>
</interface>
