AccelGroup.activate

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

class AccelGroup
bool
activate

Parameters

accelQuark GQuark

the quark for the accelerator name

acceleratable ObjectG

the #GObject, usually a #GtkWindow, 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

Meta