summaryrefslogtreecommitdiffstats
path: root/panels/applications/cc-snap-row.ui
blob: 2d83f379d3bc2bdabc181e0adfdeae2247c86eb4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
<?xml version="1.0" encoding="UTF-8"?>
<interface>
  <object class="GtkListStore" id="slots_combo_model">
    <columns>
      <!-- column-name slot -->
      <column type="GObject"/>
      <!-- column-name label -->
      <column type="gchararray"/>
    </columns>
  </object>
  <template class="CcSnapRow" parent="GtkListBoxRow">
    <property name="visible">True</property>
    <property name="can-focus">True</property>
    <property name="activatable">False</property>
    <child>
      <object class="GtkBox">
        <property name="visible">True</property>
        <property name="border-width">12</property>
        <property name="spacing">12</property>
        <child>
          <object class="GtkLabel" id="title_label">
            <property name="visible">True</property>
            <property name="xalign">0</property>
            <property name="hexpand">1</property>
            <property name="ellipsize">end</property>
          </object>
        </child>
        <child>
          <object class="GtkSwitch" id="slot_toggle">
            <property name="visible">True</property>
            <property name="valign">center</property>
            <signal name="notify::active" handler="switch_changed_cb" swapped="yes"/>
          </object>
        </child>
        <child>
          <object class="GtkComboBox" id="slots_combo">
            <property name="visible">True</property>
            <property name="valign">center</property>
            <property name="model">slots_combo_model</property>
            <signal name="changed" handler="combo_changed_cb" swapped="yes"/>
            <child>
              <object class="GtkCellRendererText">
                <property name="ellipsize">end</property>
              </object>
              <attributes>
                <attribute name="text">1</attribute>
              </attributes>
            </child>
          </object>
        </child>
      </object>
    </child>
  </template>
</interface>