2020-05-29 12:19:35 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<interface>
|
2021-07-23 11:41:03 +00:00
|
|
|
<requires lib="gtk" version="4.0"/>
|
|
|
|
<requires lib="libadwaita" version="1.0"/>
|
2020-05-29 12:19:35 +00:00
|
|
|
<template class="TootleViewsBase" parent="GtkBox">
|
|
|
|
<property name="orientation">vertical</property>
|
2021-08-31 09:01:09 +00:00
|
|
|
<property name="width_request">360</property>
|
2021-07-23 11:41:03 +00:00
|
|
|
|
2020-10-15 15:55:13 +00:00
|
|
|
<child>
|
2021-07-23 11:41:03 +00:00
|
|
|
<object class="AdwHeaderBar" id="header">
|
2020-10-15 15:55:13 +00:00
|
|
|
<property name="visible">True</property>
|
2021-07-23 11:41:03 +00:00
|
|
|
<property name="hexpand">True</property>
|
2020-10-15 15:55:13 +00:00
|
|
|
<child>
|
|
|
|
<object class="GtkButton" id="back_button">
|
2021-07-23 11:41:03 +00:00
|
|
|
<property name="icon_name">go-previous-symbolic</property>
|
2020-10-15 15:55:13 +00:00
|
|
|
<signal name="clicked" handler="on_close" swapped="no"/>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
2021-07-23 11:41:03 +00:00
|
|
|
|
2020-05-29 12:19:35 +00:00
|
|
|
<child>
|
|
|
|
<object class="GtkScrolledWindow" id="scrolled">
|
2021-07-23 11:41:03 +00:00
|
|
|
<property name="vexpand">1</property>
|
2020-05-29 12:19:35 +00:00
|
|
|
<property name="hscrollbar_policy">never</property>
|
2021-07-23 11:41:03 +00:00
|
|
|
<property name="child">
|
2020-05-29 12:19:35 +00:00
|
|
|
<object class="GtkViewport">
|
2021-07-23 11:41:03 +00:00
|
|
|
<property name="child">
|
2020-05-29 12:19:35 +00:00
|
|
|
<object class="GtkBox" id="view">
|
|
|
|
<property name="orientation">vertical</property>
|
|
|
|
<child>
|
2021-07-23 11:41:03 +00:00
|
|
|
<object class="AdwClamp" id="clamp">
|
|
|
|
<property name="vexpand">1</property>
|
2020-05-29 12:19:35 +00:00
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">False</property>
|
2020-10-24 10:54:37 +00:00
|
|
|
<property name="maximum_size">650</property>
|
|
|
|
<property name="tightening_threshold">650</property>
|
2020-05-29 12:19:35 +00:00
|
|
|
<child>
|
2020-06-02 09:35:29 +00:00
|
|
|
<object class="GtkBox" id="column_view">
|
2020-05-29 12:19:35 +00:00
|
|
|
<property name="orientation">vertical</property>
|
|
|
|
<child>
|
2020-06-02 09:35:29 +00:00
|
|
|
<object class="GtkStack" id="states">
|
2021-07-23 11:41:03 +00:00
|
|
|
<property name="vexpand">1</property>
|
|
|
|
<property name="vhomogeneous">0</property>
|
2020-05-29 12:19:35 +00:00
|
|
|
<property name="transition_type">crossfade</property>
|
2021-07-23 11:41:03 +00:00
|
|
|
<property name="interpolate_size">1</property>
|
2020-05-29 12:19:35 +00:00
|
|
|
<child>
|
2021-07-23 11:41:03 +00:00
|
|
|
<object class="GtkStackPage">
|
|
|
|
<property name="name">status</property>
|
|
|
|
<property name="child">
|
|
|
|
<object class="GtkBox" id="status">
|
|
|
|
<property name="valign">center</property>
|
|
|
|
<property name="margin_top">16</property>
|
|
|
|
<property name="margin_bottom">16</property>
|
|
|
|
<property name="orientation">vertical</property>
|
|
|
|
<property name="spacing">16</property>
|
2020-06-02 09:35:29 +00:00
|
|
|
<child>
|
2021-07-23 11:41:03 +00:00
|
|
|
<object class="GtkImage">
|
|
|
|
<property name="width_request">128</property>
|
|
|
|
<property name="height_request">128</property>
|
|
|
|
<property name="pixel_size">128</property>
|
|
|
|
<property name="icon_name">com.github.bleakgrey.tootle-symbolic</property>
|
|
|
|
<style>
|
|
|
|
<class name="dim-label"/>
|
|
|
|
</style>
|
2020-06-02 09:35:29 +00:00
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<child>
|
2021-07-23 11:41:03 +00:00
|
|
|
<object class="GtkStack" id="status_stack">
|
|
|
|
<property name="transition_type">crossfade</property>
|
|
|
|
<child>
|
|
|
|
<object class="GtkStackPage">
|
|
|
|
<property name="name">message</property>
|
|
|
|
<property name="child">
|
|
|
|
<object class="GtkLabel" id="status_message_label">
|
|
|
|
<property name="use_markup">1</property>
|
|
|
|
</object>
|
|
|
|
</property>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkStackPage">
|
|
|
|
<property name="name">spinner</property>
|
|
|
|
<property name="child">
|
|
|
|
<object class="GtkSpinner" id="status_spinner">
|
|
|
|
<property name="height_request">32</property>
|
|
|
|
<property name="spinning">True</property>
|
|
|
|
</object>
|
|
|
|
</property>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<style>
|
|
|
|
<class name="dim-label"/>
|
|
|
|
</style>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkButton" id="status_button">
|
|
|
|
<property name="visible">0</property>
|
|
|
|
<property name="halign">center</property>
|
|
|
|
<style>
|
|
|
|
<class name="flat"/>
|
|
|
|
</style>
|
2020-06-02 09:35:29 +00:00
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
2021-07-23 11:41:03 +00:00
|
|
|
</property>
|
2020-05-29 12:19:35 +00:00
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<child>
|
2021-07-23 11:41:03 +00:00
|
|
|
<object class="GtkStackPage">
|
|
|
|
<property name="name">content</property>
|
|
|
|
<property name="child">
|
|
|
|
<object class="GtkBox" id="content_box">
|
|
|
|
<property name="orientation">vertical</property>
|
2020-06-02 09:35:29 +00:00
|
|
|
</object>
|
2021-07-23 11:41:03 +00:00
|
|
|
</property>
|
2020-05-29 12:19:35 +00:00
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
2020-06-02 09:35:29 +00:00
|
|
|
<style>
|
2020-10-18 20:35:59 +00:00
|
|
|
<class name="ttl-view"/>
|
2020-06-02 09:35:29 +00:00
|
|
|
</style>
|
2020-05-29 12:19:35 +00:00
|
|
|
</object>
|
2021-07-23 11:41:03 +00:00
|
|
|
</property>
|
2020-05-29 12:19:35 +00:00
|
|
|
</object>
|
2021-07-23 11:41:03 +00:00
|
|
|
</property>
|
2020-05-29 12:19:35 +00:00
|
|
|
</object>
|
|
|
|
</child>
|
2021-07-23 11:41:03 +00:00
|
|
|
|
2020-05-29 12:19:35 +00:00
|
|
|
</template>
|
|
|
|
</interface>
|