From 6f64ad30cb14867391e2ec7124ee8f14b27b493b Mon Sep 17 00:00:00 2001 From: Mike Engel Date: Mon, 24 Oct 2016 22:04:45 -0600 Subject: [PATCH] Clarify the setMenuBarVisibility api The setMenuBarVisibility api is only supported on Windows and Linux. This adds some minor documentation to make that clearer. Fixes #7686 --- docs-translations/ko-KR/api/browser-window.md | 2 +- docs-translations/pt-BR/api/browser-window.md | 2 +- docs-translations/zh-CN/api/browser-window.md | 2 +- docs/api/browser-window.md | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs-translations/ko-KR/api/browser-window.md b/docs-translations/ko-KR/api/browser-window.md index 484197c45e14..cacd2d893b25 100644 --- a/docs-translations/ko-KR/api/browser-window.md +++ b/docs-translations/ko-KR/api/browser-window.md @@ -1099,7 +1099,7 @@ Returns `Boolean` - 버튼이 성공적으로 추가되었는지 여부 Returns `Boolean` - 메뉴 막대 자동 숨김 상태 여부. -#### `win.setMenuBarVisibility(visible)` +#### `win.setMenuBarVisibility(visible)` _Windows_ _Linux_ * `visible` Boolean diff --git a/docs-translations/pt-BR/api/browser-window.md b/docs-translations/pt-BR/api/browser-window.md index 1d992be63271..f03411efaebf 100644 --- a/docs-translations/pt-BR/api/browser-window.md +++ b/docs-translations/pt-BR/api/browser-window.md @@ -597,7 +597,7 @@ Se a barra de menu já estiver visível, chamar `setAutoHideMenuBar(true)` não Retorna um boolean indicando se a barra de menu se esconde automaticamente. -### `win.setMenuBarVisibility(visible)` +### `win.setMenuBarVisibility(visible)` _Windows_ _Linux_ * `visible` Boolean diff --git a/docs-translations/zh-CN/api/browser-window.md b/docs-translations/zh-CN/api/browser-window.md index 13fe2ec52647..8635724bc833 100644 --- a/docs-translations/zh-CN/api/browser-window.md +++ b/docs-translations/zh-CN/api/browser-window.md @@ -720,7 +720,7 @@ windows上句柄类型为 `HWND` ,macOS `NSView*` , Linux `Window`. 返回 boolean,窗口的菜单栏是否可以自动隐藏. -### `win.setMenuBarVisibility(visible)` +### `win.setMenuBarVisibility(visible)` _Windows_ _Linux_ * `visible` Boolean diff --git a/docs/api/browser-window.md b/docs/api/browser-window.md index 7bec8987b189..345419eed24a 100644 --- a/docs/api/browser-window.md +++ b/docs/api/browser-window.md @@ -1114,7 +1114,7 @@ hide it immediately. Returns `Boolean` - Whether menu bar automatically hides itself. -#### `win.setMenuBarVisibility(visible)` +#### `win.setMenuBarVisibility(visible)` _Windows_ _Linux_ * `visible` Boolean