Add BrowserWindow.setMenu(menu)
This commit is contained in:
parent
08115d57fd
commit
2dfbe0b5d3
1 changed files with 4 additions and 0 deletions
|
@ -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.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue