Package: gdk
Function gdk-keymap-lookup-key
Lambda Listgdk-keymap-lookup-key (keymap keycode group level) ArgumentsReturn ValueAn unsigned integer with the keyval, or 0 if none was mapped to the given key. Details
Looks up the keyval mapped to a keycode/group/level triplet. If no keyval is bound to key, returns 0. For normal user input, you want to use the gdk-keymap-translate-keyboard-state function instead of this
function, since the effective group/level may not be the same as the current
keyboard state. Example(gdk-keyval-name (gdk-keymap-lookup-key keymap 35 0 0)) => "plus" (gdk-keyval-name (gdk-keymap-lookup-key keymap 35 0 1)) => "asterisk" (gdk-keyval-name (gdk-keymap-lookup-key keymap 35 0 2)) => "asciitilde" (gdk-keyval-name (gdk-keymap-lookup-key keymap 35 0 3)) => "macron" | See also |
2021-12-13