ShortcutTheme.setAccelForCommand

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

class ShortcutTheme
void
setAccelForCommand
(
string command
,
string accel
,
DzlShortcutPhase phase
)

Parameters

command
Type: string

the command to be executed

accel
Type: string

the shortcut accelerator

phase

the phase to activate within, or 0 for the default

Meta