set_chord_for_command


Description:

public void set_chord_for_command (string? command, ShortcutChord? chord, ShortcutPhase phase)

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.

Parameters:

this

a ShortcutTheme

command

the command to be executed

chord

the chord for the command

phase

the phase to activate within, or 0 for the default