Osso Addressbook Reference Manual | ||||
---|---|---|---|---|
OssoABookContactChooserOssoABookContactChooser — Dialog for choosing OssoABookContacts. |
OssoABookContactChooser; #define OSSO_ABOOK_CONTACT_CHOOSER_DBUS_IFACE #define OSSO_ABOOK_CONTACT_CHOOSER_DBUS_IFACE_STRING GtkWidget* osso_abook_contact_chooser_new (GtkWindow *parent, const gchar *title); void osso_abook_contact_chooser_deselect_all (OssoABookContactChooser *chooser); void osso_abook_contact_chooser_select (OssoABookContactChooser *chooser, OssoABookContact *contact); void osso_abook_contact_chooser_select_contacts (OssoABookContactChooser *chooser, GList *contacts); unsigned osso_abook_contact_chooser_get_maximum_selection (OssoABookContactChooser *chooser); unsigned osso_abook_contact_chooser_get_minimum_selection (OssoABookContactChooser *chooser); GList* osso_abook_contact_chooser_get_selection (OssoABookContactChooser *chooser); void osso_abook_contact_chooser_set_maximum_selection (OssoABookContactChooser *chooser, unsigned int limit); void osso_abook_contact_chooser_set_minimum_selection (OssoABookContactChooser *chooser, unsigned int limit);
This dialog provides an user interface for choosing contacts.
Addressbook can be quite large. Therefore this dialog tries to reuse the contact list of the already running Contacts application via D-BUS.
typedef struct { } OssoABookContactChooser;
All the fields of this structure are private to the object's implementation and should never be accessed directly.
#define OSSO_ABOOK_CONTACT_CHOOSER_DBUS_IFACE
Name of the OssoABookContactChooser's D-Bus interface as GQuark.
#define OSSO_ABOOK_CONTACT_CHOOSER_DBUS_IFACE_STRING
Name of the OssoABookContactChooser's D-Bus interface as string.
GtkWidget* osso_abook_contact_chooser_new (GtkWindow *parent, const gchar *title);
parent : |
|
title : |
|
Returns : |
void osso_abook_contact_chooser_deselect_all (OssoABookContactChooser *chooser);
chooser : |
void osso_abook_contact_chooser_select (OssoABookContactChooser *chooser, OssoABookContact *contact);
chooser : |
|
contact : |
void osso_abook_contact_chooser_select_contacts (OssoABookContactChooser *chooser, GList *contacts);
chooser : |
|
contacts : |
unsigned osso_abook_contact_chooser_get_maximum_selection (OssoABookContactChooser *chooser);
chooser : |
|
Returns : |
unsigned osso_abook_contact_chooser_get_minimum_selection (OssoABookContactChooser *chooser);
chooser : |
|
Returns : |
GList* osso_abook_contact_chooser_get_selection (OssoABookContactChooser *chooser);
chooser : |
|
Returns : |
void osso_abook_contact_chooser_set_maximum_selection (OssoABookContactChooser *chooser, unsigned int limit);
chooser : |
|
limit : |
void osso_abook_contact_chooser_set_minimum_selection (OssoABookContactChooser *chooser, unsigned int limit);
chooser : |
|
limit : |