| Evolution-Data-Server Manual: Graphical Utilities (libedataserverui) | ||||
|---|---|---|---|---|
| Top | Description | Object Hierarchy | Implemented Interfaces | Signals | ||||
struct EContactStore; EContactStore * e_contact_store_new (void); EBookClient * e_contact_store_get_client (EContactStore *contact_store,GtkTreeIter *iter); EContact * e_contact_store_get_contact (EContactStore *contact_store,GtkTreeIter *iter); gboolean e_contact_store_find_contact (EContactStore *contact_store,const gchar *uid,GtkTreeIter *iter); GSList * e_contact_store_get_clients (EContactStore *contact_store); void e_contact_store_add_client (EContactStore *contact_store,EBookClient *book_client); void e_contact_store_remove_client (EContactStore *contact_store,EBookClient *book_client); void e_contact_store_set_query (EContactStore *contact_store,EBookQuery *book_query); EBookQuery * e_contact_store_peek_query (EContactStore *contact_store);
EContactStore * e_contact_store_new (void);
Creates a new EContactStore.
Returns : |
A new EContactStore. |
EBookClient * e_contact_store_get_client (EContactStore *contact_store,GtkTreeIter *iter);
Gets the EBookClient that provided the contact at iter.
|
an EContactStore |
|
a GtkTreeIter from contact_store
|
Returns : |
An EBookClient. |
Since 3.2
EContact * e_contact_store_get_contact (EContactStore *contact_store,GtkTreeIter *iter);
Gets the EContact at iter.
|
an EContactStore |
|
a GtkTreeIter from contact_store
|
Returns : |
An EContact. |
gboolean e_contact_store_find_contact (EContactStore *contact_store,const gchar *uid,GtkTreeIter *iter);
Sets iter to point to the contact row matching uid.
|
an EContactStore |
|
a unique contact identifier |
|
a destination GtkTreeIter to set |
Returns : |
TRUE if the contact was found, and iter was set. FALSE otherwise. |
GSList * e_contact_store_get_clients (EContactStore *contact_store);
Gets the list of book clients that provide contacts for contact_store.
|
an EContactStore |
Returns : |
A GSList of pointers to EBookClient. The caller owns the list, but not the book clients. |
Since 3.2
void e_contact_store_add_client (EContactStore *contact_store,EBookClient *book_client);
Adds book_client to the list of book clients that provide contacts for contact_store.
The contact_store adds a reference to book_client, if added.
|
an EContactStore |
|
an EBookClient |
Since 3.2
void e_contact_store_remove_client (EContactStore *contact_store,EBookClient *book_client);
Removes book from the list of book clients that provide contacts for contact_store.
|
an EContactStore |
|
an EBookClient |
Since 3.2
void e_contact_store_set_query (EContactStore *contact_store,EBookQuery *book_query);
Sets book_query to be the query used to fetch contacts from the books
assigned to contact_store.
|
an EContactStore |
|
an EBookQuery |
EBookQuery * e_contact_store_peek_query (EContactStore *contact_store);
Gets the query that's being used to fetch contacts from the books
assigned to contact_store.
|
an EContactStore |
Returns : |
The EBookQuery being used. |
"start-client-view" signalvoid user_function (EContactStore *econtactstore,
EBookClientView *arg1,
gpointer user_data) : Run Last
"stop-client-view" signalvoid user_function (EContactStore *econtactstore,
EBookClientView *arg1,
gpointer user_data) : Run Last