Function

Gdk-4.0Gdkkeyval_to_unicode

  • Converts 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_KEY_KP_Decimal.

    Parameters

    • keyval: number

      a GDK key symbol

    Returns number

    the corresponding unicode character, or 0 if there is no corresponding character.