OssoABookPresenceIcon

OssoABookPresenceIcon — Icon representing the presence state.

Synopsis

                    OssoABookPresenceIcon;
GtkWidget*          osso_abook_presence_icon_new        (OssoABookPresence *presence);
void                osso_abook_presence_icon_set_presence
                                                        (OssoABookPresenceIcon *icon,
                                                         OssoABookPresence *presence);
OssoABookPresence*  osso_abook_presence_icon_get_presence
                                                        (OssoABookPresenceIcon *icon);

Description

OssoABookPresenceIcon is a widget that shows the state of an OssoABookPresence.

Details

OssoABookPresenceIcon

typedef struct {
} OssoABookPresenceIcon;

All the fields of this structure are private to the object's implementation and should never be accessed directly.


osso_abook_presence_icon_new ()

GtkWidget*          osso_abook_presence_icon_new        (OssoABookPresence *presence);

Create a new OssoABookPresenceIcon.

presence : An OssoABookPresence
Returns : a new OssoABookPresenceIcon.

osso_abook_presence_icon_set_presence ()

void                osso_abook_presence_icon_set_presence
                                                        (OssoABookPresenceIcon *icon,
                                                         OssoABookPresence *presence);

Set the presence to display.

icon : An OssoABookPresenceIcon
presence : An OssoABookPresence

osso_abook_presence_icon_get_presence ()

OssoABookPresence*  osso_abook_presence_icon_get_presence
                                                        (OssoABookPresenceIcon *icon);

Retrieves the displayed presence.

icon : An OssoABookPresenceIcon
Returns : The displayed OssoABookPresence.