Link to window level macOS docs

This commit is contained in:
Kevin Sawicki 2016-09-28 09:20:22 -07:00
parent c51982a231
commit fd6ef6712f

View file

@ -826,8 +826,10 @@ On Linux always returns `true`.
#### `win.setAlwaysOnTop(flag[, level])` #### `win.setAlwaysOnTop(flag[, level])`
* `flag` Boolean * `flag` Boolean
* `level` String (optional) _macOS_ - Options include (`normal`, `floating`, `torn-off-menu`, * `level` String (optional) _macOS_ - Values include `normal`, `floating`,
`modal-panel`, `main-menu`, `status`, `pop-up-menu`, `screen-saver`, `dock`). Default is `floating`. `torn-off-menu`, `modal-panel`, `main-menu`, `status`, `pop-up-menu`,
`screen-saver`, and `dock`. The default is `floating`. See the
[macOS docs][window-levels] for more details.
Sets whether the window should show always on top of other windows. After Sets whether the window should show always on top of other windows. After
setting this, the window is still a normal window, not a toolbox window which setting this, the window is still a normal window, not a toolbox window which
@ -1201,3 +1203,5 @@ Returns `BrowserWindow` - The parent window.
#### `win.getChildWindows()` #### `win.getChildWindows()`
Returns `BrowserWindow[]` - All child windows. Returns `BrowserWindow[]` - All child windows.
[window-levels]: https://developer.apple.com/reference/appkit/nswindow/1664726-window_levels