Gtk.Widget.prototype.remove_accelerator

function remove_accelerator(accel_group:Gtk.AccelGroup, accel_key:Number, accel_mods:Gdk.ModifierType):Boolean {
    // Gjs wrapper for gtk_widget_remove_accelerator()
}

Removes an accelerator from widget, previously installed with Gtk.Widget.prototype.add_accelerator.

accel_group

accel group for this widget

accel_key

GDK keyval of the accelerator

accel_mods

modifier key combination of the accelerator

Returns

whether an accelerator was installed and could be removed