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
This commit is contained in:
Mike Engel 2016-10-24 22:04:45 -06:00
parent 1c7d5df2fe
commit 6f64ad30cb
No known key found for this signature in database
GPG key ID: 225C4F0D1FDE7CF8
4 changed files with 4 additions and 4 deletions

View file

@ -1099,7 +1099,7 @@ Returns `Boolean` - 버튼이 성공적으로 추가되었는지 여부
Returns `Boolean` - 메뉴 막대 자동 숨김 상태 여부.
#### `win.setMenuBarVisibility(visible)`
#### `win.setMenuBarVisibility(visible)` _Windows_ _Linux_
* `visible` Boolean

View file

@ -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

View file

@ -720,7 +720,7 @@ windows上句柄类型为 `HWND` macOS `NSView*` Linux `Window`.
返回 boolean,窗口的菜单栏是否可以自动隐藏.
### `win.setMenuBarVisibility(visible)`
### `win.setMenuBarVisibility(visible)` _Windows_ _Linux_
* `visible` Boolean

View file

@ -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