| 1 |
<?xml version="1.0" encoding="UTF-8"?> |
| 2 |
<interface> |
| 3 |
<object class="GtkWindow" id="window"> |
| 4 |
<property name="default-width">1024</property> |
| 5 |
<property name="default-height">768</property> |
| 6 |
<property name="titlebar"> |
| 7 |
<object class="GtkHeaderBar"> |
| 8 |
<property name="title-widget"> |
| 9 |
<object class="GtkBox"> |
| 10 |
<property name="halign">center</property> |
| 11 |
<property name="valign">center</property> |
| 12 |
<style> |
| 13 |
<class name="linked"/> |
| 14 |
</style> |
| 15 |
<child> |
| 16 |
<object class="GtkToggleButton" id="text_radio"> |
| 17 |
<property name="label">Text</property> |
| 18 |
<property name="active">1</property> |
| 19 |
</object> |
| 20 |
</child> |
| 21 |
<child> |
| 22 |
<object class="GtkToggleButton" id="grid_radio"> |
| 23 |
<property name="label">Grid</property> |
| 24 |
<property name="group">text_radio</property> |
| 25 |
</object> |
| 26 |
</child> |
| 27 |
</object> |
| 28 |
</property> |
| 29 |
</object> |
| 30 |
</property> |
| 31 |
<property name="child"> |
| 32 |
<object class="GtkBox"> |
| 33 |
<property name="orientation">vertical</property> |
| 34 |
<child> |
| 35 |
<object class="GtkGrid"> |
| 36 |
<property name="halign">center</property> |
| 37 |
<property name="margin-top">10</property> |
| 38 |
<property name="margin-bottom">10</property> |
| 39 |
<property name="row-spacing">10</property> |
| 40 |
<property name="column-spacing">10</property> |
| 41 |
<child> |
| 42 |
<object class="GtkLabel" id="text_label"> |
| 43 |
<property name="margin-start">10</property> |
| 44 |
<property name="label">Text</property> |
| 45 |
<property name="xalign">1</property> |
| 46 |
<style> |
| 47 |
<class name="dim-label"/> |
| 48 |
</style> |
| 49 |
<layout> |
| 50 |
<property name="column">1</property> |
| 51 |
</layout> |
| 52 |
</object> |
| 53 |
</child> |
| 54 |
<child> |
| 55 |
<object class="GtkEntry" id="entry"> |
| 56 |
<property name="text">Fonts render</property> |
| 57 |
<layout> |
| 58 |
<property name="column">2</property> |
| 59 |
</layout> |
| 60 |
<accessibility> |
| 61 |
<relation name="labelled-by">text_label</relation> |
| 62 |
</accessibility> |
| 63 |
</object> |
| 64 |
</child> |
| 65 |
<child> |
| 66 |
<object class="GtkLabel" id="font_label"> |
| 67 |
<property name="margin-start">10</property> |
| 68 |
<property name="label">Font</property> |
| 69 |
<property name="xalign">1</property> |
| 70 |
<style> |
| 71 |
<class name="dim-label"/> |
| 72 |
</style> |
| 73 |
<layout> |
| 74 |
<property name="column">1</property> |
| 75 |
<property name="row">1</property> |
| 76 |
</layout> |
| 77 |
</object> |
| 78 |
</child> |
| 79 |
<child> |
| 80 |
<object class="GtkFontDialogButton" id="font_button"> |
| 81 |
<accessibility> |
| 82 |
<relation name="labelled-by">font_label</relation> |
| 83 |
</accessibility> |
| 84 |
<property name="dialog"> |
| 85 |
<object class="GtkFontDialog"> |
| 86 |
</object> |
| 87 |
</property> |
| 88 |
<layout> |
| 89 |
<property name="column">2</property> |
| 90 |
<property name="row">1</property> |
| 91 |
</layout> |
| 92 |
</object> |
| 93 |
</child> |
| 94 |
<child> |
| 95 |
<object class="GtkCheckButton" id="show_pixels"> |
| 96 |
<property name="label">Show _Pixels</property> |
| 97 |
<property name="use-underline">1</property> |
| 98 |
<property name="active">1</property> |
| 99 |
<layout> |
| 100 |
<property name="column">3</property> |
| 101 |
<property name="row">0</property> |
| 102 |
</layout> |
| 103 |
</object> |
| 104 |
</child> |
| 105 |
<child> |
| 106 |
<object class="GtkCheckButton" id="show_outlines"> |
| 107 |
<property name="label">Show _Outline</property> |
| 108 |
<property name="use-underline">1</property> |
| 109 |
<layout> |
| 110 |
<property name="column">3</property> |
| 111 |
<property name="row">1</property> |
| 112 |
</layout> |
| 113 |
</object> |
| 114 |
</child> |
| 115 |
<child> |
| 116 |
<object class="GtkBox"> |
| 117 |
<property name="spacing">6</property> |
| 118 |
<child> |
| 119 |
<object class="GtkLabel"> |
| 120 |
<property name="label">_Hinting</property> |
| 121 |
<property name="use-underline">1</property> |
| 122 |
<property name="mnemonic-widget">hinting</property> |
| 123 |
<style> |
| 124 |
<class name="dim-label"/> |
| 125 |
</style> |
| 126 |
</object> |
| 127 |
</child> |
| 128 |
<child> |
| 129 |
<object class="GtkDropDown" id="hinting"> |
| 130 |
<property name="valign">center</property> |
| 131 |
<property name="model"> |
| 132 |
<object class="GtkStringList"> |
| 133 |
<!-- translators: these items must be separated by newlines --> |
| 134 |
<property name="strings" translatable="yes">None |
| 135 |
Slight |
| 136 |
Medium |
| 137 |
Full</property> |
| 138 |
</object> |
| 139 |
</property> |
| 140 |
</object> |
| 141 |
</child> |
| 142 |
<layout> |
| 143 |
<property name="column">4</property> |
| 144 |
<property name="column-span">2</property> |
| 145 |
</layout> |
| 146 |
</object> |
| 147 |
</child> |
| 148 |
<child> |
| 149 |
<object class="GtkCheckButton" id="antialias"> |
| 150 |
<property name="label">_Antialias</property> |
| 151 |
<property name="use-underline">1</property> |
| 152 |
<property name="active">1</property> |
| 153 |
<layout> |
| 154 |
<property name="column">4</property> |
| 155 |
<property name="row">1</property> |
| 156 |
</layout> |
| 157 |
</object> |
| 158 |
</child> |
| 159 |
<child> |
| 160 |
<object class="GtkCheckButton" id="hint_metrics"> |
| 161 |
<property name="label">Hint _Metrics</property> |
| 162 |
<property name="use-underline">1</property> |
| 163 |
<layout> |
| 164 |
<property name="column">5</property> |
| 165 |
<property name="row">1</property> |
| 166 |
</layout> |
| 167 |
</object> |
| 168 |
</child> |
| 169 |
<child> |
| 170 |
<object class="GtkCheckButton" id="show_extents"> |
| 171 |
<property name="label">Show _Extents</property> |
| 172 |
<property name="use-underline">1</property> |
| 173 |
<layout> |
| 174 |
<property name="column">6</property> |
| 175 |
<property name="row">0</property> |
| 176 |
</layout> |
| 177 |
</object> |
| 178 |
</child> |
| 179 |
<child> |
| 180 |
<object class="GtkCheckButton" id="show_grid"> |
| 181 |
<property name="label">Show _Grid</property> |
| 182 |
<property name="use-underline">1</property> |
| 183 |
<layout> |
| 184 |
<property name="column">6</property> |
| 185 |
<property name="row">1</property> |
| 186 |
</layout> |
| 187 |
</object> |
| 188 |
</child> |
| 189 |
<child> |
| 190 |
<object class="GtkButton" id="up_button"> |
| 191 |
<property name="icon-name">list-add-symbolic</property> |
| 192 |
<property name="halign">center</property> |
| 193 |
<property name="valign">center</property> |
| 194 |
<accessibility> |
| 195 |
<property name="label">Zoom in</property> |
| 196 |
</accessibility> |
| 197 |
<style> |
| 198 |
<class name="circular"/> |
| 199 |
</style> |
| 200 |
<child> |
| 201 |
<object class="GtkShortcutController"> |
| 202 |
<property name="scope">managed</property> |
| 203 |
<child> |
| 204 |
<object class="GtkShortcut"> |
| 205 |
<property name="trigger"><Control>plus</property> |
| 206 |
<property name="action">activate</property> |
| 207 |
</object> |
| 208 |
</child> |
| 209 |
</object> |
| 210 |
</child> |
| 211 |
<layout> |
| 212 |
<property name="column">7</property> |
| 213 |
<property name="row">0</property> |
| 214 |
</layout> |
| 215 |
</object> |
| 216 |
</child> |
| 217 |
<child> |
| 218 |
<object class="GtkButton" id="down_button"> |
| 219 |
<property name="icon-name">list-remove-symbolic</property> |
| 220 |
<property name="halign">center</property> |
| 221 |
<property name="valign">center</property> |
| 222 |
<accessibility> |
| 223 |
<property name="label">Zoom out</property> |
| 224 |
</accessibility> |
| 225 |
<style> |
| 226 |
<class name="circular"/> |
| 227 |
</style> |
| 228 |
<child> |
| 229 |
<object class="GtkShortcutController"> |
| 230 |
<property name="scope">managed</property> |
| 231 |
<child> |
| 232 |
<object class="GtkShortcut"> |
| 233 |
<property name="trigger"><Control>minus</property> |
| 234 |
<property name="action">activate</property> |
| 235 |
</object> |
| 236 |
</child> |
| 237 |
</object> |
| 238 |
</child> |
| 239 |
<layout> |
| 240 |
<property name="column">7</property> |
| 241 |
<property name="row">1</property> |
| 242 |
</layout> |
| 243 |
</object> |
| 244 |
</child> |
| 245 |
<child> |
| 246 |
<object class="GtkLabel"> |
| 247 |
<property name="hexpand">1</property> |
| 248 |
<layout> |
| 249 |
<property name="column">8</property> |
| 250 |
</layout> |
| 251 |
</object> |
| 252 |
</child> |
| 253 |
</object> |
| 254 |
</child> |
| 255 |
<child> |
| 256 |
<object class="GtkSeparator"/> |
| 257 |
</child> |
| 258 |
<child> |
| 259 |
<object class="GtkScrolledWindow"> |
| 260 |
<property name="propagate-natural-height">1</property> |
| 261 |
<property name="hexpand">1</property> |
| 262 |
<property name="vexpand">1</property> |
| 263 |
<property name="child"> |
| 264 |
<object class="GtkPicture" id="image"> |
| 265 |
<accessibility> |
| 266 |
<property name="label">Font rendering example</property> |
| 267 |
</accessibility> |
| 268 |
<property name="halign">center</property> |
| 269 |
<property name="valign">center</property> |
| 270 |
<property name="can-shrink">0</property> |
| 271 |
</object> |
| 272 |
</property> |
| 273 |
</object> |
| 274 |
</child> |
| 275 |
</object> |
| 276 |
</property> |
| 277 |
</object> |
| 278 |
</interface> |