Add app.dock.setIcon to change icon of dock

This commit is contained in:
ragingwind 2016-01-24 08:30:14 +09:00
parent 31624995bc
commit 7229d2462a
5 changed files with 23 additions and 1 deletions

View file

@ -512,6 +512,12 @@ Shows the dock icon.
Sets the application's [dock menu][dock-menu].
### `app.dock.setIcon(image)` _OS X_
* `image` [NativeImage](native-image.md)
Sets the `image` associated with this dock icon.
[dock-menu]:https://developer.apple.com/library/mac/documentation/Carbon/Conceptual/customizing_docktile/concepts/dockconcepts.html#//apple_ref/doc/uid/TP30000986-CH2-TPXREF103
[tasks]:http://msdn.microsoft.com/en-us/library/windows/desktop/dd378460(v=vs.85).aspx#tasks
[app-user-model-id]: https://msdn.microsoft.com/en-us/library/windows/desktop/dd378459(v=vs.85).aspx