GData.GContactLanguage¶
- Subclasses:
None
Methods¶
- Inherited:
GData.Parsable (5), GObject.Object (37), GData.Comparable (1)
- Structs:
class |
|
|
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
GData.Parsable (9), GObject.Object (7), GData.Comparable (1)
Properties¶
- Inherited:
Name |
Type |
Flags |
Short Description |
---|---|---|---|
r/w |
A code identifying the language, conforming to the IETF BCP 47 specification. |
||
r/w |
A free-form string that identifies the language. |
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
---|---|---|---|
parent |
r |
Class Details¶
- class GData.GContactLanguage(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
All the fields in the
GData.GContactLanguage
structure are private and should never be accessed directly.New in version 0.7.0.
- classmethod new(code, label)¶
- Parameters:
- Returns:
a new
GData.GContactLanguage
; unref withGObject.Object.unref
()- Return type:
Creates a new
GData.GContactLanguage
. More information is available in the gContact specification.Exactly one of code and label should be provided; the other must be
None
.New in version 0.7.0.
- get_code()¶
-
Gets the
GData.GContactLanguage
:code
property.New in version 0.7.0.
- get_label()¶
-
Gets the
GData.GContactLanguage
:label
property.New in version 0.7.0.
- set_code(code)¶
-
Sets the
GData.GContactLanguage
:code
property to code.If code is
None
, the code will be unset. When theGData.GContactLanguage
is used in a query, however, exactly one ofGData.GContactLanguage
:code
andGData.GContactLanguage
:label
must beNone
.New in version 0.7.0.
- set_label(label)¶
-
Sets the
GData.GContactLanguage
:label
property to label.If label is
None
, the label will be unset. When theGData.GContactLanguage
is used in a query, however, exactly one ofGData.GContactLanguage
:code
andGData.GContactLanguage
:label
must beNone
.New in version 0.7.0.
Property Details¶
- GData.GContactLanguage.props.code¶
-
A code identifying the language, conforming to the IETF BCP 47 specification. It is mutually exclusive with
GData.GContactLanguage
:label
.For more information, see the
New in version 0.7.0.
- GData.GContactLanguage.props.label¶
-
A free-form string that identifies the language. It is mutually exclusive with
GData.GContactLanguage
:code
.For more information, see the
New in version 0.7.0.