Mirage.Language¶
- Subclasses:
None
Methods¶
- Inherited:
Mirage.Object (2), GObject.Object (37), Mirage.Contextual (8)
- Structs:
|
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
None
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
---|---|---|---|
parent_instance |
r |
Class Details¶
- class Mirage.Language(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
All the fields in the
Mirage.Language
structure are private to theMirage.Language
implementation and should never be accessed directly.- get_pack_data(pack_type)¶
- Parameters:
pack_type (
Mirage.LanguagePackType
) – pack type- Raises:
- Returns:
True
on success,False
on failure- pack_data:
location to store buffer containing pack data, or
None
- Return type:
Retrieves pack data of type pack_type. A pointer to buffer containing pack data is stored in pack data; the buffer belongs to the object and therefore should not be modified.
- set_pack_data(pack_type, pack_data)¶
- Parameters:
pack_type (
Mirage.LanguagePackType
) – pack typepack_data (
bytes
) – pack data
- Raises:
- Returns:
- Return type:
Sets pack data of type pack_type to data in pack_data. length is length of data in pack_data. pack_type must be one of
Mirage.LanguagePackType
.