github-electron: Add app.dock.setIcon() API

https://github.com/atom/electron/blob/master/docs/api/app.md#appdockseticonimage-os-x
This commit is contained in:
rhysd
2016-01-30 02:11:56 +09:00
parent ce480b5fc3
commit e5fc615482
2 changed files with 7 additions and 0 deletions
+6
View File
@@ -1125,6 +1125,12 @@ declare module Electron {
* Note: This API is only available on Mac.
*/
setMenu(menu: Menu): void;
/**
* Sets the image associated with this dock icon.
*
* Note: This API is only available on Mac.
*/
setIcon(icon: NativeImage | string): void;
}
interface Task {