keyval_from_name


Description:


public uint keyval_from_name (string 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_”.

Parameters:

keyval_name

a key name

Returns:

the corresponding key value, or gdk_key_voidsymbol if the key name is not a valid key


Namespace: Gdk
Package: gtk4



2022 vala-language.org