accel_groups_activate
function accel_groups_activate(object:GObject.Object, accel_key:Number, accel_mods:Gdk.ModifierType):Boolean {
// Gjs wrapper for gtk_accel_groups_activate()
}Finds the first accelerator in any Gtk.AccelGroup attached to object that matches accel_key and accel_mods, and activates that accelerator.
- object
the GObject.Object, usually a Gtk.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