Gtk.AccelGroup.prototype.disconnect_key

function disconnect_key(accel_key:Number, accel_mods:Gdk.ModifierType):Boolean {
    // Gjs wrapper for gtk_accel_group_disconnect_key()
}

Removes an accelerator previously installed through Gtk.AccelGroup.prototype.connect.

accel_key

key value of the accelerator

accel_mods

modifier combination of the accelerator

Returns

true if there was an accelerator which could be removed, false otherwise