mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-28 14:31:10 +00:00
51 lines
1.7 KiB
XML
51 lines
1.7 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">Column 2</property>
|
|
<child>
|
|
<object class="GtkCellRendererText" id="renderer2">
|
|
</object>
|
|
<attributes>
|
|
<attribute name="text">1</attribute>
|
|
</attributes>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</interface>
|