Functions¶
|
|
|
|
|
|
|
Details¶
- Xkl.get_country_name(code)¶
- Parameters:
code (
str
) – ISO 3166 Alpha 2 code: 2 chars, uppercase (US, RU, FR, …)- Returns:
localized country name (USA, Russia, France, … translated)
- Return type:
Get localized country name, from ISO code
- Xkl.get_language_name(code)¶
- Parameters:
code (
str
) – ISO 639 2B or 2T code: 3 chars, lowercase (eng, rus, fra, …)- Returns:
localized country name (English, Russiam, French, … translated)
- Return type:
Get localized language name, from ISO code
- Xkl.get_last_error()¶
- Returns:
the text message (statically allocated) of the last error
- Return type:
- Xkl.restore_names_prop(engine)¶
- Parameters:
engine (
Xkl.Engine
) – the engine- Returns:
True
on success- Return type:
Restores XKB from the property saved by xkl_backup_names_prop