AccelGroup.accelGroupsActivate

Finds the first accelerator in any gtk.AccelGroup attached to object that matches accel_key and accel_mods, and activates that accelerator.

class AccelGroup
static
bool
accelGroupsActivate

Parameters

object 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