| 
									
										
										
										
											2023-06-18 14:33:53 +02:00
										 |  |  | using Gtk 4.0; | 
					
						
							|  |  |  | using Adw 1; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | template $MusicusWindow : Adw.ApplicationWindow { | 
					
						
							|  |  |  |   default-width: 600; | 
					
						
							|  |  |  |   default-height: 300; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |   Box { | 
					
						
							|  |  |  |     orientation: vertical; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     HeaderBar header_bar { | 
					
						
							|  |  |  |       [end] | 
					
						
							|  |  |  |       MenuButton { | 
					
						
							|  |  |  |         icon-name: "open-menu-symbolic"; | 
					
						
							|  |  |  |         menu-model: primary_menu; | 
					
						
							|  |  |  |       } | 
					
						
							|  |  |  |     } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     Label label { | 
					
						
							| 
									
										
										
										
											2023-06-28 15:00:03 +02:00
										 |  |  |       label: _("Hello, World!"); | 
					
						
							| 
									
										
										
										
											2023-06-18 14:33:53 +02:00
										 |  |  |       vexpand: true; | 
					
						
							|  |  |  |       styles ["title-1"] | 
					
						
							|  |  |  |     } | 
					
						
							|  |  |  |   } | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | menu primary_menu { | 
					
						
							|  |  |  |   item { | 
					
						
							| 
									
										
										
										
											2023-06-28 15:00:03 +02:00
										 |  |  |     label: _("_Preferences"); | 
					
						
							| 
									
										
										
										
											2023-06-18 14:33:53 +02:00
										 |  |  |     action: "app.preferences"; | 
					
						
							|  |  |  |   } | 
					
						
							|  |  |  |   item { | 
					
						
							| 
									
										
										
										
											2023-06-28 15:00:03 +02:00
										 |  |  |     label: _("_About Musicus"); | 
					
						
							| 
									
										
										
										
											2023-06-18 14:33:53 +02:00
										 |  |  |     action: "app.about"; | 
					
						
							|  |  |  |   } | 
					
						
							|  |  |  | } |