| 1 |
<?xml version="1.0" encoding="UTF-8"?> |
| 2 |
<interface> |
| 3 |
<object class="GtkMessageDialog" id="warning"> |
| 4 |
<property name="transient-for">window</property> |
| 5 |
<property name="modal">1</property> |
| 6 |
<property name="hide-on-close">1</property> |
| 7 |
<property name="buttons">ok-cancel</property> |
| 8 |
<property name="message-type">warning</property> |
| 9 |
<property name="text" translatable="yes">Warning</property> |
| 10 |
<property name="secondary-text" translatable="yes">This demo involves rapidly flashing changes and may be hazardous to photosensitive viewers.</property> |
| 11 |
</object> |
| 12 |
<object class="GtkWindow" id="window"> |
| 13 |
<property name="resizable">0</property> |
| 14 |
<property name="title">Themes</property> |
| 15 |
<property name="titlebar"> |
| 16 |
<object class="GtkHeaderBar" id="header"> |
| 17 |
<child type="start"> |
| 18 |
<object class="GtkToggleButton" id="toggle"> |
| 19 |
<property name="label">Cycle</property> |
| 20 |
</object> |
| 21 |
</child> |
| 22 |
<child type="end"> |
| 23 |
<object class="GtkLabel" id="fps"> |
| 24 |
<property name="attributes">0 -1 font-features "tnum=1"</property> |
| 25 |
</object> |
| 26 |
</child> |
| 27 |
</object> |
| 28 |
</property> |
| 29 |
<property name="child"> |
| 30 |
<object class="GtkGrid" id="grid"> |
| 31 |
<property name="margin-start">10</property> |
| 32 |
<property name="margin-end">10</property> |
| 33 |
<property name="margin-top">10</property> |
| 34 |
<property name="margin-bottom">10</property> |
| 35 |
<property name="row-spacing">10</property> |
| 36 |
<property name="orientation">vertical</property> |
| 37 |
<child> |
| 38 |
<object class="GtkBox"> |
| 39 |
<property name="valign">center</property> |
| 40 |
<property name="halign">center</property> |
| 41 |
<style> |
| 42 |
<class name="linked"/> |
| 43 |
</style> |
| 44 |
<child> |
| 45 |
<object class="GtkButton"> |
| 46 |
<property name="label" translatable="yes">Hi, I am a button</property> |
| 47 |
<property name="receives-default">1</property> |
| 48 |
</object> |
| 49 |
</child> |
| 50 |
<child> |
| 51 |
<object class="GtkButton"> |
| 52 |
<property name="label" translatable="yes">And I'm another button</property> |
| 53 |
<property name="receives-default">1</property> |
| 54 |
</object> |
| 55 |
</child> |
| 56 |
<child> |
| 57 |
<object class="GtkButton"> |
| 58 |
<property name="label" translatable="yes">This is a button party!</property> |
| 59 |
<property name="receives-default">1</property> |
| 60 |
</object> |
| 61 |
</child> |
| 62 |
</object> |
| 63 |
</child> |
| 64 |
<child> |
| 65 |
<object class="GtkBox"> |
| 66 |
<property name="spacing">10</property> |
| 67 |
<child> |
| 68 |
<object class="GtkButton"> |
| 69 |
<property name="label">Plain</property> |
| 70 |
<property name="halign">end</property> |
| 71 |
<property name="hexpand">1</property> |
| 72 |
<property name="vexpand">1</property> |
| 73 |
</object> |
| 74 |
</child> |
| 75 |
<child> |
| 76 |
<object class="GtkButton"> |
| 77 |
<property name="label">Destructive</property> |
| 78 |
<style> |
| 79 |
<class name="destructive-action"/> |
| 80 |
</style> |
| 81 |
</object> |
| 82 |
</child> |
| 83 |
<child> |
| 84 |
<object class="GtkButton"> |
| 85 |
<property name="label">Suggested</property> |
| 86 |
<style> |
| 87 |
<class name="suggested-action"/> |
| 88 |
</style> |
| 89 |
</object> |
| 90 |
</child> |
| 91 |
</object> |
| 92 |
</child> |
| 93 |
</object> |
| 94 |
</property> |
| 95 |
</object> |
| 96 |
</interface> |