Gtk.BindingSet.prototype.activate

function activate(keyval:Number, modifiers:Gdk.ModifierType, object:GObject.Object):Boolean {
    // Gjs wrapper for gtk_binding_set_activate()
}

Find a key binding matching keyval and modifiers within binding_set and activate the binding on object.

keyval

key value of the binding

modifiers

key modifier of the binding

object

object to activate when binding found

Returns

true if a binding was found and activated