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:
parent
1c7d5df2fe
commit
6f64ad30cb
4 changed files with 4 additions and 4 deletions
|
@ -1099,7 +1099,7 @@ Returns `Boolean` - 버튼이 성공적으로 추가되었는지 여부
|
|||
|
||||
Returns `Boolean` - 메뉴 막대 자동 숨김 상태 여부.
|
||||
|
||||
#### `win.setMenuBarVisibility(visible)`
|
||||
#### `win.setMenuBarVisibility(visible)` _Windows_ _Linux_
|
||||
|
||||
* `visible` Boolean
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -720,7 +720,7 @@ windows上句柄类型为 `HWND` ,macOS `NSView*` , Linux `Window`.
|
|||
|
||||
返回 boolean,窗口的菜单栏是否可以自动隐藏.
|
||||
|
||||
### `win.setMenuBarVisibility(visible)`
|
||||
### `win.setMenuBarVisibility(visible)` _Windows_ _Linux_
|
||||
|
||||
* `visible` Boolean
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue