fractal/data/resources/ui/content.ui

74 lines
3.5 KiB
Text
Raw Normal View History

2021-02-12 23:16:16 +00:00
<?xml version="1.0" encoding="UTF-8"?>
<interface>
2021-04-13 18:21:45 +00:00
<template class="Content" parent="AdwBin">
2021-02-12 23:16:16 +00:00
<property name="vexpand">True</property>
<property name="hexpand">True</property>
<property name="child">
2021-05-27 13:29:49 +00:00
<object class="GtkOverlay">
<child type="overlay">
<object class="InAppNotification">
<property name="error-list" bind-source="Content" bind-property="error-list" bind-flags="sync-create"/>
<property name="visible" bind-source="Content" bind-property="compact" bind-flags="sync-create | invert-boolean"/>
</object>
</child>
<child>
2021-05-27 13:29:49 +00:00
<object class="GtkStack" id="stack">
<property name="transition-type">crossfade</property>
<child>
<object class="GtkBox" id="empty_page">
<property name="orientation">vertical</property>
<child>
<object class="AdwHeaderBar" id="headerbar">
<property name="show-start-title-buttons" bind-source="Content" bind-property="compact" bind-flags="sync-create"/>
<child type="start">
<object class="GtkRevealer">
<property name="transition-type">crossfade</property>
<property name="reveal-child" bind-source="Content" bind-property="compact" bind-flags="sync-create"/>
<property name="child">
<object class="GtkButton" id="back">
<property name="icon-name">go-previous-symbolic</property>
<property name="action-name">content.go-back</property>
</object>
</property>
</object>
</child>
</object>
</child>
<child>
<object class="AdwStatusPage">
<property name="visible">True</property>
<property name="hexpand">True</property>
<property name="vexpand">True</property>
<property name="icon-name">empty-page</property>
<property name="title" translatable="yes">No Room Selected</property>
<property name="description" translatable="yes">Join a room to start chatting.</property>
</object>
</child>
</object>
</child>
2021-05-27 13:29:49 +00:00
<child>
<object class="ContentRoomHistory" id="room_history">
<property name="compact" bind-source="Content" bind-property="compact" bind-flags="sync-create"/>
<property name="room" bind-source="Content" bind-property="room" bind-flags="sync-create"/>
</object>
</child>
<child>
<object class="ContentInvite" id="invite">
<property name="compact" bind-source="Content" bind-property="compact" bind-flags="sync-create"/>
<property name="room" bind-source="Content" bind-property="room" bind-flags="sync-create"/>
</object>
</child>
2021-06-10 14:53:09 +00:00
<child>
<object class="ContentExplore" id="explore">
<property name="compact" bind-source="Content" bind-property="compact" bind-flags="sync-create"/>
<property name="session" bind-source="Content" bind-property="session" bind-flags="sync-create"/>
</object>
</child>
2021-02-12 23:16:16 +00:00
</object>
</child>
</object>
</property>
2021-02-12 23:16:16 +00:00
</template>
</interface>
2021-04-27 11:03:58 +00:00