Move reused object structures to a standard structures folder
This commit is contained in:
parent
4d7050553c
commit
03979936f3
14 changed files with 157 additions and 136 deletions
|
@ -70,11 +70,7 @@ The `Tray` module emits the following events:
|
|||
* `shiftKey` Boolean
|
||||
* `ctrlKey` Boolean
|
||||
* `metaKey` Boolean
|
||||
* `bounds` Object _macOS_ _Windows_ - the bounds of tray icon.
|
||||
* `x` Integer
|
||||
* `y` Integer
|
||||
* `width` Integer
|
||||
* `height` Integer
|
||||
* `bounds` Bounds - The [Bounds](structures/bounds.md) of tray icon
|
||||
|
||||
Emitted when the tray icon is clicked.
|
||||
|
||||
|
@ -85,11 +81,7 @@ Emitted when the tray icon is clicked.
|
|||
* `shiftKey` Boolean
|
||||
* `ctrlKey` Boolean
|
||||
* `metaKey` Boolean
|
||||
* `bounds` Object - the bounds of tray icon.
|
||||
* `x` Integer
|
||||
* `y` Integer
|
||||
* `width` Integer
|
||||
* `height` Integer
|
||||
* `bounds` Bounds - The [Bounds](structures/bounds.md) of tray icon
|
||||
|
||||
Emitted when the tray icon is right clicked.
|
||||
|
||||
|
@ -100,11 +92,7 @@ Emitted when the tray icon is right clicked.
|
|||
* `shiftKey` Boolean
|
||||
* `ctrlKey` Boolean
|
||||
* `metaKey` Boolean
|
||||
* `bounds` Object - the bounds of tray icon
|
||||
* `x` Integer
|
||||
* `y` Integer
|
||||
* `width` Integer
|
||||
* `height` Integer
|
||||
* `bounds` Bounds - The [Bounds](structures/bounds.md) of tray icon
|
||||
|
||||
Emitted when the tray icon is double clicked.
|
||||
|
||||
|
@ -243,11 +231,7 @@ Sets the context menu for this icon.
|
|||
|
||||
#### `tray.getBounds()` _macOS_ _Windows_
|
||||
|
||||
Returns `Object`:
|
||||
* `x` Integer
|
||||
* `y` Integer
|
||||
* `width` Integer
|
||||
* `height` Integer
|
||||
Returns `Bounds` - A [Bounds](structures/bounds.md) object
|
||||
|
||||
The `bounds` of this tray icon as `Object`.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue