Package: gtk

Function gtk:accelerator-name

Lambda List

gtk:accelerator-name (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 with the accelerator name.

Details

Converts an accelerator keyval and modifier mask into a string parseable by the gtk:accelerator-parse function. If you need to display accelerators in the user interface, see the gtk:accelerator-label function.

Examples

(gtk:accelerator-name 65470 '(:shift-mask :alt-mask))
=> "<Shift><Alt>F1"    
 

See also

2023-8-4