| 1 |
<?xml version="1.0" encoding="UTF-8"?> |
| 2 |
<interface> |
| 3 |
<object class="GtkListStore" id="liststore1"> |
| 4 |
<columns> |
| 5 |
<column type="gchararray"/> |
| 6 |
<column type="gchararray"/> |
| 7 |
<column type="gint"/> |
| 8 |
<column type="gchararray"/> |
| 9 |
</columns> |
| 10 |
<data> |
| 11 |
<row> |
| 12 |
<col id="0" translatable="yes">John</col> |
| 13 |
<col id="1" translatable="yes">Doe</col> |
| 14 |
<col id="2">25</col> |
| 15 |
<col id="3" translatable="yes">This is the John Doe row</col> |
| 16 |
</row> |
| 17 |
<row> |
| 18 |
<col id="0" translatable="yes">Mary</col> |
| 19 |
<col id="1" translatable="yes">Unknown</col> |
| 20 |
<col id="2">50</col> |
| 21 |
<col id="3" translatable="yes">This is the Mary Unknown row</col> |
| 22 |
</row> |
| 23 |
</data> |
| 24 |
</object> |
| 25 |
<menu id="menubar"> |
| 26 |
<submenu> |
| 27 |
<attribute name="label" translatable="yes">_File</attribute> |
| 28 |
<section> |
| 29 |
<item> |
| 30 |
<attribute name="label" translatable="yes">_New</attribute> |
| 31 |
<attribute name="action">win.new</attribute> |
| 32 |
</item> |
| 33 |
<item> |
| 34 |
<attribute name="label" translatable="yes">_Open</attribute> |
| 35 |
<attribute name="action">win.open</attribute> |
| 36 |
</item> |
| 37 |
<item> |
| 38 |
<attribute name="label" translatable="yes">_Save</attribute> |
| 39 |
<attribute name="action">win.save</attribute> |
| 40 |
</item> |
| 41 |
<item> |
| 42 |
<attribute name="label" translatable="yes">Save _As</attribute> |
| 43 |
<attribute name="action">win.save-as</attribute> |
| 44 |
</item> |
| 45 |
</section> |
| 46 |
<section> |
| 47 |
<item> |
| 48 |
<attribute name="label" translatable="yes">_Quit</attribute> |
| 49 |
<attribute name="action">win.quit</attribute> |
| 50 |
</item> |
| 51 |
</section> |
| 52 |
</submenu> |
| 53 |
<submenu> |
| 54 |
<attribute name="label" translatable="yes">_Edit</attribute> |
| 55 |
<section> |
| 56 |
<item> |
| 57 |
<attribute name="label" translatable="yes">_Copy</attribute> |
| 58 |
<attribute name="action">win.copy</attribute> |
| 59 |
</item> |
| 60 |
<item> |
| 61 |
<attribute name="label" translatable="yes">_Cut</attribute> |
| 62 |
<attribute name="action">win.cut</attribute> |
| 63 |
</item> |
| 64 |
<item> |
| 65 |
<attribute name="label" translatable="yes">_Paste</attribute> |
| 66 |
<attribute name="action">win.paste</attribute> |
| 67 |
</item> |
| 68 |
</section> |
| 69 |
</submenu> |
| 70 |
<submenu> |
| 71 |
<attribute name="label" translatable="yes">_Help</attribute> |
| 72 |
<section> |
| 73 |
<item> |
| 74 |
<attribute name="label" translatable="yes">_Help</attribute> |
| 75 |
<attribute name="action">win.help</attribute> |
| 76 |
</item> |
| 77 |
<item> |
| 78 |
<attribute name="label" translatable="yes">_About</attribute> |
| 79 |
<attribute name="action">win.about</attribute> |
| 80 |
</item> |
| 81 |
</section> |
| 82 |
</submenu> |
| 83 |
</menu> |
| 84 |
<object class="GtkAboutDialog" id="aboutdialog1"> |
| 85 |
<property name="program-name" translatable="yes">Builder demo</property> |
| 86 |
<property name="logo-icon-name" translatable="yes">org.gtk.Demo4</property> |
| 87 |
<property name="modal">True</property> |
| 88 |
</object> |
| 89 |
<object class="GtkWindow" id="window1"> |
| 90 |
<property name="default-height">250</property> |
| 91 |
<property name="default-width">440</property> |
| 92 |
<property name="title" translatable="yes">Builder</property> |
| 93 |
<property name="child"> |
| 94 |
<object class="GtkBox" id="vbox1"> |
| 95 |
<property name="orientation">vertical</property> |
| 96 |
<child> |
| 97 |
<object class="GtkPopoverMenuBar" id="menubar1"> |
| 98 |
<property name="menu-model">menubar</property> |
| 99 |
<accessibility> |
| 100 |
<property name="label">Main Menu</property> |
| 101 |
</accessibility> |
| 102 |
</object> |
| 103 |
</child> |
| 104 |
<child> |
| 105 |
<object class="GtkBox" id="toolbar1"> |
| 106 |
<property name="accessible-role">toolbar</property> |
| 107 |
<property name="css-classes">toolbar</property> |
| 108 |
<accessibility> |
| 109 |
<property name="label">Toolbar</property> |
| 110 |
</accessibility> |
| 111 |
<child> |
| 112 |
<object class="GtkButton"> |
| 113 |
<property name="label" translatable="yes">New</property> |
| 114 |
<property name="tooltip-text" translatable="yes">Create a new file</property> |
| 115 |
<property name="icon-name">document-new</property> |
| 116 |
<property name="action-name">win.new</property> |
| 117 |
</object> |
| 118 |
</child> |
| 119 |
<child> |
| 120 |
<object class="GtkButton"> |
| 121 |
<property name="label" translatable="yes">Open</property> |
| 122 |
<property name="tooltip-text" translatable="yes">Open a file</property> |
| 123 |
<property name="icon-name">document-open</property> |
| 124 |
<property name="action-name">win.open</property> |
| 125 |
</object> |
| 126 |
</child> |
| 127 |
<child> |
| 128 |
<object class="GtkButton"> |
| 129 |
<property name="label" translatable="yes">Save</property> |
| 130 |
<property name="tooltip-text" translatable="yes">Save a file</property> |
| 131 |
<property name="icon-name">document-save</property> |
| 132 |
<property name="action-name">win.save</property> |
| 133 |
</object> |
| 134 |
</child> |
| 135 |
<child> |
| 136 |
<object class="GtkSeparator"/> |
| 137 |
</child> |
| 138 |
<child> |
| 139 |
<object class="GtkButton"> |
| 140 |
<property name="label" translatable="yes">Copy</property> |
| 141 |
<property name="tooltip-text" translatable="yes">Copy selected object into the clipboard</property> |
| 142 |
<property name="icon-name">edit-copy</property> |
| 143 |
<property name="action-name">win.copy</property> |
| 144 |
</object> |
| 145 |
</child> |
| 146 |
<child> |
| 147 |
<object class="GtkButton"> |
| 148 |
<property name="label" translatable="yes">Cut</property> |
| 149 |
<property name="tooltip-text" translatable="yes">Cut selected object into the clipboard</property> |
| 150 |
<property name="icon-name">edit-cut</property> |
| 151 |
<property name="action-name">win.cut</property> |
| 152 |
</object> |
| 153 |
</child> |
| 154 |
<child> |
| 155 |
<object class="GtkButton"> |
| 156 |
<property name="label" translatable="yes">Paste</property> |
| 157 |
<property name="tooltip-text" translatable="yes">Paste object from the clipboard</property> |
| 158 |
<property name="icon-name">edit-paste</property> |
| 159 |
<property name="action-name">win.paste</property> |
| 160 |
</object> |
| 161 |
</child> |
| 162 |
</object> |
| 163 |
</child> |
| 164 |
<child> |
| 165 |
<object class="GtkScrolledWindow" id="scrolledwindow1"> |
| 166 |
<property name="has-frame">1</property> |
| 167 |
<property name="hexpand">1</property> |
| 168 |
<property name="vexpand">1</property> |
| 169 |
<property name="child"> |
| 170 |
<object class="GtkTreeView" id="treeview1"> |
| 171 |
<property name="model">liststore1</property> |
| 172 |
<property name="tooltip-column">3</property> |
| 173 |
<child> |
| 174 |
<object class="GtkTreeViewColumn" id="column1"> |
| 175 |
<property name="title">Name</property> |
| 176 |
<child> |
| 177 |
<object class="GtkCellRendererText" id="renderer1"/> |
| 178 |
<attributes> |
| 179 |
<attribute name="text">0</attribute> |
| 180 |
</attributes> |
| 181 |
</child> |
| 182 |
</object> |
| 183 |
</child> |
| 184 |
<child> |
| 185 |
<object class="GtkTreeViewColumn" id="column2"> |
| 186 |
<property name="title">Surname</property> |
| 187 |
<child> |
| 188 |
<object class="GtkCellRendererText" id="renderer2"/> |
| 189 |
<attributes> |
| 190 |
<attribute name="text">1</attribute> |
| 191 |
</attributes> |
| 192 |
</child> |
| 193 |
</object> |
| 194 |
</child> |
| 195 |
<child> |
| 196 |
<object class="GtkTreeViewColumn" id="column3"> |
| 197 |
<property name="title">Age</property> |
| 198 |
<child> |
| 199 |
<object class="GtkCellRendererText" id="renderer3"/> |
| 200 |
<attributes> |
| 201 |
<attribute name="text">2</attribute> |
| 202 |
</attributes> |
| 203 |
</child> |
| 204 |
</object> |
| 205 |
</child> |
| 206 |
</object> |
| 207 |
</property> |
| 208 |
</object> |
| 209 |
</child> |
| 210 |
<child> |
| 211 |
<object class="GtkLabel" id="statusbar1"> |
| 212 |
<property name="xalign">0</property> |
| 213 |
<property name="margin-start">2</property> |
| 214 |
<property name="margin-end">2</property> |
| 215 |
<property name="margin-top">2</property> |
| 216 |
<property name="margin-bottom">2</property> |
| 217 |
</object> |
| 218 |
</child> |
| 219 |
</object> |
| 220 |
</property> |
| 221 |
</object> |
| 222 |
</interface> |