gtk2/tests/a11y/tree.ui
Benjamin Otte 857fa84796 tests: Add an invisible column to the tree test
This one should be invisible if everything works as it should.
2011-11-16 04:39:25 +01:00

64 lines
2.1 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<interface>
<!-- interface-requires gtk+ 3.0 -->
<object class="GtkListStore" id="liststore1">
<columns>
<column type="gchararray"/>
<column type="gchararray"/>
</columns>
<data>
<row><col id="0">One</col><col id="1">Two</col></row>
<row><col id="0">Three</col><col id="1">Four</col></row>
<row><col id="0">Five</col><col id="1">Six</col></row>
<row><col id="0">Seven</col><col id="1">Eight</col></row>
</data>
</object>
<object class="GtkWindow" id="window1">
<property name="can_focus">False</property>
<property name="type">popup</property>
<child>
<object class="GtkTreeView" id="tree1">
<property name="visible">True</property>
<property name="model">liststore1</property>
<child>
<object class="GtkTreeViewColumn" id="column1">
<property name="title" translatable="yes">Column 1</property>
<child>
<object class="GtkCellRendererText" id="renderer1">
</object>
<attributes>
<attribute name="text">0</attribute>
</attributes>
</child>
</object>
</child>
<child>
<object class="GtkTreeViewColumn" id="column2">
<property name="title" translatable="yes">invisible Column</property>
<property name="visible">false</property>
<child>
<object class="GtkCellRendererText" id="renderer2">
</object>
<attributes>
<attribute name="text">0</attribute>
</attributes>
</child>
</object>
</child>
<child>
<object class="GtkTreeViewColumn" id="column3">
<property name="title" translatable="yes">Column 2</property>
<child>
<object class="GtkCellRendererText" id="renderer3">
</object>
<attributes>
<attribute name="text">1</attribute>
</attributes>
</child>
</object>
</child>
</object>
</child>
</object>
</interface>