GData.GDName¶
- 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 |
An additional name for the person (e.g. a middle name). |
||
r/w |
The person’s family name. |
||
r/w |
An unstructured representation of the person’s full name. |
||
r/w |
The person’s given name. |
||
r/w |
An honorific prefix. |
||
r/w |
An honorific suffix. |
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
|---|---|---|---|
parent |
r |
Class Details¶
- class GData.GDName(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
All the fields in the
GData.GDNamestructure are private and should never be accessed directly.New in version 0.5.0.
- classmethod new(given_name, family_name)¶
- Parameters:
- Returns:
a new
GData.GDName, orNone; unref withGObject.Object.unref()- Return type:
Creates a new
GData.GDName. More information is available in the GData specification.New in version 0.5.0.
- get_additional_name()¶
-
Gets the
GData.GDName:additional-nameproperty.New in version 0.5.0.
- get_family_name()¶
-
Gets the
GData.GDName:family-nameproperty.New in version 0.5.0.
- get_full_name()¶
-
Gets the
GData.GDName:full-nameproperty.New in version 0.5.0.
- get_given_name()¶
-
Gets the
GData.GDName:given-nameproperty.New in version 0.5.0.
- get_prefix()¶
-
Gets the
GData.GDName:prefixproperty.New in version 0.5.0.
- get_suffix()¶
-
Gets the
GData.GDName:suffixproperty.New in version 0.5.0.
- set_additional_name(additional_name)¶
-
Sets the
GData.GDName:additional-nameproperty to additional_name.New in version 0.5.0.
- set_family_name(family_name)¶
-
Sets the
GData.GDName:family-nameproperty to family_name.New in version 0.5.0.
- set_full_name(full_name)¶
-
Sets the
GData.GDName:full-nameproperty to full_name.New in version 0.5.0.
- set_given_name(given_name)¶
-
Sets the
GData.GDName:given-nameproperty to given_name.New in version 0.5.0.
- set_prefix(prefix)¶
-
Sets the
GData.GDName:prefixproperty to prefix.New in version 0.5.0.
Property Details¶
- GData.GDName.props.additional_name¶
-
An additional name for the person (e.g. a middle name).
For more information, see the
New in version 0.5.0.
- GData.GDName.props.family_name¶
-
The person’s family name.
For more information, see the
New in version 0.5.0.
- GData.GDName.props.full_name¶
-
An unstructured representation of the person’s full name. It’s generally advised to use the other individual properties in preference to this one, which can fall out of synchronisation with the other properties.
For more information, see the
New in version 0.5.0.
- GData.GDName.props.given_name¶
-
The person’s given name.
For more information, see the
New in version 0.5.0.
- GData.GDName.props.prefix¶
-
An honorific prefix (e.g.
MrorMrs).For more information, see the
New in version 0.5.0.