folks Reference Manual | ||||
---|---|---|---|---|
Top | Description | Object Hierarchy | Prerequisites | Known Implementations | Properties |
FolksUrlFieldDetailsFolksUrlFieldDetails — Object representing a URL that can have some parameters associated with it. |
#define FOLKS_TYPE_URL_FIELD_DETAILS #define FOLKS_URL_FIELD_DETAILS_PARAM_TYPE_HOME_PAGE #define FOLKS_URL_FIELD_DETAILS_PARAM_TYPE_BLOG #define FOLKS_URL_FIELD_DETAILS_PARAM_TYPE_PROFILE #define FOLKS_URL_FIELD_DETAILS_PARAM_TYPE_FTP FolksUrlFieldDetails * folks_url_field_details_new (const gchar *value
,GeeMultiMap *parameters
); struct FolksUrlFieldDetails; void folks_url_details_change_urls (FolksUrlDetails *self
,GeeSet *urls
,GAsyncReadyCallback _callback_
,gpointer _user_data_
); void folks_url_details_change_urls_finish (FolksUrlDetails *self
,GAsyncResult *_res_
,GError **error
); GeeSet * folks_url_details_get_urls (FolksUrlDetails *self
); void folks_url_details_set_urls (FolksUrlDetails *self
,GeeSet *value
); FolksUrlDetails;
GObject +----FolksAbstractFieldDetails +----FolksUrlFieldDetails
GInterface +----FolksUrlDetails
#define FOLKS_TYPE_URL_FIELD_DETAILS (folks_url_field_details_get_type ())
The type for FolksUrlFieldDetails.
#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
FolksUrlFieldDetails * folks_url_field_details_new (const gchar *value
,GeeMultiMap *parameters
);
Create a new UrlFieldDetails.
|
the value of the field, a non-empty URI. [in] |
|
initial parameters. See "parameters". A `null` value is equivalent to a empty map of parameters. [in][allow-none] |
Returns : |
a new UrlFieldDetails |
Since 0.6.0
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
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).
See also: folks_url_details_change_urls_finish()
|
the FolksUrlDetails instance |
|
the set of URLs. [in] |
|
callback to call when the request is satisfied. [scope async] |
|
the data to pass to _callback_ function. [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).
See also: folks_url_details_change_urls()
|
the FolksUrlDetails instance |
|
a GAsyncResult |
|
location to store the error occuring, or NULL to ignore. [error-domains FolksPropertyError]
|
Since 0.6.2
GeeSet * folks_url_details_get_urls (FolksUrlDetails *self
);
|
the FolksUrlDetails instance to query |
Returns : |
the value of the "urls" property |
void folks_url_details_set_urls (FolksUrlDetails *self
,GeeSet *value
);
|
the FolksUrlDetails instance to modify |
|
the new value of the "urls" property |