Keymap.keyvalFromName

Converts a key name to a key value.

The names are the same as those in the gdk/gdkkeysyms.h header file but without the leading “GDK_KEY_”.

class Keymap
static
uint
keyvalFromName
(
string keyvalName
)

Parameters

keyvalName string

a key name

Return: the corresponding key value, or %GDK_KEY_VoidSymbol if the key name is not a valid key

Meta