ReadonlycommandThe command's local id.
ReadonlyiconThe icon name, or the image's path for a plugin.ui.image icon.
Readonlyimagetrue when the icon is the plugin's image.
ReadonlyorderThe declared order.
ReadonlyenabledClickable: the command is enabled and not busy.
ReadonlycheckedShown with the on dot under its icon: the command is checked.
ReadonlytooltipThe tooltip without the key: the command's shown title (trailing "…" removed), then, while it cannot run, its reason on a second line.
A command's bottom-bar button (
CommandOptions.button) as the player shows it: an entry of TestHost.barButtons.Since
1.5.29
Remarks
A bottom-bar button as the player would show it, derived from the command's declaration and state each time it is read: clickable while the command is enabled and not busy, accent-coloured while checked, with the command's title (and reason) as the tooltip.
Example: Check a bar button's tooltip while it is disabled
The test checks that the Export button shows why it cannot be clicked. The tooltip is the command's title; while the command is disabled or busy and has a non-empty
reason, the reason follows on a second line.