mirror of
				https://github.com/johrpan/musicus.git
				synced 2025-10-26 19:57:25 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			23 lines
		
	
	
	
		
			349 B
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			23 lines
		
	
	
	
		
			349 B
		
	
	
	
		
			Text
		
	
	
	
	
	
| 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",
 | |
|     ]
 | |
|   }
 | |
| }
 |