diff --git a/docs/api/browser-window.md b/docs/api/browser-window.md index efc501624eba..2ddbaf5ef9cd 100644 --- a/docs/api/browser-window.md +++ b/docs/api/browser-window.md @@ -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.