From: Bernhard Millauer Date: Wed, 14 May 2014 16:19:30 +0000 (+0200) Subject: Add BrowserWindow.setMenu(menu) X-Git-Tag: v0.12.5~8^2~1 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=2dfbe0b5d38cc55f695bea592349ae3b59321948;p=electron.git Add BrowserWindow.setMenu(menu) --- diff --git a/docs/api/browser-window.md b/docs/api/browser-window.md index efc50162..2ddbaf5e 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.