Osso Addressbook Reference Manual | ||||
---|---|---|---|---|
OssoABookContactDetailSelectorOssoABookContactDetailSelector — Dialog for selecting contact details. |
OssoABookContactDetailSelector; GtkWidget* osso_abook_contact_detail_selector_new (GtkWindow *parent, OssoABookContactDetailStore *details); GtkWidget* osso_abook_contact_detail_selector_new_for_contact (GtkWindow *parent, OssoABookContact *contact, OssoABookContactDetailFilters filters); EVCardAttribute* osso_abook_contact_detail_selector_get_detail (OssoABookContactDetailSelector *self); OssoABookContactField* osso_abook_contact_detail_selector_get_selected_field (OssoABookContactDetailSelector *self);
GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkContainer +----GtkBin +----GtkWindow +----GtkDialog +----OssoABookContactDetailSelector
OssoABookContactDetailSelector implements AtkImplementorIface and GtkBuildable.
This widget provides a selector that allows a user to select a particular detail about a given contact
typedef struct _OssoABookContactDetailSelector OssoABookContactDetailSelector;
All the fields of this structure are private to the object's implementation and should never be accessed directly.
GtkWidget* osso_abook_contact_detail_selector_new (GtkWindow *parent, OssoABookContactDetailStore *details);
Creates a new OssoABookContactDetailSelector object.
parent : |
an optional parent GtkWindow |
details : |
the available details that can be selected |
GtkWidget* osso_abook_contact_detail_selector_new_for_contact (GtkWindow *parent, OssoABookContact *contact, OssoABookContactDetailFilters filters);
Creates a new OssoABookContactDetailSelector for contact
, with the details
filtered by the flags specified in filters
parent : |
an optional parent GtkWindow |
contact : |
the contact from which to select a detail |
filters : |
flags to filter available details |
EVCardAttribute* osso_abook_contact_detail_selector_get_detail (OssoABookContactDetailSelector *self);
Gets the currently-selected detail (if any) from the selector as an EVCardAttribute
self : |
a OssoABookContactDetailSelector |
Returns : | the selected detail or NULL , owned by self
|
OssoABookContactField* osso_abook_contact_detail_selector_get_selected_field (OssoABookContactDetailSelector *self);
Gets the currently-selected detail (if any) from the selector as an OssoABookContactField
self : |
a OssoABookContactDetailSelector |
Returns : | the currently selected field, or NULL , owned by self
|
"details"
property"details" OssoABookContactDetailStore* : Read / Write
The contact detail store.