summaryrefslogtreecommitdiff
path: root/testsuite/reftests/treeview-fixed-height.ui
blob: 1744f53fa2054c38feb863bf5b84d25945a8b161 (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
74
75
76
77
78
79
80
<?xml version="1.0" encoding="UTF-8"?>
<interface>
  <!-- interface-requires gtk+ 3.0 -->
  <object class="GtkListStore" id="liststore1">
    <columns>
      <!-- column-name Cool -->
      <column type="gboolean"/>
      <!-- column-name Name -->
      <column type="gchararray"/>
      <!-- column-name Nick -->
      <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="can_focus">False</property>
    <property name="type">popup</property>
    <child>
      <object class="GtkTreeView" id="treeview1">
        <property name="visible">True</property>
        <property name="can_focus">True</property>
        <property name="model">liststore1</property>
        <property name="fixed-height-mode">True</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>