Package: gtk
Function gtk-accel-map-lock-path
Lambda Listgtk-accel-map-lock-path (accel-path) Argumentsaccel-path -- a valid accelerator path of type :string Details
Locks the given accelerator path. If the accelerator map does not yet contain an entry for accel-path, a
new one is created. Locking an accelerator path prevents its accelerator from being changed during runtime. A locked accelerator path can be unlocked by the function gtk-accel-map-unlock-path. Refer to the function gtk-accel-map-change-entry for information about runtime accelerator changes. If called more than once, accel-path remains locked until the function gtk-accel-map-unlock-path has been called an equivalent number of times. Note that locking of individual accelerator paths is independent from locking the gtk-accel-group containing them. For runtime accelerator changes to be possible both the accelerator path and its gtk-accel-group have to be unlocked. | See also |
2020-9-20