using Gtk 4.0; using Adw 1; template $WaveletPlayQueue: Adw.NavigationPage { title: _("Play queue"); Adw.ToolbarView { [top] Adw.HeaderBar {} ScrolledWindow { ListView list_view { single-click-activate: true; show-separators: true; activate => $on_song_activate (); factory: BuilderListItemFactory { template ListItem { child: Label { styles [ "bold" ] halign: start; label: bind template.item as <$WaveletSong>.title; }; } }; } } } }