Document setThumbnailClip
This commit is contained in:
parent
86218fe773
commit
ccee3e1fc2
2 changed files with 8 additions and 1 deletions
|
@ -179,7 +179,7 @@ class Window : public mate::TrackableObject<Window>,
|
||||||
bool IsWindowMessageHooked(UINT message);
|
bool IsWindowMessageHooked(UINT message);
|
||||||
void UnhookWindowMessage(UINT message);
|
void UnhookWindowMessage(UINT message);
|
||||||
void UnhookAllWindowMessages();
|
void UnhookAllWindowMessages();
|
||||||
bool SetThumbnailClip(const gfx::Rect& window_region);
|
bool SetThumbnailClip(const gfx::Rect& region);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(TOOLKIT_VIEWS)
|
#if defined(TOOLKIT_VIEWS)
|
||||||
|
|
|
@ -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
|
button state is drawn. This value is intended for instances where the button
|
||||||
is used in a notification.
|
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_
|
#### `win.showDefinitionForSelection()` _macOS_
|
||||||
|
|
||||||
Same as `webContents.showDefinitionForSelection()`.
|
Same as `webContents.showDefinitionForSelection()`.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue