Merge pull request #12496 from mikeykhalil/8952-ignore-tray-double-click-events
8952 option to ignore tray double click events
This commit is contained in:
commit
9488ef4867
6 changed files with 66 additions and 3 deletions
|
@ -241,6 +241,19 @@ win.on('hide', () => {
|
|||
})
|
||||
```
|
||||
|
||||
#### `tray.setIgnoreDoubleClickEvents(ignore)` _macOS_
|
||||
|
||||
* `ignore` Boolean
|
||||
|
||||
Sets the option to ignore double click events. Ignoring these events allows you
|
||||
to detect every individual click of the tray icon.
|
||||
|
||||
This value is set to false by default.
|
||||
|
||||
### `tray.getIgnoreDoubleClickEvents()` _macOS_
|
||||
|
||||
Returns `Boolean` - Whether double click events will be ignored.
|
||||
|
||||
#### `tray.displayBalloon(options)` _Windows_
|
||||
|
||||
* `options` Object
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue