mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 11:27:34 +00:00
LibGUI: Add 'remove_all_actions' method to 'Menu'
This commit is contained in:
parent
8ede1a6a6f
commit
dbfe385879
2 changed files with 9 additions and 0 deletions
|
@ -39,6 +39,7 @@ public:
|
|||
void add_action(NonnullRefPtr<Action>);
|
||||
void add_separator();
|
||||
Menu& add_submenu(String name);
|
||||
void remove_all_actions();
|
||||
|
||||
void popup(const Gfx::IntPoint& screen_position, const RefPtr<Action>& default_action = nullptr);
|
||||
void dismiss();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue