]> khamidou — GitHub mirrors - electron.git/commitdiff
:memo: Menu.setApplicationMenu is not OS X only.
authorCheng Zhao <zcbenz@gmail.com>
Fri, 30 May 2014 01:02:21 +0000 (09:02 +0800)
committerCheng Zhao <zcbenz@gmail.com>
Fri, 30 May 2014 01:03:29 +0000 (09:03 +0800)
docs/api/menu.md

index abb4262479db561ea84f83bd5bc7c79b2fa0cde3..54825d6fefe36a1d612f0e254028d7e69c5bf55f 100644 (file)
@@ -151,9 +151,8 @@ Creates a new menu.
 
 * `menu` Menu
 
-Sets `menu` as the application menu.
-
-**Note:** This method is OS X only.
+Sets `menu` as the application menu on OS X. On Windows and Linux, the `menu`
+will be set as each window's top menu.
 
 ### Class Method: Menu.sendActionToFirstResponder(action)