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"/>
|
2020-09-10 17:10:24 +00:00
|
|
|
<requires lib="libhandy" version="1.0"/>
|
2022-11-13 20:57:43 +00:00
|
|
|
<template class="ToothDialogsCompose" parent="AdwWindow">
|
2021-07-23 11:41:03 +00:00
|
|
|
<property name="modal">1</property>
|
2020-07-30 19:02:03 +00:00
|
|
|
<property name="default_width">500</property>
|
2022-11-13 19:06:39 +00:00
|
|
|
<property name="default_height">400</property>
|
2021-07-23 11:41:03 +00:00
|
|
|
|
2020-10-15 15:55:13 +00:00
|
|
|
<child>
|
|
|
|
<object class="GtkBox">
|
|
|
|
<property name="orientation">vertical</property>
|
2021-07-23 11:41:03 +00:00
|
|
|
|
2020-09-10 17:44:23 +00:00
|
|
|
<child>
|
2021-07-23 11:41:03 +00:00
|
|
|
<object class="AdwHeaderBar" id="header">
|
|
|
|
<property name="hexpand">1</property>
|
|
|
|
<property name="show_end_title_buttons">0</property>
|
|
|
|
<property name="show_start_title_buttons">0</property>
|
|
|
|
<property name="centering-policy">strict</property>
|
|
|
|
|
2020-10-15 15:55:13 +00:00
|
|
|
<child type="title">
|
2021-07-23 11:41:03 +00:00
|
|
|
<object class="AdwViewSwitcherTitle" id="title_switcher">
|
|
|
|
<!-- <property name="title" translatable="yes">Title</property> -->
|
|
|
|
<!-- <property name="subtitle" translatable="yes">Subtitle</property> -->
|
2020-10-15 15:55:13 +00:00
|
|
|
</object>
|
|
|
|
</child>
|
2021-07-23 11:41:03 +00:00
|
|
|
<child type="start">
|
|
|
|
<object class="GtkButton" id="close_button">
|
2021-08-31 07:54:11 +00:00
|
|
|
<property name="label" translatable="yes">Cancel</property>
|
2021-07-23 11:41:03 +00:00
|
|
|
<signal name="clicked" handler="on_close" swapped="no"/>
|
2020-09-10 17:44:23 +00:00
|
|
|
</object>
|
2020-10-15 15:55:13 +00:00
|
|
|
</child>
|
2021-07-23 11:41:03 +00:00
|
|
|
<child type="end">
|
|
|
|
<object class="GtkButton" id="commit_button">
|
|
|
|
<property name="label" translatable="yes">Publish</property>
|
|
|
|
<signal name="clicked" handler="on_commit" swapped="no"/>
|
2020-10-15 15:55:13 +00:00
|
|
|
</object>
|
2020-09-10 17:44:23 +00:00
|
|
|
</child>
|
2021-07-23 11:41:03 +00:00
|
|
|
|
2020-09-10 17:44:23 +00:00
|
|
|
</object>
|
|
|
|
</child>
|
2021-07-23 11:41:03 +00:00
|
|
|
|
2020-07-30 19:02:03 +00:00
|
|
|
<child>
|
2021-07-23 11:41:03 +00:00
|
|
|
<object class="AdwViewStack" id="stack">
|
|
|
|
<property name="hexpand">1</property>
|
|
|
|
<property name="vexpand">1</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
|
|
|
</object>
|
|
|
|
</child>
|
2021-07-23 11:41:03 +00:00
|
|
|
|
2020-05-29 12:19:35 +00:00
|
|
|
</template>
|
|
|
|
</interface>
|