mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 19:22:45 +00:00 
			
		
		
		
	LibGUI: Make MenuBar a Core::Object
This makes it show up in Inspector with all the menus inside it. :^)
This commit is contained in:
		
							parent
							
								
									a19690170f
								
							
						
					
					
						commit
						52a250cb61
					
				
					 28 changed files with 36 additions and 38 deletions
				
			
		|  | @ -534,7 +534,7 @@ int run_in_windowed_mode(RefPtr<Core::ConfigFile> config, String initial_locatio | |||
|         }, | ||||
|         window); | ||||
| 
 | ||||
|     auto menubar = make<GUI::MenuBar>(); | ||||
|     auto menubar = GUI::MenuBar::construct(); | ||||
| 
 | ||||
|     auto& app_menu = menubar->add_menu("File Manager"); | ||||
|     app_menu.add_action(mkdir_action); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Andreas Kling
						Andreas Kling