editor: Implement drag and drop where it makes sense

This commit is contained in:
Elias Projahn 2025-03-01 15:52:59 +01:00
parent a13e406e99
commit e47b7c2006
31 changed files with 888 additions and 87 deletions

View file

@ -0,0 +1,23 @@
using Gtk 4.0;
using Adw 1;
template $MusicusWorkEditorInstrumentRow: Adw.ActionRow {
[prefix]
Gtk.Image {
icon-name: "list-drag-handle-symbolic";
styles [
"drag-handle",
]
}
Gtk.Button {
icon-name: "user-trash-symbolic";
valign: center;
clicked => $remove() swapped;
styles [
"flat",
]
}
}