folks Reference Manual | ||||
---|---|---|---|---|
Top | Description | Object Hierarchy | Prerequisites | Known Implementations | Properties |
FolksAvatarDetailsFolksAvatarDetails — Interface for classes which represent contacts which have an avatar (pictorial representation), such as FolksPersona and FolksIndividual. |
void folks_avatar_details_change_avatar (FolksAvatarDetails *self
,GLoadableIcon *avatar
,GAsyncReadyCallback _callback_
,gpointer _user_data_
); void folks_avatar_details_change_avatar_finish (FolksAvatarDetails *self
,GAsyncResult *_res_
,GError **error
); GLoadableIcon * folks_avatar_details_get_avatar (FolksAvatarDetails *self
); void folks_avatar_details_set_avatar (FolksAvatarDetails *self
,GLoadableIcon *value
); FolksAvatarDetails;
void folks_avatar_details_change_avatar (FolksAvatarDetails *self
,GLoadableIcon *avatar
,GAsyncReadyCallback _callback_
,gpointer _user_data_
);
Change the contact's avatar.
It's preferred to call this rather than setting "avatar" directly, as this method gives error notification and will only return once the avatar has been written to the relevant backing store (or the operation's failed).
See also: folks_avatar_details_change_avatar_finish()
|
the FolksAvatarDetails instance |
|
the new avatar (or `null` to unset the avatar). [in][allow-none] |
|
callback to call when the request is satisfied. [scope async] |
|
the data to pass to _callback_ function. [closure]
|
Since 0.6.2
void folks_avatar_details_change_avatar_finish (FolksAvatarDetails *self
,GAsyncResult *_res_
,GError **error
);
Change the contact's avatar.
It's preferred to call this rather than setting "avatar" directly, as this method gives error notification and will only return once the avatar has been written to the relevant backing store (or the operation's failed).
See also: folks_avatar_details_change_avatar()
|
the FolksAvatarDetails instance |
|
a GAsyncResult |
|
location to store the error occuring, or NULL to ignore. [error-domains FolksPropertyError]
|
Since 0.6.2
GLoadableIcon * folks_avatar_details_get_avatar (FolksAvatarDetails *self
);
|
the FolksAvatarDetails instance to query |
Returns : |
the value of the "avatar" property |
void folks_avatar_details_set_avatar (FolksAvatarDetails *self
,GLoadableIcon *value
);
|
the FolksAvatarDetails instance to modify |
|
the new value of the "avatar" property |
typedef struct _FolksAvatarDetails FolksAvatarDetails;
Interface for classes which represent contacts which have an avatar (pictorial representation), such as FolksPersona and FolksIndividual.