From: Cheng Zhao Date: Thu, 4 Jun 2015 08:12:29 +0000 (+0800) Subject: docs: Mention how to remove menu bar X-Git-Tag: v0.27.3~9^2~1 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=3b20f2aced587c8e1f9829f74454ac694f217800;p=electron.git docs: Mention how to remove menu bar --- diff --git a/docs/api/browser-window.md b/docs/api/browser-window.md index 30055dcc..35a439a5 100644 --- a/docs/api/browser-window.md +++ b/docs/api/browser-window.md @@ -579,7 +579,8 @@ Same with `webContents.reload`. * `menu` Menu -Sets the `menu` as the window top menu. +Sets the `menu` as the window's menu bar, setting it to `null` will remove the +menu bar. __Note:__ This API is not available on OS X.