activate
Description:
public bool activate (Quark accel_quark, Object acceleratable, uint accel_key, ModifierType accel_mods)
Finds the first accelerator in this that matches accel_key
and accel_mods
, and
activates it.
Parameters:
this | |
accel_quark |
the quark for the accelerator name |
acceleratable |
the Object, usually a Window , on which to activate the accelerator |
accel_key |
accelerator keyval from a key event |
accel_mods |
keyboard state mask from a key event |
Returns:
true if an accelerator was activated and handled this keypress |