|
@@ -670,6 +670,20 @@ Emitted when the window has closed a sheet.
|
|
|
|
|
|
Emitted when the native new tab button is clicked.
|
|
|
|
|
|
+#### Event: 'system-context-menu' _Windows_
|
|
|
+
|
|
|
+Returns:
|
|
|
+
|
|
|
+* `event` Event
|
|
|
+* `point` [Point](structures/point.md) - The screen coordinates the context menu was triggered at
|
|
|
+
|
|
|
+Emitted when the system context menu is triggered on the window, this is
|
|
|
+normally only triggered when the user right clicks on the non-client area
|
|
|
+of your window. This is the window titlebar or any area you have declared
|
|
|
+as `-webkit-app-region: drag` in a frameless window.
|
|
|
+
|
|
|
+Calling `event.preventDefault()` will prevent the menu from being displayed.
|
|
|
+
|
|
|
### Static Methods
|
|
|
|
|
|
The `BrowserWindow` class has the following static methods:
|