mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 04:37:44 +00:00
LibGUI: Add Menu::set_children_actions_enabled() helper
This adds a helper function to Menu that allows us to set all the children enabled/disabled.
This commit is contained in:
parent
18e6da6d4d
commit
708ec90bba
2 changed files with 10 additions and 0 deletions
|
@ -45,6 +45,8 @@ public:
|
|||
|
||||
void visibility_did_change(Badge<WindowServerConnection>, bool visible);
|
||||
|
||||
void set_children_actions_enabled(bool enabled);
|
||||
|
||||
Function<void(bool)> on_visibility_change;
|
||||
|
||||
bool is_visible() const { return m_visible; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue