gdk: Clarify the docs of gdk_keyval_to_unicode

Explicitly state that the conversion does not
take locale into account, and point out GDK_KEY_KP_Decimal
as a candidate for special-casing.
This commit is contained in:
Matthias Clasen 2020-06-22 13:24:34 -04:00
parent 2df139cf40
commit c6fe8818ed

View File

@ -878,11 +878,15 @@ static const struct {
/**
* gdk_keyval_to_unicode:
* @keyval: a GDK key symbol
*
* @keyval: a GDK key symbol
*
* Convert from a GDK key symbol to the corresponding ISO10646 (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.
*
* Returns: the corresponding unicode character, or 0 if there
* is no corresponding character.
**/