From: Belleve Invis Date: Sun, 31 Jan 2016 16:28:44 +0000 (+0800) Subject: Add link to BrowserWindow::setMenu X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1d629640bfc779a87d8c332d3fc7c0187de7c81e;p=platform%2Fframework%2Fweb%2Fcrosswalk-tizen.git Add link to BrowserWindow::setMenu --- diff --git a/docs/api/menu.md b/docs/api/menu.md index 1de3b4f..49a499a 100644 --- a/docs/api/menu.md +++ b/docs/api/menu.md @@ -296,6 +296,11 @@ no matter what label you set. To change it you have to change your app's name by modifying your app bundle's `Info.plist` file. See [About Information Property List Files][AboutInformationPropertyListFiles] for more information. +## Setting Menu for Specific Browser Window (*Linux* *Windows*) + +The [`setMenu` method][setMenu] of browser windows can set the menu of certain +browser window. + ## Menu Item Position You can make use of `position` and `id` to control how the item will be placed @@ -371,3 +376,5 @@ Menu: ``` [AboutInformationPropertyListFiles]: https://developer.apple.com/library/ios/documentation/general/Reference/InfoPlistKeyReference/Articles/AboutInformationPropertyListFiles.html +[setMenu]: +https://github.com/atom/electron/blob/master/docs/api/browser-window.md#winsetmenumenu-linux-windows