1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 05:57:45 +00:00

WindowServer: Allow updating the name of a menu

This commit is contained in:
MacDue 2023-03-27 00:04:00 +01:00 committed by Linus Groh
parent 952f6bbb2a
commit cf730403ea
5 changed files with 29 additions and 0 deletions

View file

@ -59,6 +59,7 @@ public:
void add_item(NonnullOwnPtr<MenuItem>);
DeprecatedString const& name() const { return m_name; }
void set_name(DeprecatedString);
template<typename Callback>
IterationDecision for_each_item(Callback callback)