Tray Module
Types and nested modules
| Type/Module | Description |
|
|
|
|
|
|
|
Emitted when the tray icon is clicked.Note that on Linux this event is emitted when the tray icon receives an activation, which might not necessarily be left mouse click. |
|
|
⚠ OS Compatibility: WIN ✔ | MAC ✔ | LIN ❌ | MAS ❌ Emitted when the tray icon is double clicked. |
|
|
⚠ OS Compatibility: WIN ❌ | MAC ✔ | LIN ❌ | MAS ❌ Emitted when dragged files are dropped in the tray icon. |
|
|
⚠ OS Compatibility: WIN ❌ | MAC ✔ | LIN ❌ | MAS ❌ Emitted when dragged text is dropped in the tray icon. |
|
|
⚠ OS Compatibility: WIN ✔ | MAC ❌ | LIN ❌ | MAS ❌ Emitted when the tray icon is middle clicked. |
|
|
⚠ OS Compatibility: WIN ❌ | MAC ✔ | LIN ❌ | MAS ❌ Emitted when the mouse clicks the tray icon. |
|
|
⚠ OS Compatibility: WIN ✔ | MAC ✔ | LIN ❌ | MAS ❌ Emitted when the mouse enters the tray icon. |
|
|
⚠ OS Compatibility: WIN ✔ | MAC ✔ | LIN ❌ | MAS ❌ Emitted when the mouse exits the tray icon. |
|
|
⚠ OS Compatibility: WIN ✔ | MAC ✔ | LIN ❌ | MAS ❌ Emitted when the mouse moves in the tray icon. |
|
|
⚠ OS Compatibility: WIN ❌ | MAC ✔ | LIN ❌ | MAS ❌ Emitted when the mouse is released from clicking the tray icon.> [!NOTE] This will not be emitted if you have set a context menu for your Tray using tray.setContextMenu, as a result of macOS-level constraints. |
|
|
⚠ OS Compatibility: WIN ✔ | MAC ✔ | LIN ❌ | MAS ❌ Emitted when the tray icon is right clicked. |
fable-electron-docs-api