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

Parameters

command string

the command to be executed

chord ShortcutChord

the chord for the command

phase DzlShortcutPhase

the phase to activate within, or 0 for the default

Meta