guint gdk_keyval_from_name ( const gchar* keyval_name )
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_”.
A key name.
The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string.