Keymap.lookupKey

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 gdk_keymap_translate_keyboard_state() instead of this function, since the effective group/level may not be the same as the current keyboard state.

class Keymap
uint
lookupKey

Parameters

key GdkKeymapKey*

a #GdkKeymapKey with keycode, group, and level initialized

Return Value

Type: uint

a keyval, or 0 if none was mapped to the given @key

Meta