Document setThumbnailClip

This commit is contained in:
Kevin Sawicki 2016-07-14 15:54:57 -07:00
parent 86218fe773
commit ccee3e1fc2
2 changed files with 8 additions and 1 deletions

View file

@ -985,6 +985,13 @@ The `flags` is an array that can include following `String`s:
button state is drawn. This value is intended for instances where the button
is used in a notification.
#### `win.setThumbnailClip(region)` _Windows_
* `region` - Object with `x`, `y`, `width`, and `height` properties.
Sets the region of the window to show as the thumbnail image displayed when
hovering over the window in the taskbar.
#### `win.showDefinitionForSelection()` _macOS_
Same as `webContents.showDefinitionForSelection()`.