keyvalToUnicode

fnuint keyvalToUnicode(uint keyval)

Convert from a GDK key symbol to the corresponding Unicode character.

Note that the conversion does not take the current locale into consideration, which might be expected for particular keyvals, such as [gdk.types.KEY_KP_Decimal].

Parameters

keyvala GDK key symbol

Returns

the corresponding unicode character, or 0 if there

is no corresponding character.