]> khamidou — GitHub mirrors - electron.git/commitdiff
Add platform label where applicable
authorJessica Lord <jlord@github.com>
Mon, 24 Aug 2015 22:45:54 +0000 (15:45 -0700)
committerJessica Lord <jlord@github.com>
Wed, 26 Aug 2015 17:45:57 +0000 (10:45 -0700)
docs/api/browser-window.md

index 06fa17f2bfa204094f337f47b1b7c76738e18184..b7ea92fb13519ef36a6f75b77a81381944e4ba96 100644 (file)
@@ -660,7 +660,7 @@ Same as `webContents.loadUrl(url[, options])`.
 
 Same as `webContents.reload`.
 
-### `win.setMenu(menu)`
+### `win.setMenu(menu)` _OS X_
 
 * `menu` Menu
 
@@ -682,7 +682,7 @@ 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`.
 
-### `win.setOverlayIcon(overlay, description)`
+### `win.setOverlayIcon(overlay, description)` _Windows_
 
 * `overlay` [NativeImage](native-image.md) - the icon to display on the bottom
 right corner of the taskbar icon. If this parameter is `null`, the overlay is
@@ -696,7 +696,7 @@ sort of application status or to passively notify the user.
 __Note:__ This API is only available on Windows (Windows 7 and above)
 
 
-### `win.setThumbarButtons(buttons)`
+### `win.setThumbarButtons(buttons)` _Windows_
 
 `buttons` Array of `button` Objects:
 
@@ -730,7 +730,7 @@ the limited room. Once you setup the thumbnail toolbar, the toolbar cannot be
 removed due to the platform's limitation. But you can call the API with an empty
 array to clean the buttons.
 
-### `win.showDefinitionForSelection()`
+### `win.showDefinitionForSelection()` _OS X_
 
 Shows pop-up dictionary that searches the selected word on the page.