An interface defining a menu.

Hierarchy

  • PartialJSONObject
    • IMenu

Properties

disabled?: boolean

Whether a menu is disabled. False by default.

Notes

This allows an user to suppress a menu.

icon?: string

Menu icon id

Note

The icon id will looked for in registered LabIcon.

id: string

Unique menu identifier

items?: IMenuItem[]

Menu items

label?: string

Menu title

Notes

Default will be the capitalized id.

mnemonic?: number

Get the mnemonic index for the title.

Notes

The default value is -1.

rank?: number

The rank order of the menu among its siblings.

Generated using TypeDoc