ShortcutAction.this

Create action from shortcutString - constructor will fill shortcuts by parsing string - all shortcuts will split by space symbol.

struct ShortcutAction
this
(
in string shortcutString
,
void delegate
()
action = null
)

Examples

// Corresponds to: shortcuts ~= Shortcut("Ctrl+X")
ShortcutAction("Ctrl+X")

// Corresponds to: shortcuts ~= Shortcut("Ctrl+X") ~ Shortcut("Alt+Shift+C")
ShortcutAction("Ctrl+X Alt+C")

Meta