doc: clarify menu item properties not available top-level (#15458)

This commit is contained in:
Shelley Vohr 2018-10-29 13:04:25 -07:00 коммит произвёл Charles Kerr
Родитель c93973ab7a
Коммит 2bd94293e0
1 изменённых файлов: 2 добавлений и 0 удалений

Просмотреть файл

@ -108,6 +108,8 @@ When specifying a `role` on macOS, `label` and `accelerator` are the only
options that will affect the menu item. All other options will be ignored.
Lowercase `role`, e.g. `toggledevtools`, is still supported.
**Nota Bene:** The `enabled` and `visibility` properties are not available for top-level menu items in the tray on MacOS.
### Instance Properties
The following properties are available on instances of `MenuItem`: