From 71f74f40421a86258d5acc21f52957d9cfb7361a Mon Sep 17 00:00:00 2001 From: Jessica Lord Date: Mon, 24 Aug 2015 15:45:54 -0700 Subject: [PATCH] Add platform label where applicable --- docs/api/browser-window.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/api/browser-window.md b/docs/api/browser-window.md index 06fa17f2..b7ea92fb 100644 --- a/docs/api/browser-window.md +++ b/docs/api/browser-window.md @@ -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. -- 2.43.0