Package: gdk
Function gdk:keyval-from-name
Lambda Listgdk:keyval-from-name (name) ArgumentsReturn Value The unsigned integer for the corresponding key value, or #xffffff if
the key name is not a valid key Details
Converts a key name to a key value. The names are the same as those in the gdk/gdkkeysyms.h header file but without the leading GDK_KEY_. Examples
(mapcar #'gdk:keyval-from-name
'("less" "equal" "greater" "question" "at" "A" "B" "C"))
=> (60 61 62 63 64 65 66 67)
(gdk:keyval-from-name "unknown") => 16777215 | See also |
2025-08-02