Finds the first accelerator in accel_group that matches accel_key and accel_mods, and activates it.


accelQuark GQuark

the quark for the accelerator name

acceleratable ObjectG

the GObject, usually a gtk.Window, on which to activate the accelerator

accelKey uint

accelerator keyval from a key event

accelMods GdkModifierType

keyboard state mask from a key event

Return Value

Type: bool

TRUE if an accelerator was activated and handled this keypress