Package: gtk

Function gtk-accel-map-change-entry

Lambda List

gtk-accel-map-change-entry (accel-path accel-key accel-mods replace)

Arguments

accel-path -- a valid accelerator path of type :string
accel-key -- the new accelerator key of type :uint
accel-mods -- the new accelerator modifiers of type gdk-modifier-type
replace -- true if other accelerators may be deleted upon conflicts

Return Value

True if the accelerator could be changed, nil otherwise.

Details

Changes the accel-key and accel-mods currently associated with accel-path. Due to conflicts with other accelerators, a change may not always be possible, replace indicates whether other accelerators may be deleted to resolve such conflicts. A change will only occur if all conflicts could be resolved, which might not be the case if conflicting accelerators are locked. Successful changes are indicated by a true return value.
 

See also

2020-9-20