Evolution-Data-Server Manual: Utilities (libedataserver) | ||||
---|---|---|---|---|
Top | Description | Object Hierarchy |
ESourceAutocompleteESourceAutocomplete — ESource extension for autocomplete settings |
Synopsis
#include <libedataserver/libedataserver.h> struct ESourceAutocomplete; #define E_SOURCE_EXTENSION_AUTOCOMPLETE gboolean e_source_autocomplete_get_include_me (ESourceAutocomplete *extension
); void e_source_autocomplete_set_include_me (ESourceAutocomplete *extension
,gboolean include_me
);
Description
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); |
Details
struct ESourceAutocomplete
struct ESourceAutocomplete;
Contains only private data that should be read and manipulated using the functions below.
Since 3.6
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
e_source_autocomplete_get_include_me ()
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
e_source_autocomplete_set_include_me ()
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