Merge pull request #1863 from atom/default-menu
Create a default menu for apps ran by default_app
This commit is contained in:
commit
f4c696b922
10 changed files with 295 additions and 227 deletions
|
@ -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.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue