| Top |  |  |  |  | 
ENameSelectorModel *
e_name_selector_model_new (void);
Creates a new ENameSelectorModel.
EContactStore *
e_name_selector_model_peek_contact_store
                               (ENameSelectorModel *name_selector_model);
Gets the EContactStore associated with name_selector_model
.
ETreeModelGenerator *
e_name_selector_model_peek_contact_filter
                               (ENameSelectorModel *name_selector_model);
Gets the ETreeModelGenerator being used to filter and/or extend the
list of contacts in name_selector_model
's EContactStore.
GList *
e_name_selector_model_list_sections (ENameSelectorModel *name_selector_model);
Gets a list of the destination sections in name_selector_model
.
gboolean e_name_selector_model_peek_section (ENameSelectorModel *name_selector_model,const gchar *name,gchar **pretty_name,EDestinationStore **destination_store);
Gets the parameters for a destination section.
| name_selector_model | ||
| name | internal name of the section to peek | |
| pretty_name | location in which to store a pointer to the user-visible name of the section,
or  | |
| destination_store | location in which to store a pointer to the EDestinationStore being used
by the section, or  | 
void e_name_selector_model_add_section (ENameSelectorModel *name_selector_model,const gchar *name,const gchar *pretty_name,EDestinationStore *destination_store);
Adds a destination section to name_selector_model
.
| name_selector_model | ||
| name | internal name of this section | |
| pretty_name | user-visible name of this section | |
| destination_store | the EDestinationStore to use to store the destinations for this
section, or  | 
void e_name_selector_model_remove_section (ENameSelectorModel *name_selector_model,const gchar *name);
Removes a destination section from name_selector_model
.
GList * e_name_selector_model_get_contact_emails_without_used (ENameSelectorModel *name_selector_model,EContact *contact,gboolean remove_used);
Returns list of all email from contact
, without all used
in any section. Each item is a string, an email address.
Returned list should be freed with e_name_selector_model_free_emails_list
.
| name_selector_model | ||
| contact | to get emails from | |
| remove_used | set to  | 
Since: 2.30
void
e_name_selector_model_free_emails_list
                               (GList *email_list);
Frees a list of emails returned from e_name_selector_model_get_contact_emails_without_used
.
| email_list | list of emails returned from  | 
Since: 2.30
“section-added” signalvoid user_function (ENameSelectorModel *enameselectormodel, char *arg1, gpointer user_data)
Flags: Run Last
“section-removed” signalvoid user_function (ENameSelectorModel *enameselectormodel, char *arg1, gpointer user_data)
Flags: Run Last