Package: gdk

Function gdk-keyval-name

Lambda List

gdk-keyval-name (keyval)

Arguments

keyval -- an unsigned integer with a key value

Return Value

A string containing the name of the key, or nil if keyval is not a valid key.

Details

Converts a key value into a symbolic name. The names are the same as those in the gdk/gdkkeysyms.h header file but without the leading "GDK_KEY_".

Examples

(gdk-keyval-name 97) => "a"
(gdk-keyval-name 61) => "equal"
(gdk-keyval-name 65470) => "F1"
(gdk-keyval-from-name 16777215) => "0xffffff"    
 

See also

2021-12-22