mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
@@ -45,6 +45,11 @@ Role kRolesMap[] = {
|
||||
{ @selector(performZoom:), "zoom" },
|
||||
{ @selector(terminate:), "quit" },
|
||||
{ @selector(toggleFullScreen:), "togglefullscreen" },
|
||||
{ @selector(toggleTabBar:), "toggletabbar" },
|
||||
{ @selector(selectNextTab:), "selectnexttab" },
|
||||
{ @selector(selectPreviousTab:), "selectprevioustab" },
|
||||
{ @selector(mergeAllWindows:), "mergeallwindows" },
|
||||
{ @selector(moveTabToNewWindow:), "movetabtonewwindow" },
|
||||
};
|
||||
|
||||
} // namespace
|
||||
|
||||
@@ -80,6 +80,11 @@ The following additional roles are available on macOS:
|
||||
* `stopspeaking` - Map to the `stopSpeaking` action
|
||||
* `front` - Map to the `arrangeInFront` action
|
||||
* `zoom` - Map to the `performZoom` action
|
||||
* `toggletabbar` - Map to the `toggleTabBar` action
|
||||
* `selectnexttab` - Map to the `selectNextTab` action
|
||||
* `selectprevioustab` - Map to the `selectPreviousTab` action
|
||||
* `mergeallwindows` - Map to the `mergeAllWindows` action
|
||||
* `movetabtonewwindow` - Map to the `moveTabToNewWindow` action
|
||||
* `window` - The submenu is a "Window" menu
|
||||
* `help` - The submenu is a "Help" menu
|
||||
* `services` - The submenu is a "Services" menu
|
||||
|
||||
Reference in New Issue
Block a user