OssoABookContactEditor

OssoABookContactEditor — Dialog for editing OssoABookContacts

Synopsis

                    OssoABookContactEditor;
GtkWidget*          osso_abook_contact_editor_new       (void);
GtkWidget*          osso_abook_contact_editor_new_with_contact
                                                        (GtkWindow *parent,
                                                         OssoABookContact *contact,
                                                         OssoABookContactEditorMode mode);
void                osso_abook_contact_editor_set_contact
                                                        (OssoABookContactEditor *editor,
                                                         OssoABookContact *contact);
OssoABookContact*   osso_abook_contact_editor_get_contact
                                                        (OssoABookContactEditor *editor);

Description

This dialog provides an user interface for editing contacts.

Details

OssoABookContactEditor

typedef struct {
} OssoABookContactEditor;

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


osso_abook_contact_editor_new ()

GtkWidget*          osso_abook_contact_editor_new       (void);

Creates a new OssoABookContactEditor object.

Returns : A new OssoABookContactEditor object.

osso_abook_contact_editor_new_with_contact ()

GtkWidget*          osso_abook_contact_editor_new_with_contact
                                                        (GtkWindow *parent,
                                                         OssoABookContact *contact,
                                                         OssoABookContactEditorMode mode);

Creates a new OssoABookContactEditor object and initializes some of its properties.

parent : the parent window, or NULL
contact : the contact, or NULL
mode : operation mode of the dialog
Returns : A new OssoABookContactEditor object.

osso_abook_contact_editor_set_contact ()

void                osso_abook_contact_editor_set_contact
                                                        (OssoABookContactEditor *editor,
                                                         OssoABookContact *contact);

Set the contact to display in the dialog for editing.

editor : An OssoABookContactEditor
contact : An OssoABookContact

osso_abook_contact_editor_get_contact ()

OssoABookContact*   osso_abook_contact_editor_get_contact
                                                        (OssoABookContactEditor *editor);

Get the contact this editor is currently displaying.

editor : An OssoABookContactEditor
Returns : An OssoABookContact