mirror of
https://github.com/HackPlan/atom-shell.git
synced 2026-04-23 19:31:24 +08:00
Add BrowserWindow.setMenu(menu)
This commit is contained in:
@@ -355,6 +355,10 @@ Same with `webContents.loadUrl(url)`.
|
||||
|
||||
### BrowserWindow.restart()
|
||||
|
||||
### BrowserWindow.setMenu(menu)
|
||||
|
||||
Sets the `menu` as the window top menu.
|
||||
|
||||
## Class: WebContents
|
||||
|
||||
A `WebContents` is responsible for rendering and controlling a web page.
|
||||
|
||||
Reference in New Issue
Block a user