setAsWindowsMenuForNSApp
fun setAsWindowsMenuForNSApp(): ERROR CLASS: Symbol not found for js.promise.Promise<ERROR CLASS: Symbol not found for js.core.Void>(source)
Set this submenu as the Window menu for the application on macOS.
This will cause macOS to automatically add window-switching items and certain other items to the menu.
Platform-specific:
Windows / Linux: Unsupported.