<?xml version="1.0" encoding="UTF-8"?>
<interface>
  <requires lib="gtk" version="4.0"/>
  <template class="PpsSidebarThumbnails" parent="PpsSidebarPage">
    <signal name="notify::scale-factor" handler="reload" swapped="yes" />
    <property name="child">
      <object class="GtkBox">
        <property name="orientation">vertical</property>
        <child>
          <object class="GtkScrolledWindow">
            <property name="valign">fill</property>
            <property name="vexpand">True</property>
            <property name="hscrollbar-policy">never</property>
            <property name="vscrollbar-policy">automatic</property>
            <property name="child">
              <object class="AdwClampScrollable" id="clamp">
                <property name="vscroll-policy">natural</property>
                <property name="maximum-size">240</property>
                <property name="tightening-threshold">180</property>
                <property name="child">
                  <object class="GtkGridView" id="grid_view">
                    <property name="max-columns">1</property>
                    <property name="min-columns">1</property>
                    <property name="halign">center</property>
                    <property name="factory">
                      <object class="GtkSignalListItemFactory" id="factory">
                        <signal name="setup" handler="grid_view_factory_setup" swapped="yes" />
                        <signal name="bind" handler="grid_view_factory_bind" swapped="yes" />
                        <signal name="unbind" handler="grid_view_factory_unbind" swapped="yes" />
                      </object>
                    </property>
                    <property name="model">
                      <object class="GtkSingleSelection" id="selection_model">
                        <property name="autoselect">False</property>
                        <property name="model">
                          <object class="GListStore" id="list_store">
                          </object>
                        </property>
                        <signal name="selection-changed" handler="grid_view_selection_changed" swapped="yes" />
                      </object>
                    </property>
                    <style>
                      <class name="navigation-sidebar" />
                    </style>
                    <accessibility>
                      <property name="label" translatable="yes">Previews</property>
                    </accessibility>
                  </object>
                </property>
              </object>
            </property>
          </object>
        </child>
      </object>
    </property>
  </template>
</interface>
