LightDM.Language¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
|
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
Name |
Type |
Flags |
Short Description |
---|---|---|---|
r/w/co |
Language code |
||
r |
Name of the language |
||
r |
Territory the language is from |
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
---|---|---|---|
parent_instance |
r |
Class Details¶
- class LightDM.Language(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
LightDM.Language
is an opaque data structure and can only be accessed using the provided functions.- get_code()¶
- Returns:
The code of the language
- Return type:
Get the code of a language (e.g. “de_DE.UTF-8”)
- get_territory()¶
- Returns:
The territory the language is used in.
- Return type:
Get the territory the language is used in.
Property Details¶
- LightDM.Language.props.code¶
- Name:
code
- Type:
- Default Value:
- Flags:
Language code
- LightDM.Language.props.name¶
-
Name of the language