Osso Addressbook Reference Manual | ||||
---|---|---|---|---|
OssoABookAvatarImage; GtkWidget* osso_abook_avatar_image_new (void); void osso_abook_avatar_image_set_avatar (OssoABookAvatarImage *image, OssoABookAvatar *avatar); OssoABookAvatar* osso_abook_avatar_image_get_avatar (OssoABookAvatarImage *image);
typedef struct { GtkWidget parent_instance; } OssoABookAvatarImage;
All the fields of this structure are private to the object's implementation and should never be accessed directly.
GtkWidget* osso_abook_avatar_image_new (void);
Creates a new, empty OssoABookAvatarImage. You should
use osso_abook_avatar_image_set_avatar()
in order to display
the avatar image.
Returns : | the newly created OssoABookAvatarImage widget |
void osso_abook_avatar_image_set_avatar (OssoABookAvatarImage *image, OssoABookAvatar *avatar);
Sets the avatar object to be used to retrieve the avatar image to be displayed.
image : |
a OssoABookAvatarImage |
avatar : |
a OssoABookAvatar |
OssoABookAvatar* osso_abook_avatar_image_get_avatar (OssoABookAvatarImage *image);
Retrieves the OssoABookAvatar object used by image
.
image : |
a OssoABookAvatarImage |
Returns : | a OssoABookAvatar |