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

string
keyvalName
(
uint keyval
)

Parameters

keyval uint

a key value

Return Value

Type: string

a string containing the name of the key