Path that determines where in the menu to add the element. All path elements must be separated by /, for example "View/Toolbars/Find".
Type of builtin icon to display on the toolbar entry.
Optionaltooltip: stringOptional tooltip to display when the user hovers over the toolbar entry.
Optionalpriority: numberPriority determines the position of the toolbar item relative to its siblings. Higher priority means it will be placed earlier.
Optionalseparator: booleanDetermines should a separator be inserted just before this element.
OptionalonIsToggled: ((keyWindow: KeyWindow) => boolean)Optional callback to invoked when the item is toggled.
OptionalonIsEnabled: ((keyWindow: KeyWindow) => boolean)
Adds a toolbar item to the main toolbar of the KeyWindow. Clicking on the toolbar item will trigger the method the attribute is attached to. The method must be static, have no parameters or return values otherwise the attribute will be ignored.