keyval_name


Description:


public unowned string? keyval_name (uint keyval)

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

Parameters:

keyval

a key value

Returns:

a string containing the name of the key, or null if keyval is not a valid key. The string should not be modified.


Namespace: Gdk
Package: gdk-3.0



2022 vala-language.org