<?xml version="1.0" encoding="UTF-8"?>
<interface>
  <requires lib="gtk" version="4.0"/>
  <menu id='help-menu'>
    <section>
      <item>
        <attribute name='label' translatable='yes'>_Wiki (Online)</attribute>
        <attribute name='action'>app.content</attribute>
      </item>
      <item>
        <attribute name='label' translatable='yes'>FA_Q (Online)</attribute>
        <attribute name='action'>app.faq</attribute>
      </item>
      <item>
        <attribute name='label' translatable='yes'>_Privacy Policy (Online)</attribute>
        <attribute name='action'>app.privacy-policy</attribute>
      </item>
      <item>
        <attribute name='label' translatable='yes'>_Join Support Chat</attribute>
        <attribute name='action'>app.join-support-chat</attribute>
      </item>
      <item>
        <attribute name='label' translatable='yes'>_Keyboard Shortcuts</attribute>
        <attribute name='action'>app.shortcuts</attribute>
      </item>
      <item>
        <attribute name='label' translatable='yes'>_Features</attribute>
        <attribute name='action'>app.features</attribute>
      </item>
      <item>
        <attribute name='label' translatable='yes'>_About</attribute>
        <attribute name='action'>app.about</attribute>
      </item>
    </section>
  </menu>
  <template class="MainWindow" parent="AdwApplicationWindow">
    <property name="content">
      <object class="AdwToolbarView">
        <child type="top">
          <object class="AdwHeaderBar" id="_header_bar">
            <child type="end">
              <object class="GtkMenuButton">
                <property name="tooltip-text">Help</property>
                <property name="icon-name">lucide-circle-question-mark-symbolic</property>
                <property name="popover">
                  <object class="GtkPopoverMenu">
                    <property name="menu-model">help-menu</property>
                  </object>
                </property>
              </object>
            </child>
          </object>
        </child>
        <property name="content">
          <object class="AdwToastOverlay" id="_toast_overlay">
            <child>
              <object class="GtkGrid">
                <property name="hexpand">true</property>
                <property name="vexpand">true</property>
                <child>
                  <object class="AppSideBar" id="_app_side_bar">
                    <layout>
                      <property name="column">0</property>
                      <property name="row">0</property>
                    </layout>
                  </object>
                </child>
                <child>
                  <object class="MainStack" id="_main_stack">
                    <layout>
                      <property name="column">1</property>
                      <property name="row">0</property>
                    </layout>
                  </object>
                </child>
                <style>
                  <class name="mainwindow-grid"/>
                </style>
              </object>
            </child>
          </object>
        </property>
      </object>
    </property>
  </template>
</interface>
