<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.22.0 -->
<interface>
  <requires lib="gtk+" version="3.20"/>
  <requires lib="libhandy" version="0.0"/>
  <template class="HdyTabViewDemoWindow" parent="HdyWindow">
    <property name="title" translatable="yes">Tab View Demo</property>
    <property name="default-width">800</property>
    <property name="default-height">600</property>
    <child>
      <object class="GtkBox">
        <property name="visible">True</property>
        <property name="can_focus">False</property>
        <property name="orientation">vertical</property>
        <child>
          <object class="HdyHeaderBar">
            <property name="visible">True</property>
            <property name="show_close_button">True</property>
            <property name="title" bind-source="HdyTabViewDemoWindow" bind-property="title"/>
            <child>
              <object class="GtkButton">
                <property name="visible">True</property>
                <property name="action-name">win.tab-new</property>
                <child>
                  <object class="GtkImage">
                    <property name="visible">True</property>
                    <property name="icon-name">tab-new-symbolic</property>
                  </object>
                </child>
              </object>
            </child>
            <child>
              <object class="GtkMenuButton">
                <property name="visible">True</property>
                <property name="menu-model">primary_menu</property>
                <child>
                  <object class="GtkImage">
                    <property name="visible">True</property>
                    <property name="icon-name">open-menu-symbolic</property>
                  </object>
                </child>
              </object>
              <packing>
                <property name="pack-type">end</property>
              </packing>
            </child>
          </object>
        </child>
        <child>
          <object class="HdyTabBar" id="tab_bar">
            <property name="visible">True</property>
            <property name="view">view</property>
            <signal name="extra-drag-data-received" handler="extra_drag_data_received_cb" swapped="true"/>
          </object>
        </child>
        <child>
          <object class="HdyTabView" id="view">
            <property name="visible">True</property>
            <property name="vexpand">True</property>
            <property name="menu-model">tab_menu</property>
            <property name="shortcut-widget">HdyTabViewDemoWindow</property>
            <signal name="page-detached" handler="page_detached_cb" swapped="true"/>
            <signal name="setup-menu" handler="setup_menu_cb" swapped="true"/>
            <signal name="create-window" handler="create_window_cb" swapped="true"/>
            <signal name="indicator-activated" handler="indicator_activated_cb" swapped="true"/>
          </object>
        </child>
      </object>
    </child>
  </template>
  <menu id="primary_menu">
    <section>
      <item>
        <attribute name="label" translatable="yes">_New Window</attribute>
        <attribute name="action">win.window-new</attribute>
      </item>
    </section>
  </menu>
  <menu id="tab_menu">
    <section>
      <item>
        <attribute name="label" translatable="yes">_Move to New Window</attribute>
        <attribute name="action">tab.move-to-new-window</attribute>
      </item>
      <item>
        <attribute name="label" translatable="yes">D_uplicate</attribute>
        <attribute name="action">tab.duplicate</attribute>
      </item>
    </section>
    <section>
      <item>
        <attribute name="label" translatable="yes">P_in Tab</attribute>
        <attribute name="action">tab.pin</attribute>
        <attribute name="hidden-when">action-disabled</attribute>
      </item>
      <item>
        <attribute name="label" translatable="yes">Unp_in Tab</attribute>
        <attribute name="action">tab.unpin</attribute>
        <attribute name="hidden-when">action-disabled</attribute>
      </item>
    </section>
    <section>
      <item>
        <attribute name="label" translatable="yes">Icon</attribute>
        <attribute name="action">tab.icon</attribute>
      </item>
      <item>
        <attribute name="label" translatable="yes">R_efresh Icon</attribute>
        <attribute name="action">tab.refresh-icon</attribute>
      </item>
    </section>
    <section>
      <item>
        <attribute name="label" translatable="yes">Loa_ding</attribute>
        <attribute name="action">tab.loading</attribute>
      </item>
      <item>
        <attribute name="label" translatable="yes">Needs _Attention</attribute>
        <attribute name="action">tab.needs-attention</attribute>
      </item>
      <item>
        <attribute name="label" translatable="yes">Indicator</attribute>
        <attribute name="action">tab.indicator</attribute>
      </item>
    </section>
    <section>
      <item>
        <attribute name="label" translatable="yes">Close _Other Tabs</attribute>
        <attribute name="action">tab.close-other</attribute>
      </item>
      <item>
        <attribute name="label" translatable="yes" comments="Translators: “Close Tabs to the _Right” if you’re translating for a language that reads from right to left">Close Tabs to the _Left</attribute>
        <attribute name="action">tab.close-before</attribute>
      </item>
      <item>
        <attribute name="label" translatable="yes" comments="Translators: “Close Tabs to the _Left” if you’re translating for a language that reads from right to left">Close Tabs to the _Right</attribute>
        <attribute name="action">tab.close-after</attribute>
      </item>
    </section>
    <section>
      <item>
        <attribute name="label" translatable="yes">_Close</attribute>
        <attribute name="action">tab.close</attribute>
      </item>
    </section>
  </menu>
</interface>
