Top |
FolksUrlFieldDetailsFolksUrlFieldDetails — Object representing a URL that can have some parameters associated with it. |
#define | FOLKS_TYPE_URL_FIELD_DETAILS |
FolksUrlFieldDetails * | folks_url_field_details_new () |
void | folks_url_details_change_urls () |
void | folks_url_details_change_urls_finish () |
GeeSet * | folks_url_details_get_urls () |
void | folks_url_details_set_urls () |
GInterface ╰── FolksUrlDetails GObject ╰── FolksAbstractFieldDetails ╰── FolksUrlFieldDetails
#define FOLKS_TYPE_URL_FIELD_DETAILS (folks_url_field_details_get_type ())
The type for FolksUrlFieldDetails.
FolksUrlFieldDetails * folks_url_field_details_new (const gchar *value
,GeeMultiMap *parameters
);
Create a new UrlFieldDetails.
value |
. the value of the field, a non-empty URI . |
[in] |
parameters |
. initial parameters. See "parameters". A . |
[in][allow-none] |
Since 0.6.0
void folks_url_details_change_urls (FolksUrlDetails *self
,GeeSet *urls
,GAsyncReadyCallback _callback_
,gpointer _user_data_
);
Change the contact's URLs.
It's preferred to call this rather than setting "urls" directly, as this method gives error notification and will only return once the URLs have been written to the relevant backing store (or the operation's failed).
FolksPropertyError will be returned in error
if setting the URLs failed
See also: folks_url_details_change_urls_finish()
self |
the FolksUrlDetails instance |
|
urls |
. the set of URLs . |
[in] |
_callback_ |
callback to call when the request is satisfied. |
[scope async] |
_user_data_ |
the data to pass to |
[closure] |
Since 0.6.2
void folks_url_details_change_urls_finish (FolksUrlDetails *self
,GAsyncResult *_res_
,GError **error
);
Change the contact's URLs.
It's preferred to call this rather than setting "urls" directly, as this method gives error notification and will only return once the URLs have been written to the relevant backing store (or the operation's failed).
FolksPropertyError will be returned in error
if setting the URLs failed
See also: folks_url_details_change_urls()
self |
the FolksUrlDetails instance |
|
_res_ |
||
error |
location to store the error occuring, or |
[error-domains FolksPropertyError] |
Since 0.6.2
GeeSet *
folks_url_details_get_urls (FolksUrlDetails *self
);
Get and return the current value of the "urls" property.
The websites of the contact.
A list or websites associated to the contact.
Since 0.5.1
void folks_url_details_set_urls (FolksUrlDetails *self
,GeeSet *value
);
Set the value of the "urls" property to value
.
The websites of the contact.
A list or websites associated to the contact.
Since 0.5.1
#define FOLKS_URL_FIELD_DETAILS_PARAM_TYPE_HOME_PAGE "x-home-page"
Parameter value for URLs for the contact's home page.
Value for a parameter with name FOLKS_ABSTRACT_FIELD_DETAILS_PARAM_TYPE
.
Since 0.6.3
#define FOLKS_URL_FIELD_DETAILS_PARAM_TYPE_BLOG "x-blog"
Parameter value for URLs for the contact's personal or professional blog.
Value for a parameter with name FOLKS_ABSTRACT_FIELD_DETAILS_PARAM_TYPE
.
Since 0.6.3
#define FOLKS_URL_FIELD_DETAILS_PARAM_TYPE_PROFILE "x-profile"
Parameter value for URLs for the contact's social networking profile.
Value for a parameter with name FOLKS_ABSTRACT_FIELD_DETAILS_PARAM_TYPE
.
Since 0.6.3
#define FOLKS_URL_FIELD_DETAILS_PARAM_TYPE_FTP "x-ftp"
Parameter value for URLs for the contact's personal or professional FTP server.
Value for a parameter with name FOLKS_ABSTRACT_FIELD_DETAILS_PARAM_TYPE
.
Since 0.6.3
struct FolksUrlFieldDetails;
Object representing a URL that can have some parameters associated with it.
See FolksAbstractFieldDetails for details on common parameter names and values.
Since 0.6.0
struct FolksUrlFieldDetailsClass { FolksAbstractFieldDetailsClass parent_class; };
The class structure for FOLKS_TYPE_URL_FIELD_DETAILS
. All the fields in this structure are private and should never be accessed directly.
typedef struct _FolksUrlDetails FolksUrlDetails;
Associates a list of URLs with a contact.
Since 0.3.5
struct FolksUrlDetailsIface { GTypeInterface parent_iface; void (*change_urls) (FolksUrlDetails* self, GeeSet* urls, GAsyncReadyCallback _callback_, gpointer _user_data_); void (*change_urls_finish) (FolksUrlDetails* self, GAsyncResult* _res_, GError** error); GeeSet* (*get_urls) (FolksUrlDetails* self); void (*set_urls) (FolksUrlDetails* self, GeeSet* value); };
Interface for creating FolksUrlDetails implementations.
GTypeInterface |
the parent interface structure |
|
virtual method called by |
||
asynchronous finish function for |
||
getter method for the abstract property "urls" |
||
setter method for the abstract property "urls" |