Files
federated-calendar/src/gui/gcal-calendar-list.blp
T
Jamie Gravendeel a509de8b1e gui: Port to Blueprint
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>
2025-06-08 14:31:01 +02:00

27 lines
557 B
Plaintext

using Gtk 4.0;
using Adw 1;
template $GcalCalendarList: Adw.Bin {
child: ScrolledWindow {
hscrollbar-policy: never;
propagate-natural-height: true;
propagate-natural-width: true;
child: Adw.Clamp {
maximum-size: 800;
tightening-threshold: 800;
child: ListBox calendar_listbox {
hexpand: true;
selection-mode: none;
row-activated => $on_listbox_row_activated_cb(template) not-swapped;
styles [
"navigation-sidebar",
"calendar-list",
]
};
};
};
}