mirror of
				https://github.com/johrpan/musicus.git
				synced 2025-10-26 19:57:25 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			29 lines
		
	
	
	
		
			495 B
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			29 lines
		
	
	
	
		
			495 B
		
	
	
	
		
			Text
		
	
	
	
	
	
| using Gtk 4.0;
 | |
| using Adw 1;
 | |
| 
 | |
| template $MusicusTranslationEditor: Adw.Bin {
 | |
|   Gtk.ListBox list_box {
 | |
|     selection-mode: none;
 | |
| 
 | |
|     styles [
 | |
|       "boxed-list"
 | |
|     ]
 | |
| 
 | |
|     Adw.EntryRow entry_row {
 | |
|       title: _("Name");
 | |
|     }
 | |
| 
 | |
|     Adw.ActionRow {
 | |
|       title: _("Add translation");
 | |
|       activatable: true;
 | |
|       activated => $add_translation() swapped;
 | |
| 
 | |
|       [prefix]
 | |
|       Gtk.Box select_person_box {
 | |
|         Gtk.Image {
 | |
|           icon-name: "list-add-symbolic";
 | |
|         }
 | |
|       }
 | |
|     }
 | |
|   }
 | |
| }
 |