| Osso Addressbook Reference Manual | ||||
|---|---|---|---|---|
OssoABookTouchContactStarterOssoABookTouchContactStarter — Core widget to initiate communication with a contact or view their basic information. |
OssoABookTouchContactStarter;
GtkWidget* osso_abook_touch_contact_starter_new
(void);
GtkWidget* osso_abook_touch_contact_starter_new_with_contact
(GtkWindow *parent,
OssoABookContact *contact);
void osso_abook_touch_contact_starter_set_contact
(OssoABookTouchContactStarter *starter,
OssoABookContact *contact);
OssoABookContact* osso_abook_touch_contact_starter_get_contact
(OssoABookTouchContactStarter *starter);
The OssoABookTouchContactStarter is a widget that allows the user to start chat, VoIP sessions, phone calls, emails, or SMSes to a contact. If this widget is added directly inside a GtkWindow (eg, HildonStackableWindow), it will also set the window's title appropriately based on the current contact.
This widget is derived from GtkBin.
typedef struct {
} OssoABookTouchContactStarter;
All the fields of this structure are private to the object's implementation and should never be accessed directly.
GtkWidget* osso_abook_touch_contact_starter_new
(void);
Create a new OssoABookTouchContactStarter object.
| Returns : | the new OssoABookTouchContactStarter |
GtkWidget* osso_abook_touch_contact_starter_new_with_contact
(GtkWindow *parent,
OssoABookContact *contact);
Creates a new OssoABookTouchContactStarter object and initializes some of its properties.
parent : |
the parent window, or NULL
|
contact : |
the contact, or NULL
|
| Returns : | A new OssoABookTouchContactStarter object. |
void osso_abook_touch_contact_starter_set_contact
(OssoABookTouchContactStarter *starter,
OssoABookContact *contact);
Set the OssoABook this contact starter is acting on.
starter : |
An OssoABookTouchContactStarter |
contact : |
An OssoABookContact to act upon |
OssoABookContact* osso_abook_touch_contact_starter_get_contact (OssoABookTouchContactStarter *starter);
Get the OssoABookContact this contact starter is acting on.
starter : |
An OssoABookTouchContactStarter |
| Returns : | the OssoABookContact |