]> khamidou — GitHub mirrors - electron.git/commitdiff
Documentation
authorPaul Betts <paul@paulbetts.org>
Sat, 7 Feb 2015 01:11:54 +0000 (17:11 -0800)
committerPaul Betts <paul@paulbetts.org>
Sat, 7 Feb 2015 01:11:54 +0000 (17:11 -0800)
docs/api/browser-window.md

index abe9f3e3dbee9707d04d568476826dd6f79f333e..d6725bcf405de3351981a8e8e07a4866c8b4aef3 100644 (file)
@@ -540,6 +540,16 @@ On Linux platform, only supports Unity desktop environment, you need to specify
 the `*.desktop` file name to `desktopName` field in `package.json`. By default,
 it will assume `app.getName().desktop`.
 
+### BrowserWindow.setOverlayIcon(overlay, description)
+
+* `overlay` [Image](image.md) - the icon to display on the bottom right corner of the Taskbar icon. If this parameter is `null`, the overlay is cleared.
+
+* `description` String - a description that will be provided to Accessibility screenreaders
+
+Sets a 16px overlay onto the current Taskbar icon, usually used to convey some sort of application status or to passively notify the user.
+
+__Note:__ This API is only available on Windows, Win7 or above
+
 ### BrowserWindow.showDefinitionForSelection()
 
 Shows pop-up dictionary that searches the selected word on the page.