Function

Gdkkeyval_name

Declaration [src]

gchar*
gdk_keyval_name (
  guint keyval
)

Description [src]

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

Type: guint

A key value.

Return value

Type: gchar*

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

The data is owned by the called function.
The return value can be NULL.
The value is a NUL terminated UTF-8 string.