Add API's and plumbing for WindowServer clients to make menus.

This commit is contained in:
Andreas Kling 2019-02-12 00:52:19 +01:00
commit 133706d697
Notes: sideshowbarker 2024-07-19 15:46:57 +09:00
17 changed files with 322 additions and 24 deletions

View file

@ -81,7 +81,7 @@ int main(int argc, char** argv)
auto help_menu = make<GMenu>("?");
help_menu->add_item(2, "About");
menubar->add_menu(move(app_menu));
menubar->add_menu(move(help_menu));
app.set_menubar(move(menubar));