Package: gtk

Function gtk:accel-label-set-accel

Lambda List

gtk:accel-label-set-accel (label key mods)

Arguments

label -- a gtk:accel-label widget
key -- an unsigned integer with a keyval, or 0
mods -- a gdk:modifier-type modifier mask for the accel

Details

Manually sets a keyval and modifier mask as the accelerator rendered by label. If a keyval and modifier are explicitly set then these values are used regardless of any associated accel closure or widget. Providing an key argument of 0 removes the manual setting.
 

See also

#2023-3-15