Package: gtk

Function gtk:accelerator-label

Lambda List

gtk:accelerator-label (key mask)

Arguments

key -- an unsigned integer with the accelerator keyval
mask -- a gdk:modifier-type value with the accelerator modifier mask

Return Value

The string representing the accelerator.

Details

Converts an accelerator keyval and modifier mask into a string which can be used to represent the accelerator to the user.

Examples

(gtk:accelerator-label 65470 '(:shift-mask :mod1-mask))
=> "Shift+Alt+F1"    
 

See also

2023-8-4