libretro.api.user¶
User interface language types and constants.
Corresponds to the RETRO_LANGUAGE_* constants in libretro.h.
See also
UserDriverlibretro.drivers.userlibretro.py’s included
UserDriverimplementations.
Module Attributes
Corresponds to |
Classes
Enumeration of supported user interface languages. |
- class Language[source]¶
Bases:
IntEnumEnumeration of supported user interface languages.
Corresponds to the
RETRO_LANGUAGE_*constants inlibretro.h.>>> from libretro.api import Language >>> Language.ENGLISH <Language.ENGLISH: 0>
- ENGLISH = 0¶
- JAPANESE = 1¶
- FRENCH = 2¶
- SPANISH = 3¶
- GERMAN = 4¶
- ITALIAN = 5¶
- DUTCH = 6¶
- PORTUGUESE_BRAZIL = 7¶
- PORTUGUESE_PORTUGAL = 8¶
- RUSSIAN = 9¶
- KOREAN = 10¶
- CHINESE_TRADITIONAL = 11¶
- CHINESE_SIMPLIFIED = 12¶
- ESPERANTO = 13¶
- POLISH = 14¶
- VIETNAMESE = 15¶
- ARABIC = 16¶
- GREEK = 17¶
- TURKISH = 18¶
- SLOVAK = 19¶
- PERSIAN = 20¶
- HEBREW = 21¶
- ASTURIAN = 22¶
- FINNISH = 23¶
- INDONESIAN = 24¶
- SWEDISH = 25¶
- UKRAINIAN = 26¶
- CZECH = 27¶
- CATALAN_VALENCIA = 28¶
- CATALAN = 29¶
- BRITISH_ENGLISH = 30¶
- HUNGARIAN = 31¶
- BELARUSIAN = 32¶
- GALICIAN = 33¶
- NORWEGIAN = 34¶
- IRISH = 35¶
- __new__(value)¶
- classmethod value in self¶
Return True if value is in cls.
value is in cls if: 1) value is a member of cls, or 2) value is the value of one of the cls’s members. 3) value is a pseudo-member (flags)
- classmethod self[name]¶
Return the member matching name.
- __init__()¶
- classmethod iter(self)¶
Return members in definition order.
- classmethod len(self)¶
Return the number of members (no aliases)
- retro_language¶
Corresponds to
retro_languageinlibretro.h.