Optional
contextA DOM context to use when evaluating any when
clauses
of menu items registered for this item.
Optional
contextA context key service to use when evaluating any when
clauses.
If none is provided, the global context will be used.
Optional
Readonly
honorControls whether to render disabled items as disabled
Defaults to true
The root menu path for which the menu is being built.
Optional
Readonly
showControls whether to render disabled menu items.
Defaults to true
.
Representation of possible electron menu options.