Osso Addressbook Reference Manual | ||||
---|---|---|---|---|
OssoABookTemporaryContactDialogOssoABookTemporaryContactDialog — Dialog for starting actions from a temporary contact |
OssoABookTemporaryContactDialog; GtkWidget* osso_abook_temporary_contact_dialog_new (GtkWindow *parent, EBook *book, EVCardAttribute *attribute, McAccount *account); GtkWidget* osso_abook_temporary_contact_dialog_new_with_contact (GtkWindow *parent, OssoABookContact *contact);
GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkContainer +----GtkBin +----GtkWindow +----GtkDialog +----OssoABookTemporaryContactDialog
OssoABookTemporaryContactDialog implements AtkImplementorIface and GtkBuildable.
"account" McAccount* : Read / Write / Construct Only "attribute" EVCardAttribute* : Read / Write / Construct Only "tmp-contact" OssoABookContact* : Read / Write / Construct Only
This class provides a dialog to display details about a temporary contact or contact fragment that is not in the system addressbook. For example, a vcard email attachment or an unknown phone number in the recent contacts list are temporary contacts.
typedef struct _OssoABookTemporaryContactDialog OssoABookTemporaryContactDialog;
All the fields of this structure are private to the object's implementation and should never be accessed directly.
GtkWidget* osso_abook_temporary_contact_dialog_new (GtkWindow *parent, EBook *book, EVCardAttribute *attribute, McAccount *account);
Creates a new OssoABookTemporaryContactDialog to display the contact
fragment represented by attribute
parent : |
an optional parent GtkWindow |
book : |
an optional EBook related to temporary contact detail |
attribute : |
a contact detail to display |
account : |
an optional account associated with this detail |
GtkWidget* osso_abook_temporary_contact_dialog_new_with_contact (GtkWindow *parent, OssoABookContact *contact);
Creates a new OssoABookTemporaryContactDialog to display contact
parent : |
an optional parent GtkWindow |
contact : |
the contact to display |
"account"
property"account" McAccount* : Read / Write / Construct Only
The account of the temporary contact if any.
"attribute"
property"attribute" EVCardAttribute* : Read / Write / Construct Only
The temporary attribute.
"tmp-contact"
property"tmp-contact" OssoABookContact* : Read / Write / Construct Only
The temporary contact.
"contact-saved"
signalgboolean user_function (OssoABookTemporaryContactDialog *dialog, gchar *uid, gpointer user_data) : Run Last
This signal is emitted when the dialog's temporary contact is saved
as a new contact (not merged). The callback should return TRUE
if
processing of the event is complete (so any remaining signal handlers
will not be called).
dialog : |
an OssoABookTemporaryContactDialog |
uid : |
the UID of the OssoABookContact saved |
user_data : |
user data set when the signal handler was connected. |