<?xml version="1.0" encoding="UTF-8"?>
<interface>
  <requires lib="gtk" version="4.0"/>
  <requires lib="libadwaita" version="1.0"/>
  <object class="GtkBox" id="widget">
    <property name="spacing">12</property>
    <property name="homogeneous">True</property>
    <property name="width-request">600</property>
    <property name="height-request">200</property>
    <child>
      <object class="AdwNavigationView">
        <style>
          <class name="docs-background"/>
        </style>
        <child>
          <object class="AdwNavigationPage">
            <property name="title">Page 1</property>
            <property name="child">
              <object class="AdwToolbarView">
                <child type="top">
                  <object class="AdwHeaderBar">
                    <property name="show-start-title-buttons">False</property>
                    <property name="show-end-title-buttons">False</property>
                  </object>
                </child>
                <property name="content">
                  <object class="GtkButton">
                    <property name="label">Open Page 2</property>
                    <property name="halign">center</property>
                    <property name="valign">center</property>
                    <property name="action-name">navigation.push</property>
                    <property name="action-target">'page-2'</property>
                    <style>
                      <class name="pill"/>
                    </style>
                  </object>
                </property>
              </object>
            </property>
          </object>
        </child>
        <child>
          <object class="AdwNavigationPage">
            <property name="title">Page 2</property>
            <property name="tag">page-2</property>
            <property name="child">
              <object class="AdwToolbarView">
                <child type="top">
                  <object class="AdwHeaderBar">
                    <property name="show-start-title-buttons">False</property>
                    <property name="show-end-title-buttons">False</property>
                  </object>
                </child>
              </object>
            </property>
          </object>
        </child>
      </object>
    </child>
    <child>
      <object class="AdwNavigationView">
        <style>
          <class name="docs-background"/>
        </style>
        <child>
          <object class="AdwNavigationPage">
            <property name="title">Page 1</property>
            <property name="child">
              <object class="AdwToolbarView">
                <child type="top">
                  <object class="AdwHeaderBar">
                    <property name="show-start-title-buttons">False</property>
                    <property name="show-end-title-buttons">False</property>
                  </object>
                </child>
                <property name="content">
                  <object class="GtkButton">
                    <property name="label">Open Page 2</property>
                    <property name="halign">center</property>
                    <property name="valign">center</property>
                    <property name="action-name">navigation.push</property>
                    <property name="action-target">'page-2'</property>
                    <style>
                      <class name="pill"/>
                    </style>
                  </object>
                </property>
              </object>
            </property>
          </object>
        </child>
        <child>
          <object class="AdwNavigationPage" id="nav-page">
            <property name="title">Page 2</property>
            <property name="tag">page-2</property>
            <property name="child">
              <object class="AdwToolbarView">
                <child type="top">
                  <object class="AdwHeaderBar">
                    <property name="show-start-title-buttons">False</property>
                    <property name="show-end-title-buttons">False</property>
                  </object>
                </child>
              </object>
            </property>
          </object>
        </child>
      </object>
    </child>
  </object>
</interface>
