AccelGroup.activate

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

Parameters

accelQuark glib.types.Quark

the quark for the accelerator name

acceleratable gobject.object.ObjectWrap

the #GObject, usually a #GtkWindow, on which to activate the accelerator

accelKey uint

accelerator keyval from a key event

accelMods gdk.types.ModifierType

keyboard state mask from a key event

Return Value

Type: bool

true if an accelerator was activated and handled this keypress