gdkKeymapGetEntriesForKeycode: gdkKeymapGetEntriesForKeycode
Description
Returns the keyvals bound to hardware.keycode.
The Nth GdkKeymapKey in keys is bound to the Nth
keyval in keyvals. Free the returned lists with g().
When a keycode is pressed by the user, the keyval from
this list of entries is selected by considering the effective
keyboard group and level. See gdkKeymapTranslateKeyboardState.
gdkKeymapGetEntriesForKeycode(object, hardware.keycode)
object {[GdkKeymap] a GdkKeymap or NULL to use the default keymap}
hardware.keycode {[numeric] a keycode}
A list containing the following elements:
- retval
{[logical] TRUE if there were any entries}
keys {[GdkKeymapKey] return location for list of GdkKeymapKey, or NULL}
keyvals {[numeric] return location for list of keyvals, or NULL}
n.entries {[integer] length of keys and keyvals}
[object Object]
internal