Merge commit '58567834c7
' into web-contents-download-url
Conflicts: atom/browser/api/atom_api_web_contents.cc
This commit is contained in:
commit
f2797d2eab
55 changed files with 555 additions and 402 deletions
|
@ -187,12 +187,16 @@ when the tray icon is clicked. Defaults to true.
|
|||
|
||||
Displays a tray balloon.
|
||||
|
||||
### `Tray.popUpContextMenu([position])` _OS X_ _Windows_
|
||||
### `Tray.popUpContextMenu([menu, position])` _OS X_ _Windows_
|
||||
|
||||
* `position` Object (optional)- The pop up position.
|
||||
* `menu` Menu (optional)
|
||||
* `position` Object (optional) - The pop up position.
|
||||
* `x` Integer
|
||||
* `y` Integer
|
||||
|
||||
Popups the context menu of tray icon. When `menu` is passed, the `menu` will
|
||||
showed instead of the tray's context menu.
|
||||
|
||||
The `position` is only available on Windows, and it is (0, 0) by default.
|
||||
|
||||
### `Tray.setContextMenu(menu)`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue