Enum for Command.mode
.
Slots
- fromStrSource
-
static CommandMode? fromStr(Str name, Bool checked := true)
Return the CommandMode instance for the specified name. If not a valid name and checked is false return null, otherwise throw ParseErr.
- pushSource
-
static CommandMode push := CommandMode.make(0, "push")
- toButtonModeSource
-
ButtonMode toButtonMode()
- toMenuItemModeSource
-
MenuItemMode toMenuItemMode()
- toggleSource
-
static CommandMode toggle := CommandMode.make(1, "toggle")
- valuesSource
-
static CommandMode[] values := ...
List of CommandMode values indexed by ordinal