Sets whether the window will display a menubar for the app menu and menubar as needed.
whether to show a menubar when needed
See Implementation
Sets whether the window will display a menubar for the app menu and menubar as needed.