on
Emitted when the tray balloon is clicked.
Emitted when the tray balloon is closed because of timeout or user manually closes it.
Emitted when the tray balloon shows.
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.
Emitted when the tray icon is double clicked.
Emitted when a drag operation ends on the tray or ends at another location.
Emitted when a drag operation enters the tray icon.
Emitted when a drag operation exits the tray icon.
Emitted when any dragged items are dropped on the tray icon.
Emitted when dragged files are dropped in the tray icon.
Emitted when dragged text is dropped in the tray icon.
Emitted when the tray icon is middle clicked.
Emitted when the mouse clicks the tray icon.
Emitted when the mouse enters the tray icon.
Emitted when the mouse exits the tray icon.
Emitted when the mouse moves in the tray icon.
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.
Emitted when the tray icon is right clicked.