Package: gtk

Function gtk:accel-map-change-entry

Lambda List

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

Arguments

path -- a string with the valid accelerator path
key -- an unsigned integer with the new accelerator key
mods -- a gdk:modifier-type value with the new accelerator modifiers
replace -- true if other accelerators may be deleted upon conflicts

Return Value

True if the accelerator could be changed, nil otherwise.

Details

Changes key and mods currently associated with 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

2023-3-6