| 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="AdwDemoPageBottomSheets" parent="AdwBin"> |
| 6 |
<property name="child"> |
| 7 |
<object class="AdwBottomSheet" id="sheet"> |
| 8 |
<property name="content"> |
| 9 |
<object class="AdwToolbarView"> |
| 10 |
<child type="top"> |
| 11 |
<object class="AdwHeaderBar"> |
| 12 |
<property name="show-title">False</property> |
| 13 |
</object> |
| 14 |
</child> |
| 15 |
<property name="content"> |
| 16 |
<object class="AdwStatusPage"> |
| 17 |
<property name="icon-name">widget-bottom-sheet-symbolic</property> |
| 18 |
<property name="title" translatable="yes">Bottom Sheet</property> |
| 19 |
<property name="description" translatable="yes">A bottom sheet with an optional bottom bar</property> |
| 20 |
<property name="margin-bottom" bind-source="sheet" bind-property="bottom-bar-height"/> |
| 21 |
</object> |
| 22 |
</property> |
| 23 |
</object> |
| 24 |
</property> |
| 25 |
<property name="sheet"> |
| 26 |
<object class="AdwToolbarView"> |
| 27 |
<child type="top"> |
| 28 |
<object class="AdwHeaderBar"/> |
| 29 |
</child> |
| 30 |
<property name="content"> |
| 31 |
<object class="AdwStatusPage"> |
| 32 |
<property name="icon-name">go-down-symbolic</property> |
| 33 |
</object> |
| 34 |
</property> |
| 35 |
</object> |
| 36 |
</property> |
| 37 |
<property name="bottom-bar"> |
| 38 |
<object class="GtkCenterBox"> |
| 39 |
<style> |
| 40 |
<class name="toolbar"/> |
| 41 |
</style> |
| 42 |
<property name="height-request">46</property> |
| 43 |
<property name="center-widget"> |
| 44 |
<object class="GtkLabel"> |
| 45 |
<property name="label">Pull Up Here</property> |
| 46 |
<property name="ellipsize">end</property> |
| 47 |
</object> |
| 48 |
</property> |
| 49 |
</object> |
| 50 |
</property> |
| 51 |
</object> |
| 52 |
</property> |
| 53 |
</template> |
| 54 |
</interface> |