using Gtk 4.0; template $UiPlayQueue: Box { name: "play-queue"; ScrolledWindow { hexpand: true; vscrollbar-policy: always; hscrollbar-policy: never; ListView view { show-separators: true; single-click-activate: true; styles [ "rich-list" ] activate => $on_row_activated (); model: NoSelection { model: bind template.playbin as <$Playbin>.play_queue; }; factory: SignalListItemFactory { setup => $on_song_list_setup (); bind => $on_song_list_bind (); unbind => $on_song_list_unbind (); }; } } }