Osso Addressbook Reference Manual | ||||
---|---|---|---|---|
OssoABookContactEditorOssoABookContactEditor — Dialog for editing OssoABookContacts |
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);
typedef struct { } OssoABookContactEditor;
All the fields of this structure are private to the object's implementation and should never be accessed directly.
GtkWidget* osso_abook_contact_editor_new (void);
Creates a new OssoABookContactEditor object.
Returns : | A new OssoABookContactEditor object. |
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. |
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 |
OssoABookContact* osso_abook_contact_editor_get_contact (OssoABookContactEditor *editor);
Get the contact this editor is currently displaying.
editor : |
An OssoABookContactEditor |
Returns : | An OssoABookContact |