| Evolution-Data-Server Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | ||||
ESourceAutocompleteESourceAutocomplete — ESource extension for autocomplete settings |
#include <libedataserver/libedataserver.h> #define E_SOURCE_EXTENSION_AUTOCOMPLETE struct ESourceAutocomplete; struct ESourceAutocompleteClass; gboolean e_source_autocomplete_get_include_me (ESourceAutocomplete *extension); void e_source_autocomplete_set_include_me (ESourceAutocomplete *extension,gboolean include_me);
The ESourceAutocomplete extension tracks contact autocompletion settings for an address book.
Access the extension as follows:
1 2 3 4 5 |
#include <libedataserver/libedataserver.h> ESourceAutocomplete *extension; extension = e_source_get_extension (source, E_SOURCE_EXTENSION_AUTOCOMPLETE); |
#define E_SOURCE_EXTENSION_AUTOCOMPLETE "Autocomplete"
Pass this extension name to e_source_get_extension() to access
ESourceAutocomplete. This is also used as a group name in key files.
Since 3.6
struct ESourceAutocomplete {
ESourceExtension parent;
ESourceAutocompletePrivate *priv;
};
Contains only private data that should be read and manipulated using the functions below.
Since 3.6
struct ESourceAutocompleteClass {
ESourceExtensionClass parent_class;
};
gboolean e_source_autocomplete_get_include_me
(ESourceAutocomplete *extension);
Returns whether the address book described by the ESource to which
extension belongs should be queried when the user inputs a partial
contact name or email address.
|
an ESourceAutocomplete |
Returns : |
whether to use the autocomplete feature |
Since 3.6
void e_source_autocomplete_set_include_me (ESourceAutocomplete *extension,gboolean include_me);
Sets whether the address book described by the ESource to which
extension belongs should be queried when the user inputs a partial
contact name or email address.
|
an ESourceAutocomplete |
|
whether to use the autocomplete feature |
Since 3.6