<?xml version="1.0" encoding="UTF-8"?>
<interface>
  <requires lib="gtk" version="4.0"/>
  <requires lib="libadwaita" version="1.0"/>
  <object class="AdwWindow" id="widget">
    <property name="default-width">800</property>
    <property name="default-height">500</property>
    <property name="title" translatable="yes">Utility Pane</property>
    <child>
      <object class="AdwBreakpoint">
        <condition>max-width: 400sp</condition>
        <setter object="split_view" property="collapsed">True</setter>
      </object>
    </child>
    <property name="content">
      <object class="AdwToolbarView">
        <property name="top-bar-style">raised</property>
        <child type="top">
          <object class="AdwHeaderBar">
            <child type="start">
              <object class="GtkToggleButton" id="show_sidebar_button">
                <property name="icon-name">adw-sidebar-symbolic</property>
                <property name="active">True</property>
              </object>
            </child>
          </object>
        </child>
        <property name="content">
          <object class="AdwOverlaySplitView" id="split_view">
            <property name="show-sidebar"
                      bind-source="show_sidebar_button"
                      bind-property="active"
                      bind-flags="sync-create|bidirectional"/>
            <property name="sidebar">
              <object class="AdwStatusPage">
                <property name="title" translatable="yes">Utility Pane</property>
              </object>
            </property>
            <property name="content">
              <object class="AdwStatusPage">
                <property name="title" translatable="yes">Main View</property>
              </object>
            </property>
          </object>
        </property>
      </object>
    </property>
  </object>
</interface>
