Merge pull request #1863 from atom/default-menu

Create a default menu for apps ran by default_app
This commit is contained in:
Cheng Zhao 2015-06-04 22:36:33 +08:00
commit f4c696b922
10 changed files with 295 additions and 227 deletions

View file

@ -581,7 +581,8 @@ Same with `webContents.reload`.
* `menu` Menu
Sets the `menu` as the window top menu.
Sets the `menu` as the window's menu bar, setting it to `null` will remove the
menu bar.
__Note:__ This API is not available on OS X.