1
Fork 0
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:
Marco Cutecchia 2022-02-14 14:06:57 +01:00 committed by Andreas Kling
parent 8ede1a6a6f
commit dbfe385879
2 changed files with 9 additions and 0 deletions

View file

@ -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();