| 1 |
<?xml version="1.0" encoding="UTF-8"?> |
| 2 |
<interface> |
| 3 |
<object class="GtkListStore" id="liststore1"> |
| 4 |
<columns> |
| 5 |
<column type="gint"/> |
| 6 |
<column type="gint"/> |
| 7 |
</columns> |
| 8 |
<data> |
| 9 |
<row> |
| 10 |
<col id="0">10</col> |
| 11 |
<col id="1">20</col> |
| 12 |
</row> |
| 13 |
<row> |
| 14 |
<col id="0">5</col> |
| 15 |
<col id="1">25</col> |
| 16 |
</row> |
| 17 |
<row> |
| 18 |
<col id="0">15</col> |
| 19 |
<col id="1">15</col> |
| 20 |
</row> |
| 21 |
</data> |
| 22 |
</object> |
| 23 |
<object class="GtkAdjustment" id="adj"> |
| 24 |
<property name="lower">5</property> |
| 25 |
<property name="upper">50</property> |
| 26 |
<property name="step-increment">1</property> |
| 27 |
<property name="page-increment">5</property> |
| 28 |
</object> |
| 29 |
<object class="GtkWindow" id="window1"> |
| 30 |
<property name="title" translatable="yes">Filter Model</property> |
| 31 |
<property name="child"> |
| 32 |
<object class="GtkGrid" id="grid1"> |
| 33 |
<property name="margin-start">10</property> |
| 34 |
<property name="margin-end">10</property> |
| 35 |
<property name="margin-top">10</property> |
| 36 |
<property name="margin-bottom">10</property> |
| 37 |
<property name="row-spacing">10</property> |
| 38 |
<property name="column-spacing">10</property> |
| 39 |
<property name="column-homogeneous">1</property> |
| 40 |
<child> |
| 41 |
<object class="GtkLabel" id="label1"> |
| 42 |
<property name="label" translatable="yes">Original</property> |
| 43 |
<property name="xalign">0</property> |
| 44 |
<property name="attributes">0 -1 weight bold</property> |
| 45 |
<layout> |
| 46 |
<property name="column">0</property> |
| 47 |
<property name="row">0</property> |
| 48 |
</layout> |
| 49 |
</object> |
| 50 |
</child> |
| 51 |
<child> |
| 52 |
<object class="GtkTreeView" id="treeview1"> |
| 53 |
<property name="model">liststore1</property> |
| 54 |
<property name="headers-clickable">0</property> |
| 55 |
<child internal-child="selection"> |
| 56 |
<object class="GtkTreeSelection" id="treeview-selection1"/> |
| 57 |
</child> |
| 58 |
<child> |
| 59 |
<object class="GtkTreeViewColumn" id="treeviewcolumn1"> |
| 60 |
<property name="title" translatable="yes">Width</property> |
| 61 |
<child> |
| 62 |
<object class="GtkCellRendererSpin" id="cellrenderertext1"> |
| 63 |
<property name="editable">1</property> |
| 64 |
<property name="adjustment">adj</property> |
| 65 |
</object> |
| 66 |
</child> |
| 67 |
</object> |
| 68 |
</child> |
| 69 |
<child> |
| 70 |
<object class="GtkTreeViewColumn" id="treeviewcolumn2"> |
| 71 |
<property name="title" translatable="yes">Height</property> |
| 72 |
<child> |
| 73 |
<object class="GtkCellRendererSpin" id="cellrenderertext2"> |
| 74 |
<property name="editable">1</property> |
| 75 |
<property name="adjustment">adj</property> |
| 76 |
</object> |
| 77 |
</child> |
| 78 |
</object> |
| 79 |
</child> |
| 80 |
<layout> |
| 81 |
<property name="column">0</property> |
| 82 |
<property name="row">1</property> |
| 83 |
</layout> |
| 84 |
</object> |
| 85 |
</child> |
| 86 |
<child> |
| 87 |
<object class="GtkTreeView" id="treeview2"> |
| 88 |
<property name="headers-clickable">0</property> |
| 89 |
<property name="search-column">0</property> |
| 90 |
<child internal-child="selection"> |
| 91 |
<object class="GtkTreeSelection" id="treeview-selection3"/> |
| 92 |
</child> |
| 93 |
<child> |
| 94 |
<object class="GtkTreeViewColumn" id="treeviewcolumn3"> |
| 95 |
<property name="title" translatable="yes">Width</property> |
| 96 |
<child> |
| 97 |
<object class="GtkCellRendererText" id="cellrenderertext3"/> |
| 98 |
</child> |
| 99 |
</object> |
| 100 |
</child> |
| 101 |
<child> |
| 102 |
<object class="GtkTreeViewColumn" id="treeviewcolumn4"> |
| 103 |
<property name="title" translatable="yes">Height</property> |
| 104 |
<child> |
| 105 |
<object class="GtkCellRendererText" id="cellrenderertext4"/> |
| 106 |
</child> |
| 107 |
</object> |
| 108 |
</child> |
| 109 |
<child> |
| 110 |
<object class="GtkTreeViewColumn" id="treeviewcolumn5"> |
| 111 |
<property name="title" translatable="yes">Area</property> |
| 112 |
<child> |
| 113 |
<object class="GtkCellRendererText" id="cellrenderertext5"/> |
| 114 |
</child> |
| 115 |
</object> |
| 116 |
</child> |
| 117 |
<child> |
| 118 |
<object class="GtkTreeViewColumn" id="treeviewcolumn6"> |
| 119 |
<property name="title" translatable="yes">Square</property> |
| 120 |
<child> |
| 121 |
<object class="GtkCellRendererPixbuf" id="cellrendererpixbuf1"> |
| 122 |
<property name="icon-name">object-select-symbolic</property> |
| 123 |
</object> |
| 124 |
</child> |
| 125 |
</object> |
| 126 |
</child> |
| 127 |
<layout> |
| 128 |
<property name="column">1</property> |
| 129 |
<property name="row">1</property> |
| 130 |
</layout> |
| 131 |
</object> |
| 132 |
</child> |
| 133 |
<child> |
| 134 |
<object class="GtkLabel" id="label2"> |
| 135 |
<property name="label" translatable="yes">Computed Columns</property> |
| 136 |
<property name="xalign">0</property> |
| 137 |
<property name="attributes">0 -1 weight bold</property> |
| 138 |
<layout> |
| 139 |
<property name="column">1</property> |
| 140 |
<property name="row">0</property> |
| 141 |
</layout> |
| 142 |
</object> |
| 143 |
</child> |
| 144 |
<child> |
| 145 |
<object class="GtkLabel" id="label3"> |
| 146 |
<property name="label" translatable="yes">Filtered</property> |
| 147 |
<property name="xalign">0</property> |
| 148 |
<property name="attributes">0 -1 weight bold</property> |
| 149 |
<layout> |
| 150 |
<property name="column">0</property> |
| 151 |
<property name="row">2</property> |
| 152 |
</layout> |
| 153 |
</object> |
| 154 |
</child> |
| 155 |
<child> |
| 156 |
<object class="GtkTreeView" id="treeview3"> |
| 157 |
<property name="headers-clickable">0</property> |
| 158 |
<property name="search-column">0</property> |
| 159 |
<child internal-child="selection"> |
| 160 |
<object class="GtkTreeSelection" id="treeview-selection5"/> |
| 161 |
</child> |
| 162 |
<child> |
| 163 |
<object class="GtkTreeViewColumn" id="treeviewcolumn7"> |
| 164 |
<property name="title" translatable="yes">Width</property> |
| 165 |
<child> |
| 166 |
<object class="GtkCellRendererText" id="cellrenderertext6"/> |
| 167 |
</child> |
| 168 |
</object> |
| 169 |
</child> |
| 170 |
<child> |
| 171 |
<object class="GtkTreeViewColumn" id="treeviewcolumn8"> |
| 172 |
<property name="title" translatable="yes">Height</property> |
| 173 |
<child> |
| 174 |
<object class="GtkCellRendererText" id="cellrenderertext7"/> |
| 175 |
</child> |
| 176 |
</object> |
| 177 |
</child> |
| 178 |
<layout> |
| 179 |
<property name="column">0</property> |
| 180 |
<property name="row">3</property> |
| 181 |
</layout> |
| 182 |
</object> |
| 183 |
</child> |
| 184 |
</object> |
| 185 |
</property> |
| 186 |
</object> |
| 187 |
</interface> |