summaryrefslogtreecommitdiff
path: root/testsuite/reftests/treeview-fixed-height.ui
blob: b99672d079e6e006594d70215d971556db462f43 (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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
<?xml version="1.0" encoding="UTF-8"?>
<interface>
  <object class="GtkListStore" id="liststore1">
    <columns>
      <column type="gboolean"/>
      <column type="gchararray"/>
      <column type="gchararray"/>
    </columns>
    <data>
      <row>
        <col id="0">True</col>
        <col id="1" translatable="yes">Andrea</col>
        <col id="2" translatable="yes">Cimi</col>
      </row>
      <row>
        <col id="0">False</col>
        <col id="1" translatable="yes">Otto</col>
        <col id="2" translatable="yes">chaotic</col>
      </row>
    </data>
  </object>
  <object class="GtkWindow" id="window">
    <property name="decorated">0</property>
    <child>
      <object class="GtkTreeView" id="treeview1">
        <property name="model">liststore1</property>
        <property name="fixed-height-mode">1</property>
        <child internal-child="selection">
          <object class="GtkTreeSelection" id="treeview-selection"/>
        </child>
        <child>
          <object class="GtkTreeViewColumn" id="treeviewcolumn3">
            <property name="title" translatable="yes">Cool</property>
            <property name="sizing">fixed</property>
            <property name="fixed-width">100</property>
            <child>
              <object class="GtkCellRendererToggle" id="cellrenderertoggle1"/>
              <attributes>
                <attribute name="active">0</attribute>
              </attributes>
            </child>
          </object>
        </child>
        <child>
          <object class="GtkTreeViewColumn" id="treeviewcolumn1">
            <property name="title" translatable="yes">Name</property>
            <property name="sizing">fixed</property>
            <property name="fixed-width">100</property>
            <child>
              <object class="GtkCellRendererText" id="cellrenderertext3"/>
              <attributes>
                <attribute name="text">1</attribute>
              </attributes>
            </child>
          </object>
        </child>
        <child>
          <object class="GtkTreeViewColumn" id="treeviewcolumn2">
            <property name="title" translatable="yes">Nick</property>
            <property name="sizing">fixed</property>
            <property name="fixed-width">100</property>
            <child>
              <object class="GtkCellRendererText" id="cellrenderertext4"/>
              <attributes>
                <attribute name="text">2</attribute>
              </attributes>
            </child>
          </object>
        </child>
      </object>
    </child>
  </object>
</interface>