Keymap.keyvalName

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_”.

class Keymap
static
string
keyvalName
(
uint keyval
)

Parameters

keyval uint

a key value

Return: a string containing the name of the key, or %NULL if @keyval is not a valid key. The string should not be modified.

Meta