mirror of
https://github.com/johrpan/musicus.git
synced 2025-10-26 11:47:25 +01:00
35 lines
701 B
Text
35 lines
701 B
Text
using Gtk 4.0;
|
|
using Adw 1;
|
|
|
|
template $MusicusTracksEditorPartsPopover: Gtk.Popover {
|
|
styles [
|
|
"selector"
|
|
]
|
|
|
|
Adw.ToolbarView {
|
|
[top]
|
|
Gtk.SearchEntry search_entry {
|
|
placeholder-text: _("Search parts…");
|
|
margin-start: 8;
|
|
margin-end: 8;
|
|
margin-top: 8;
|
|
margin-bottom: 6;
|
|
search-changed => $search_changed() swapped;
|
|
activate => $activate() swapped;
|
|
stop-search => $stop_search() swapped;
|
|
}
|
|
|
|
Gtk.ScrolledWindow scrolled_window {
|
|
height-request: 200;
|
|
|
|
Gtk.ListBox list_box {
|
|
styles [
|
|
"selector-list"
|
|
]
|
|
|
|
selection-mode: none;
|
|
activate-on-single-click: true;
|
|
}
|
|
}
|
|
}
|
|
}
|