This was mostly done with `blueprint-compiler port`. Since Blueprint doesn't know about custom templates, I had to manually change some values from strings to literals. Part-of: <https://gitlab.gnome.org/GNOME/gnome-calendar/-/merge_requests/567>
22 lines
361 B
Plaintext
22 lines
361 B
Plaintext
using Gtk 4.0;
|
|
using Adw 1;
|
|
|
|
template $GcalSummarySection: Adw.Bin {
|
|
ListBox {
|
|
selection-mode: none;
|
|
|
|
styles [
|
|
"boxed-list",
|
|
]
|
|
|
|
Adw.EntryRow summary_entry {
|
|
title: _("Title");
|
|
changed => $on_summary_entry_text_changed_cb(template) not-swapped;
|
|
}
|
|
|
|
Adw.EntryRow location_entry {
|
|
title: _("Location");
|
|
}
|
|
}
|
|
}
|