mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-30 04:39:06 +00:00
LibGUI: Allow adding previously constructed menus to Menubar
This commit is contained in:
parent
9cf93528f5
commit
c88d77361c
Notes:
sideshowbarker
2024-07-17 04:22:29 +09:00
Author: https://github.com/thankyouverycool
Commit: c88d77361c
Pull-request: https://github.com/SerenityOS/serenity/pull/16106
4 changed files with 18 additions and 0 deletions
|
@ -222,6 +222,7 @@ public:
|
|||
|
||||
Menu& add_menu(String name);
|
||||
ErrorOr<NonnullRefPtr<Menu>> try_add_menu(String name);
|
||||
ErrorOr<void> try_add_menu(NonnullRefPtr<Menu> menu);
|
||||
void flash_menubar_menu_for(MenuItem const&);
|
||||
|
||||
void flush_pending_paints_immediately();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue