<?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="title">View Switcher Bar</property>
    <property name="default-height">150</property>
    <property name="height-request">-1</property>
    <property name="content">
      <object class="AdwToolbarView">
        <child type="top">
          <object class="AdwHeaderBar"/>
        </child>
        <property name="content">
          <object class="AdwViewStack" id="stack">
            <child>
              <object class="AdwViewStackPage">
                <property name="title">Page 1</property>
                <property name="icon-name">generic-symbolic</property>
                <property name="child">
                  <object class="AdwBin"/>
                </property>
              </object>
            </child>
            <child>
              <object class="AdwViewStackPage">
                <property name="title">Page 2</property>
                <property name="icon-name">generic-symbolic</property>
                <property name="child">
                  <object class="AdwBin"/>
                </property>
              </object>
            </child>
            <child>
              <object class="AdwViewStackPage">
                <property name="title">Page 3</property>
                <property name="icon-name">generic-symbolic</property>
                <property name="needs-attention">True</property>
                <property name="badge-number">3</property>
                <property name="child">
                  <object class="AdwBin"/>
                </property>
              </object>
            </child>
          </object>
        </property>
        <child type="bottom">
          <object class="AdwViewSwitcherBar">
            <property name="stack">stack</property>
            <property name="reveal">True</property>
          </object>
        </child>
      </object>
    </property>
  </object>
</interface>
