set_accel_for_command


Description:

public void set_accel_for_command (string? command, string? accel, ShortcutPhase phase)

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.

Parameters:

this

a ShortcutTheme

command

the command to be executed

accel

the shortcut accelerator

phase

the phase to activate within, or 0 for the default