Top | ![]() |
![]() |
![]() |
![]() |
GDataGDName * | gdata_gd_name_new () |
const gchar * | gdata_gd_name_get_given_name () |
void | gdata_gd_name_set_given_name () |
const gchar * | gdata_gd_name_get_additional_name () |
void | gdata_gd_name_set_additional_name () |
const gchar * | gdata_gd_name_get_family_name () |
void | gdata_gd_name_set_family_name () |
const gchar * | gdata_gd_name_get_prefix () |
void | gdata_gd_name_set_prefix () |
const gchar * | gdata_gd_name_get_suffix () |
void | gdata_gd_name_set_suffix () |
const gchar * | gdata_gd_name_get_full_name () |
void | gdata_gd_name_set_full_name () |
gchar * | additional-name | Read / Write |
gchar * | family-name | Read / Write |
gchar * | full-name | Read / Write |
gchar * | given-name | Read / Write |
gchar * | prefix | Read / Write |
gchar * | suffix | Read / Write |
GDataGDName represents a "name" element from the
GData specification.Given a name such as Sir Winston Leonard Spencer-Churchill, KG
, the properties of the GDataGDName should be
set as follows:
Winston |
|
Leonard |
|
Spencer-Churchill |
|
Sir |
|
KG |
GDataGDName * gdata_gd_name_new (const gchar *given_name
,const gchar *family_name
);
Creates a new GDataGDName. More information is available in the GData specification.
Since 0.5.0
const gchar *
gdata_gd_name_get_given_name (GDataGDName *self
);
Gets the “given-name” property.
Since 0.5.0
void gdata_gd_name_set_given_name (GDataGDName *self
,const gchar *given_name
);
Sets the “given-name” property to given_name
.
Since 0.5.0
const gchar *
gdata_gd_name_get_additional_name (GDataGDName *self
);
Gets the “additional-name” property.
Since 0.5.0
void gdata_gd_name_set_additional_name (GDataGDName *self
,const gchar *additional_name
);
Sets the “additional-name” property to additional_name
.
Since 0.5.0
const gchar *
gdata_gd_name_get_family_name (GDataGDName *self
);
Gets the “family-name” property.
Since 0.5.0
void gdata_gd_name_set_family_name (GDataGDName *self
,const gchar *family_name
);
Sets the “family-name” property to family_name
.
Since 0.5.0
const gchar *
gdata_gd_name_get_prefix (GDataGDName *self
);
Gets the “prefix” property.
Since 0.5.0
void gdata_gd_name_set_prefix (GDataGDName *self
,const gchar *prefix
);
Sets the “prefix” property to prefix
.
Since 0.5.0
const gchar *
gdata_gd_name_get_suffix (GDataGDName *self
);
Gets the “suffix” property.
Since 0.5.0
void gdata_gd_name_set_suffix (GDataGDName *self
,const gchar *suffix
);
Sets the “suffix” property to suffix
.
Since 0.5.0
const gchar *
gdata_gd_name_get_full_name (GDataGDName *self
);
Gets the “full-name” property.
Since 0.5.0
void gdata_gd_name_set_full_name (GDataGDName *self
,const gchar *full_name
);
Sets the “full-name” property to full_name
.
Since 0.5.0
typedef struct _GDataGDName GDataGDName;
All the fields in the GDataGDName structure are private and should never be accessed directly.
Since 0.5.0
typedef struct { } GDataGDNameClass;
All the fields in the GDataGDNameClass structure are private and should never be accessed directly.
Since 0.5.0
“additional-name”
property“additional-name” gchar *
An additional name for the person (e.g. a middle name).
For more information, see the
GData specification.Flags: Read / Write
Default value: NULL
Since 0.5.0
“family-name”
property“family-name” gchar *
The person's family name.
For more information, see the
GData specification.Flags: Read / Write
Default value: NULL
Since 0.5.0
“full-name”
property“full-name” gchar *
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
GData specification.Flags: Read / Write
Default value: NULL
Since 0.5.0
“given-name”
property“given-name” gchar *
The person's given name.
For more information, see the
GData specification.Flags: Read / Write
Default value: NULL
Since 0.5.0
“prefix”
property“prefix” gchar *
An honorific prefix (e.g. Mr
or Mrs
).
For more information, see the
GData specification.Flags: Read / Write
Default value: NULL
Since 0.5.0
“suffix”
property“suffix” gchar *
An honorific suffix (e.g. san
or III
).
For more information, see the
GData specification.Flags: Read / Write
Default value: NULL
Since 0.5.0