<?xml version="1.0" encoding="UTF-8"?>
<interface>
  <requires lib="gtk+" version="3.24"/>
  <!-- Model for the 'Wallpaper Style' combo box -->
  <object class="GtkListStore" id="model-style">
    <columns>
      <column type="gint"/>
      <column type="gchararray"/>
    </columns>
    <data>
      <row>
        <col id="0">0</col>
        <col id="1">Center</col>
      </row>
      <row>
        <col id="0">1</col>
        <col id="1">Tile</col>
      </row>
      <row>
        <col id="0">2</col>
        <col id="1">Stretch</col>
      </row>
    </data>
  </object>

  <!-- UI begins here -->
  <object class="GtkLabel" id="label-title">
    <property name="visible">True</property>
    <property name="can-focus">True</property>
    <property name="label" translatable="yes">Desktop</property>
  </object>
  <object class="GtkBox" id="page-box">
    <property name="visible">True</property>
    <property name="can-focus">False</property>
    <property name="orientation">vertical</property>

    <child>
      <object class="WinTCDeskMonitor" id="monitor">
        <property name="visible">True</property>
        <property name="can-focus">False</property>
      </object>
      <packing>
        <property name="expand">False</property>
        <property name="fill">False</property>
        <property name="position">0</property>
      </packing>
    </child>

    <child>
      <object class="GtkLabel">
        <property name="visible">True</property>
        <property name="can-focus">False</property>
        <property name="label" translatable="yes">Background:</property>
        <property name="xalign">0.0</property>

        <style>
          <class name="wintc-ml-lg" />
        </style>
      </object>
      <packing>
        <property name="expand">False</property>
        <property name="fill">False</property>
        <property name="position">1</property>
      </packing>
    </child>

    <!-- Form stuff - one horizontal outer box with two inner vert boxes -->
    <child>
      <object class="GtkBox">
        <property name="visible">True</property>
        <property name="can-focus">False</property>
        <property name="orientation">horizontal</property>

        <!-- Wallpaper selection -->
        <child>
          <object class="GtkBox">
            <property name="visible">True</property>
            <property name="can-focus">False</property>
            <property name="orientation">vertical</property>

            <child>
              <object class="GtkScrolledWindow">
                <property name="visible">True</property>
                <property name="can-focus">False</property>
                <property name="overlay-scrolling">False</property>
                <property name="vscrollbar-policy">0</property>

                <child>
                  <object class="GtkListBox" id="listbox-wallpapers">
                    <property name="visible">True</property>
                    <property name="can-focus">True</property>
                  </object>
                </child>

                <style>
                  <class name="wintc-mb-md" />
                </style>
              </object>
              <packing>
                <property name="expand">True</property>
                <property name="fill">True</property>
                <property name="position">0</property>
              </packing>
            </child>

            <child>
              <object class="GtkButton">
                <property name="visible">True</property>
                <property name="can-focus">True</property>
                <property name="receives-default">True</property>
                <property name="label" translatable="yes">Customize Desktop...</property>
                <property name="halign">GTK_ALIGN_START</property>
                <property name="sensitive">False</property>
              </object>
              <packing>
                <property name="expand">False</property>
                <property name="fill">False</property>
                <property name="position">1</property>
              </packing>
            </child>

            <style>
              <class name="wintc-mr-lg" />
            </style>
          </object>
          <packing>
            <property name="expand">True</property>
            <property name="fill">True</property>
            <property name="position">0</property>
          </packing>
        </child>

        <!-- Additional wallpaper settings -->
        <child>
          <object class="GtkBox">
            <property name="visible">True</property>
            <property name="can-focus">False</property>
            <property name="orientation">vertical</property>

            <child>
              <object class="GtkButton">
                <property name="visible">True</property>
                <property name="can-focus">True</property>
                <property name="receives-default">True</property>
                <property name="label" translatable="yes">%PUNC_MOREINPUT%%CTL_BROWSE%</property>
                <property name="sensitive">False</property>

                <style>
                  <class name="wintc-button" />
                  <class name="wintc-mb-lg" />
                </style>
              </object>
              <packing>
                <property name="expand">False</property>
                <property name="fill">False</property>
                <property name="position">0</property>
              </packing>
            </child>

            <child>
              <object class="GtkLabel">
                <property name="visible">True</property>
                <property name="can-focus">False</property>
                <property name="label" translatable="yes">Position:</property>
                <property name="xalign">0.0</property>

                <style>
                  <class name="wintc-mb-md" />
                </style>
              </object>
              <packing>
                <property name="expand">False</property>
                <property name="fill">False</property>
                <property name="position">1</property>
              </packing>
            </child>
            <child>
              <object class="GtkComboBox" id="combo-style">
                <property name="visible">True</property>
                <property name="can-focus">True</property>
                <property name="id-column">0</property>
                <property name="model">model-style</property>

                <child>
                  <object class="GtkCellRendererText" />
                  <attributes>
                    <attribute name="text">1</attribute>
                  </attributes>
                </child>

                <style>
                  <class name="wintc-mb-lg" />
                </style>
              </object>
              <packing>
                <property name="expand">False</property>
                <property name="fill">False</property>
                <property name="position">2</property>
              </packing>
            </child>

            <child>
              <object class="GtkLabel">
                <property name="visible">True</property>
                <property name="can-focus">False</property>
                <property name="label" translatable="yes">Color:</property>
                <property name="xalign">0.0</property>

                <style>
                  <class name="wintc-mb-md" />
                </style>
              </object>
              <packing>
                <property name="expand">False</property>
                <property name="fill">False</property>
                <property name="position">3</property>
              </packing>
            </child>
            <child>
              <object class="GtkColorButton">
                <property name="visible">True</property>
                <property name="can-focus">True</property>

                <style>
                  <class name="wintc-button" />
                </style>
              </object>
              <packing>
                <property name="expand">False</property>
                <property name="fill">False</property>
                <property name="position">4</property>
              </packing>
            </child>
          </object>
          <packing>
            <property name="expand">False</property>
            <property name="fill">False</property>
            <property name="position">1</property>
          </packing>
        </child>

        <style>
          <class name="wintc-mb-md" />
          <class name="wintc-ml-lg" />
          <class name="wintc-mr-lg" />
          <class name="wintc-mt-md" />
        </style>
      </object>
      <packing>
        <property name="expand">True</property>
        <property name="fill">True</property>
        <property name="position">2</property>
      </packing>
    </child>

    <style>
      <class name="wintc-mt-lg" />
    </style>
  </object>
</interface>
