Add BrowserWindow.setIcon

This commit is contained in:
Cheng Zhao 2016-05-20 22:22:15 +09:00
parent b33c04d041
commit a93c9462ed
7 changed files with 59 additions and 43 deletions

View file

@ -886,6 +886,12 @@ The `flags` is an array that can include following `String`s:
Shows pop-up dictionary that searches the selected word on the page.
### `win.setIcon(icon)` _Windows_ _Linux_
* `icon` [NativeImage](native-image.md)
Changes window icon.
### `win.setAutoHideMenuBar(hide)`
* `hide` Boolean