Add BrowserWindow.setMenu(menu)

This commit is contained in:
Bernhard Millauer 2014-05-14 18:19:30 +02:00
parent 08115d57fd
commit 2dfbe0b5d3

View file

@ -355,6 +355,10 @@ Same with `webContents.loadUrl(url)`.
### BrowserWindow.restart() ### BrowserWindow.restart()
### BrowserWindow.setMenu(menu)
Sets the `menu` as the window top menu.
## Class: WebContents ## Class: WebContents
A `WebContents` is responsible for rendering and controlling a web page. A `WebContents` is responsible for rendering and controlling a web page.