I'd like to change the menu bar, at the beginning before I open any window, by adding a menu and moving some menuitems form another one to this menu.
However, I get a parent exception.
Seems not that easy. Any help?
Thanks for your helpful response...
Well, I have an application which I compile in macOS and Windows.
In macOS, Prefs and Quit etc. will appear not in the File menu (due to the super specification), but in Windows it still will at the bottom of it. My intention is: if it is a #window app, I create a separate App menu, and move all relevant menuitems into that menu (despite it may be not Windows standard, but more logical as a Mac; it's my program anyway, isn't it?).
That's why I was looking for simple help here, since it seems a bit complicated and illogical to do this.