Functions
Generally, the template is an array of options for constructing a MenuItem. The usage can be referenced above.
The application menu, if set, or null, if not set.
Sends the action to the first responder of application. This is used for emulating default macOS menu behaviors. Usually you would use the role property of a MenuItem.
Sets menu as the application menu on macOS. On Windows and Linux, the menu will be set as each window's top menu.
Sets the colors used to highlight the hovered or keyboard-focused item in every menu the app shows, including context menus and the menu bar's dropdowns. Light and dark colors are set separately, and any color left unset keeps the default for that mode. Each call replaces the colors set by any previous call. Passing null restores the defaults.