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 accelerator modifier mask

Return Value

A 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.

Example

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

See also

2021-12-24