Skip to content

Commit f34e560

Browse files
committed
merge
2 parents ad643cc + 068f75b commit f34e560

File tree

6 files changed

+170
-178
lines changed

6 files changed

+170
-178
lines changed

README.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,9 +81,9 @@ Emitted when a window has been activated.
8181

8282
We try to keep this class similar to Electron's known [`BrowserWindow`](https://electronjs.org/docs/api/browser-window) class, to keep it simple to use.
8383

84-
### new Window(id: number | [`WindowInfo`](#object-windowinfo))
84+
### new Window(id: number)
8585

86-
- `id` - this can be either a `number` or a [`WindowInfo`](#object-windowinfo) object.
86+
- `id` number
8787

8888
### Instance properties
8989

@@ -170,3 +170,9 @@ Returns [`Window`](#class-window)
170170

171171
- `win` [Window](#class-window) | number | null
172172
- pass null to unset window owner.
173+
174+
#### win.getIcon(size: number) `Windows` `macOS`
175+
176+
- `size` number - can be only `16`, `32`, `64`, `256`. By default it's `64`.
177+
178+
Returns a png Buffer

0 commit comments

Comments
 (0)