| 1 |
<?xml version="1.0" encoding="UTF-8"?> |
| 2 |
<interface> |
| 3 |
<requires lib="gtk" version="4.0"/> |
| 4 |
<requires lib="libadwaita" version="1.0"/> |
| 5 |
<template class="AdwDemoPageSplitViews" parent="AdwBin"> |
| 6 |
<property name="child"> |
| 7 |
<object class="AdwToolbarView"> |
| 8 |
<child type="top"> |
| 9 |
<object class="AdwHeaderBar"> |
| 10 |
<property name="show-title">False</property> |
| 11 |
</object> |
| 12 |
</child> |
| 13 |
<property name="content"> |
| 14 |
<object class="AdwStatusPage"> |
| 15 |
<property name="icon-name">widget-split-views-symbolic</property> |
| 16 |
<property name="title" translatable="yes">Split Views</property> |
| 17 |
<property name="description" translatable="yes">Widgets that display sidebar and content</property> |
| 18 |
<property name="child"> |
| 19 |
<object class="GtkBox"> |
| 20 |
<property name="orientation">vertical</property> |
| 21 |
<property name="spacing">18</property> |
| 22 |
<property name="halign">center</property> |
| 23 |
<child> |
| 24 |
<object class="GtkButton"> |
| 25 |
<property name="label" translatable="yes">Navigation Split View</property> |
| 26 |
<property name="action-name">demo.run-navigation</property> |
| 27 |
<property name="can-shrink">True</property> |
| 28 |
<style> |
| 29 |
<class name="pill"/> |
| 30 |
</style> |
| 31 |
</object> |
| 32 |
</child> |
| 33 |
<child> |
| 34 |
<object class="GtkButton"> |
| 35 |
<property name="label" translatable="yes">Overlay Split View</property> |
| 36 |
<property name="action-name">demo.run-overlay</property> |
| 37 |
<property name="can-shrink">True</property> |
| 38 |
<style> |
| 39 |
<class name="pill"/> |
| 40 |
</style> |
| 41 |
</object> |
| 42 |
</child> |
| 43 |
</object> |
| 44 |
</property> |
| 45 |
</object> |
| 46 |
</property> |
| 47 |
</object> |
| 48 |
</property> |
| 49 |
</template> |
| 50 |
</interface> |