| Top |
| GDataGContactWebsite * | gdata_gcontact_website_new () |
| const gchar * | gdata_gcontact_website_get_uri () |
| void | gdata_gcontact_website_set_uri () |
| const gchar * | gdata_gcontact_website_get_relation_type () |
| void | gdata_gcontact_website_set_relation_type () |
| const gchar * | gdata_gcontact_website_get_label () |
| void | gdata_gcontact_website_set_label () |
| gboolean | gdata_gcontact_website_is_primary () |
| void | gdata_gcontact_website_set_is_primary () |
| gboolean | is-primary | Read / Write |
| gchar * | label | Read / Write |
| gchar * | relation-type | Read / Write |
| gchar * | uri | Read / Write |
| #define | GDATA_GCONTACT_WEBSITE_HOME_PAGE |
| #define | GDATA_GCONTACT_WEBSITE_BLOG |
| #define | GDATA_GCONTACT_WEBSITE_PROFILE |
| #define | GDATA_GCONTACT_WEBSITE_HOME |
| #define | GDATA_GCONTACT_WEBSITE_WORK |
| #define | GDATA_GCONTACT_WEBSITE_OTHER |
| #define | GDATA_GCONTACT_WEBSITE_FTP |
| GDataGContactWebsite | |
| GDataGContactWebsiteClass |
GDataGContactWebsite * gdata_gcontact_website_new (const gchar *uri,const gchar *relation_type,const gchar *label,gboolean is_primary);
Creates a new GDataGContactWebsite. More information is available in the gContact specification.
Exactly one of relation_type
and label
should be provided; the other must be NULL.
Since 0.7.0
const gchar *
gdata_gcontact_website_get_uri (GDataGContactWebsite *self);
Gets the “uri” property.
Since 0.7.0
void gdata_gcontact_website_set_uri (GDataGContactWebsite *self,const gchar *uri);
Sets the “uri” property to uri
.
Since 0.7.0
const gchar *
gdata_gcontact_website_get_relation_type
(GDataGContactWebsite *self);
Gets the “relation-type” property.
Since 0.7.0
void gdata_gcontact_website_set_relation_type (GDataGContactWebsite *self,const gchar *relation_type);
Sets the “relation-type” property to relation_type
such as GDATA_GCONTACT_WEBSITE_HOME_PAGE or GDATA_GCONTACT_WEBSITE_FTP.
If relation_type
is NULL, the relation type will be unset. When the GDataGContactWebsite is used in a query, however,
exactly one of “relation-type” and “label” must be NULL.
Since 0.7.0
const gchar *
gdata_gcontact_website_get_label (GDataGContactWebsite *self);
Gets the “label” property.
Since 0.7.0
void gdata_gcontact_website_set_label (GDataGContactWebsite *self,const gchar *label);
Sets the “label” property to label
.
If label
is NULL, the label will be unset. When the GDataGContactWebsite is used in a query, however,
exactly one of “relation-type” and “label” must be NULL.
Since 0.7.0
gboolean
gdata_gcontact_website_is_primary (GDataGContactWebsite *self);
Gets the “is-primary” property.
Since 0.7.0
void gdata_gcontact_website_set_is_primary (GDataGContactWebsite *self,gboolean is_primary);
Sets the “is-primary” property to is_primary
.
Since 0.7.0
#define GDATA_GCONTACT_WEBSITE_HOME_PAGE "home-page"
The relation type URI for a contact's home page.
For more information, see the gContact specification.
Since 0.7.0
#define GDATA_GCONTACT_WEBSITE_BLOG "blog"
The relation type URI for a contact's blog.
For more information, see the gContact specification.
Since 0.7.0
#define GDATA_GCONTACT_WEBSITE_PROFILE "profile"
The relation type URI for a contact's online profile.
For more information, see the gContact specification.
Since 0.7.0
#define GDATA_GCONTACT_WEBSITE_HOME "home"
The relation type URI for a contact's home website.
For more information, see the gContact specification.
Since 0.7.0
#define GDATA_GCONTACT_WEBSITE_WORK "work"
The relation type URI for a contact's work website.
For more information, see the gContact specification.
Since 0.7.0
#define GDATA_GCONTACT_WEBSITE_OTHER "other"
The relation type URI for a miscellaneous website of the contact.
For more information, see the gContact specification.
Since 0.7.0
#define GDATA_GCONTACT_WEBSITE_FTP "ftp"
The relation type URI for a contact's FTP site.
For more information, see the gContact specification.
Since 0.7.0
typedef struct _GDataGContactWebsite GDataGContactWebsite;
All the fields in the GDataGContactWebsite structure are private and should never be accessed directly.
Since 0.7.0
typedef struct {
} GDataGContactWebsiteClass;
All the fields in the GDataGContactWebsiteClass structure are private and should never be accessed directly.
Since 0.7.0
“is-primary” property“is-primary” gboolean
Indicates which website out of a group is primary.
For more information, see the
gContact specification.Flags: Read / Write
Default value: FALSE
Since 0.7.0
“label” property“label” gchar *
A simple string value used to name this website. It allows UIs to display a label such as "Work", "Travel blog", "Personal blog", etc. It is mutually exclusive with “relation-type”.
For more information, see the
gContact specification.Flags: Read / Write
Default value: NULL
Since 0.7.0
“relation-type” property“relation-type” gchar *
A programmatic value that identifies the type of website. Examples are GDATA_GCONTACT_WEBSITE_HOME_PAGE or GDATA_GCONTACT_WEBSITE_FTP.
It is mutually exclusive with “label”.
For more information, see the
gContact specification.Flags: Read / Write
Default value: NULL
Since 0.7.0
“uri” property“uri” gchar *
The URI of the website.
For more information, see the
gContact specification.Flags: Read / Write
Default value: NULL
Since 0.7.0