Gtk.AccelGroup.prototype.lock
function lock():void {
// Gjs wrapper for gtk_accel_group_lock()
}Locks the given accelerator group.
Locking an acelerator group prevents the accelerators contained within it to be changed during runtime. Refer to Gtk.change_entry about runtime accelerator changes.
If called more than once, accel_group remains locked until Gtk.unlock has been called an equivalent number of times.