Header menu logo fable-electron-docs-api

IOnSystemContextMenu Type

⚠ OS Compatibility: WIN ✔ | MAC ❌ | LIN ✔ | MAS ❌ 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.To convert point to DIP, use screen.screenToDipPoint(point).

Instance members

Instance member Description

this.event

Full Usage: this.event

Modifiers: abstract

this.point

Full Usage: this.point

Modifiers: abstract

The screen coordinates where the context menu was triggered.

Type something to start searching.