audrey/src/ui/play_queue.blp
2024-10-20 15:30:22 +02:00

24 lines
493 B
Text

using Gtk 4.0;
template $UiPlayQueue: Box {
ScrolledWindow {
hexpand: true;
ListView view {
show-separators: true;
single-click-activate: true;
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 ();
};
}
}
}