ShortcutTheme.setChordForCommand

This will set the command to execute when @chord is pressed. If command is %NULL, the accelerator will be cleared. If @chord is %NULL, all accelerators for @command will be cleared.

class ShortcutTheme
void
setChordForCommand
(
string command
,,
DzlShortcutPhase phase
)

Parameters

command
Type: string

the command to be executed

chord

the chord for the command

phase

the phase to activate within, or 0 for the default

Meta