OssoABookAvatarImage

OssoABookAvatarImage — Avatar image widget.

Synopsis

                    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);

Description

OssoABookAvatarImage is a widget that shows a contact's OssoABookAvatar.

Details

OssoABookAvatarImage

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.


osso_abook_avatar_image_new ()

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

osso_abook_avatar_image_set_avatar ()

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

osso_abook_avatar_image_get_avatar ()

OssoABookAvatar*    osso_abook_avatar_image_get_avatar  (OssoABookAvatarImage *image);

Retrieves the OssoABookAvatar object used by image.

image : a OssoABookAvatarImage
Returns : a OssoABookAvatar