Command

class Command(val name: String, val shortcut: Shortcut?, val group: String?, val action: () -> Unit)(source)

a command: what it is called, its shortcut, the group it is in, like a menu, and what it does

Constructors

Link copied to clipboard
constructor(name: String, shortcut: Shortcut?, group: String?, action: () -> Unit)

Properties

Link copied to clipboard
val action: () -> Unit
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

the name with its group, as the palette shows it