init notify

This commit is contained in:
ranfdev
2023-10-08 15:57:09 +02:00
parent c3de2224a8
commit 52ea57057e
40 changed files with 13845 additions and 552 deletions

View File

@ -0,0 +1,50 @@
using Gtk 4.0;
using Adw 1;
template $SubscriptionInfoDialog : Adw.Window {
modal: true;
title: "Subscription Info";
width-request: 240;
Adw.ToolbarView {
[top]
Adw.HeaderBar {}
Adw.Clamp {
Gtk.Box {
orientation: vertical;
spacing: 8;
margin-top: 8;
margin-bottom: 8;
margin-start: 8;
margin-end: 8;
Gtk.ListBox {
Adw.EntryRow display_name_entry {
title: "Display Name";
}
Adw.ActionRow {
title: "Topic";
subtitle-selectable: true;
subtitle: bind (template.subscription as <$TopicSubscription>).topic as <string>;
styles [
"property"
]
}
Adw.ActionRow {
title: "Server";
subtitle: bind (template.subscription as <$TopicSubscription>).server as <string>;
subtitle-selectable: true;
styles [
"property"
]
}
Adw.SwitchRow muted_switch_row {
title: "Muted";
}
styles [
"boxed-list"
]
}
}
}
}
}