| 1 |
<?xml version="1.0" standalone="no"?> |
| 2 |
<!--*- mode: xml -*--> |
| 3 |
<interface> |
| 4 |
<object class="GtkListStore" id="liststore1"> |
| 5 |
<columns> |
| 6 |
<column type="gchararray"/> |
| 7 |
<column type="gchararray"/> |
| 8 |
<column type="gint"/> |
| 9 |
<column type="gchararray"/> |
| 10 |
</columns> |
| 11 |
<data> |
| 12 |
<row> |
| 13 |
<col id="0" translatable="yes">John</col> |
| 14 |
<col id="1" translatable="yes">Doe</col> |
| 15 |
<col id="2">25</col> |
| 16 |
<col id="3" translatable="yes">This is the John Doe row</col> |
| 17 |
</row> |
| 18 |
<row> |
| 19 |
<col id="0" translatable="yes">Mary</col> |
| 20 |
<col id="1" translatable="yes">Unknown</col> |
| 21 |
<col id="2">50</col> |
| 22 |
<col id="3" translatable="yes">This is the Mary Unknown row</col> |
| 23 |
</row> |
| 24 |
</data> |
| 25 |
</object> |
| 26 |
<object class="GtkAboutDialog" id="aboutdialog1"> |
| 27 |
<property name="program-name" translatable="yes">Gtk::Builder demo</property> |
| 28 |
<property name="logo-icon-name" translatable="yes">gtk3-demo</property> |
| 29 |
<accessibility> |
| 30 |
<relation target="window1" type="subwindow-of"/> |
| 31 |
</accessibility> |
| 32 |
</object> |
| 33 |
<object class="GtkWindow" id="window1"> |
| 34 |
<property name="default_height">250</property> |
| 35 |
<property name="default_width">440</property> |
| 36 |
<property name="title">Gtk::Builder demo</property> |
| 37 |
<child> |
| 38 |
<object class="GtkVBox" id="vbox1"> |
| 39 |
<property name="visible">True</property> |
| 40 |
<child> |
| 41 |
<object class="GtkMenuBar" id="menubar1"> |
| 42 |
<property name="visible">True</property> |
| 43 |
<child internal-child="accessible"> |
| 44 |
<object class="AtkObject" id="a11y-menubar"> |
| 45 |
<property name="AtkObject::accessible-name">The menubar</property> |
| 46 |
</object> |
| 47 |
</child> |
| 48 |
<child> |
| 49 |
<object class="GtkMenuItem"> |
| 50 |
<property name="visible">True</property> |
| 51 |
<property name="label" translatable="yes">_File</property> |
| 52 |
<property name="use-underline">True</property> |
| 53 |
<child type="submenu"> |
| 54 |
<object class="GtkMenu"> |
| 55 |
<child> |
| 56 |
<object class="GtkMenuItem" id="new_item"> |
| 57 |
<property name="visible">True</property> |
| 58 |
<property name="label" translatable="yes">_New</property> |
| 59 |
<property name="use-underline">True</property> |
| 60 |
</object> |
| 61 |
</child> |
| 62 |
<child> |
| 63 |
<object class="GtkMenuItem" id="open_item"> |
| 64 |
<property name="visible">True</property> |
| 65 |
<property name="label" translatable="yes">_Open</property> |
| 66 |
<property name="use-underline">True</property> |
| 67 |
</object> |
| 68 |
</child> |
| 69 |
<child> |
| 70 |
<object class="GtkMenuItem" id="save_item"> |
| 71 |
<property name="visible">True</property> |
| 72 |
<property name="label" translatable="yes">_Save</property> |
| 73 |
<property name="use-underline">True</property> |
| 74 |
</object> |
| 75 |
</child> |
| 76 |
<child> |
| 77 |
<object class="GtkMenuItem" id="save_as_item"> |
| 78 |
<property name="visible">True</property> |
| 79 |
<property name="label" translatable="yes">Save _As</property> |
| 80 |
<property name="use-underline">True</property> |
| 81 |
</object> |
| 82 |
</child> |
| 83 |
<child> |
| 84 |
<object class="GtkSeparatorMenuItem"> |
| 85 |
<property name="visible">True</property> |
| 86 |
</object> |
| 87 |
</child> |
| 88 |
<child> |
| 89 |
<object class="GtkMenuItem" id="quit_item"> |
| 90 |
<property name="visible">True</property> |
| 91 |
<property name="label" translatable="yes">_Quit</property> |
| 92 |
<property name="use-underline">True</property> |
| 93 |
<property name="action-name">win.quit</property> |
| 94 |
</object> |
| 95 |
</child> |
| 96 |
</object> |
| 97 |
</child> |
| 98 |
</object> |
| 99 |
</child> |
| 100 |
<child> |
| 101 |
<object class="GtkMenuItem"> |
| 102 |
<property name="visible">True</property> |
| 103 |
<property name="label" translatable="yes">_Edit</property> |
| 104 |
<property name="use-underline">True</property> |
| 105 |
<child type="submenu"> |
| 106 |
<object class="GtkMenu"> |
| 107 |
<child> |
| 108 |
<object class="GtkMenuItem" id="copy_item"> |
| 109 |
<property name="visible">True</property> |
| 110 |
<property name="label" translatable="yes">_Copy</property> |
| 111 |
<property name="use-underline">True</property> |
| 112 |
</object> |
| 113 |
</child> |
| 114 |
<child> |
| 115 |
<object class="GtkMenuItem" id="cut_item"> |
| 116 |
<property name="visible">True</property> |
| 117 |
<property name="label" translatable="yes">_Cut</property> |
| 118 |
<property name="use-underline">True</property> |
| 119 |
</object> |
| 120 |
</child> |
| 121 |
<child> |
| 122 |
<object class="GtkMenuItem" id="paste_item"> |
| 123 |
<property name="visible">True</property> |
| 124 |
<property name="label" translatable="yes">_Paste</property> |
| 125 |
<property name="use-underline">True</property> |
| 126 |
</object> |
| 127 |
</child> |
| 128 |
</object> |
| 129 |
</child> |
| 130 |
</object> |
| 131 |
</child> |
| 132 |
<child> |
| 133 |
<object class="GtkMenuItem"> |
| 134 |
<property name="visible">True</property> |
| 135 |
<property name="label" translatable="yes">_Help</property> |
| 136 |
<property name="use-underline">True</property> |
| 137 |
<child type="submenu"> |
| 138 |
<object class="GtkMenu"> |
| 139 |
<child> |
| 140 |
<object class="GtkMenuItem" id="help_item"> |
| 141 |
<property name="visible">True</property> |
| 142 |
<property name="label" translatable="yes">_Help</property> |
| 143 |
<property name="use-underline">True</property> |
| 144 |
<property name="action-name">win.help</property> |
| 145 |
</object> |
| 146 |
</child> |
| 147 |
<child> |
| 148 |
<object class="GtkMenuItem" id="about_item"> |
| 149 |
<property name="visible">True</property> |
| 150 |
<property name="label" translatable="yes">_About</property> |
| 151 |
<property name="use-underline">True</property> |
| 152 |
<property name="action-name">win.about</property> |
| 153 |
</object> |
| 154 |
</child> |
| 155 |
</object> |
| 156 |
</child> |
| 157 |
</object> |
| 158 |
</child> |
| 159 |
</object> |
| 160 |
<packing> |
| 161 |
<property name="expand">False</property> |
| 162 |
</packing> |
| 163 |
</child> |
| 164 |
<child> |
| 165 |
<object class="GtkToolbar" id="toolbar1"> |
| 166 |
<property name="visible">True</property> |
| 167 |
<child internal-child="accessible"> |
| 168 |
<object class="AtkObject" id="a11y-toolbar"> |
| 169 |
<property name="AtkObject::accessible-name">The toolbar</property> |
| 170 |
</object> |
| 171 |
</child> |
| 172 |
<child> |
| 173 |
<object class="GtkToolButton"> |
| 174 |
<property name="visible">True</property> |
| 175 |
<property name="label" translatable="yes">New</property> |
| 176 |
<property name="tooltip-text" translatable="yes">Create a new file</property> |
| 177 |
<property name="icon-name">document-new</property> |
| 178 |
</object> |
| 179 |
</child> |
| 180 |
<child> |
| 181 |
<object class="GtkToolButton"> |
| 182 |
<property name="visible">True</property> |
| 183 |
<property name="label" translatable="yes">Open</property> |
| 184 |
<property name="tooltip-text" translatable="yes">Open a file</property> |
| 185 |
<property name="icon-name">document-open</property> |
| 186 |
</object> |
| 187 |
</child> |
| 188 |
<child> |
| 189 |
<object class="GtkToolButton"> |
| 190 |
<property name="visible">True</property> |
| 191 |
<property name="label" translatable="yes">Save</property> |
| 192 |
<property name="tooltip-text" translatable="yes">Save a file</property> |
| 193 |
<property name="icon-name">document-save</property> |
| 194 |
<property name="is-important">True</property> |
| 195 |
</object> |
| 196 |
</child> |
| 197 |
<child> |
| 198 |
<object class="GtkSeparatorToolItem"> |
| 199 |
<property name="visible">True</property> |
| 200 |
</object> |
| 201 |
</child> |
| 202 |
<child> |
| 203 |
<object class="GtkToolButton"> |
| 204 |
<property name="visible">True</property> |
| 205 |
<property name="label" translatable="yes">Copy</property> |
| 206 |
<property name="tooltip-text" translatable="yes">Copy selected object into the clipboard</property> |
| 207 |
<property name="icon-name">edit-copy</property> |
| 208 |
</object> |
| 209 |
</child> |
| 210 |
<child> |
| 211 |
<object class="GtkToolButton"> |
| 212 |
<property name="visible">True</property> |
| 213 |
<property name="label" translatable="yes">Cut</property> |
| 214 |
<property name="tooltip-text" translatable="yes">Cut selected object into the clipboard</property> |
| 215 |
<property name="icon-name">edit-cut</property> |
| 216 |
</object> |
| 217 |
</child> |
| 218 |
<child> |
| 219 |
<object class="GtkToolButton"> |
| 220 |
<property name="visible">True</property> |
| 221 |
<property name="label" translatable="yes">Paste</property> |
| 222 |
<property name="tooltip-text" translatable="yes">Paste object from the clipboard</property> |
| 223 |
<property name="icon-name">edit-paste</property> |
| 224 |
</object> |
| 225 |
</child> |
| 226 |
</object> |
| 227 |
<packing> |
| 228 |
<property name="position">1</property> |
| 229 |
<property name="expand">False</property> |
| 230 |
</packing> |
| 231 |
</child> |
| 232 |
<child> |
| 233 |
<object class="GtkScrolledWindow" id="scrolledwindow1"> |
| 234 |
<property name="shadow_type">in</property> |
| 235 |
<property name="visible">True</property> |
| 236 |
<child> |
| 237 |
<object class="GtkTreeView" id="treeview1"> |
| 238 |
<property name="visible">True</property> |
| 239 |
<property name="model">liststore1</property> |
| 240 |
<property name="tooltip-column">3</property> |
| 241 |
<child internal-child="accessible"> |
| 242 |
<object class="AtkObject" id="a11y-treeview"> |
| 243 |
<property name="AtkObject::accessible-name">Name list</property> |
| 244 |
<property name="AtkObject::accessible-description"> |
| 245 |
A list of person with name, surname and age columns |
| 246 |
</property> |
| 247 |
</object> |
| 248 |
</child> |
| 249 |
<child> |
| 250 |
<object class="GtkTreeViewColumn" id="column1"> |
| 251 |
<property name="title">Name</property> |
| 252 |
<child> |
| 253 |
<object class="GtkCellRendererText" id="renderer1"/> |
| 254 |
<attributes> |
| 255 |
<attribute name="text">0</attribute> |
| 256 |
</attributes> |
| 257 |
</child> |
| 258 |
</object> |
| 259 |
</child> |
| 260 |
<child> |
| 261 |
<object class="GtkTreeViewColumn" id="column2"> |
| 262 |
<property name="title">Surname</property> |
| 263 |
<child> |
| 264 |
<object class="GtkCellRendererText" id="renderer2"/> |
| 265 |
<attributes> |
| 266 |
<attribute name="text">1</attribute> |
| 267 |
</attributes> |
| 268 |
</child> |
| 269 |
</object> |
| 270 |
</child> |
| 271 |
<child> |
| 272 |
<object class="GtkTreeViewColumn" id="column3"> |
| 273 |
<property name="title">Age</property> |
| 274 |
<child> |
| 275 |
<object class="GtkCellRendererText" id="renderer3"/> |
| 276 |
<attributes> |
| 277 |
<attribute name="text">2</attribute> |
| 278 |
</attributes> |
| 279 |
</child> |
| 280 |
</object> |
| 281 |
</child> |
| 282 |
</object> |
| 283 |
</child> |
| 284 |
</object> |
| 285 |
<packing> |
| 286 |
<property name="position">2</property> |
| 287 |
<property name="expand">True</property> |
| 288 |
</packing> |
| 289 |
</child> |
| 290 |
<child> |
| 291 |
<object class="GtkStatusbar" id="statusbar1"> |
| 292 |
<property name="visible">True</property> |
| 293 |
</object> |
| 294 |
<packing> |
| 295 |
<property name="position">3</property> |
| 296 |
<property name="expand">False</property> |
| 297 |
</packing> |
| 298 |
</child> |
| 299 |
</object> |
| 300 |
</child> |
| 301 |
</object> |
| 302 |
</interface> |