| Top |
|
|
e_client_combo_box_new () |
| EClientCache * | e_client_combo_box_ref_client_cache () |
|
|
e_client_combo_box_set_client_cache () |
|
|
e_client_combo_box_get_client_sync () |
|
|
e_client_combo_box_get_client () |
|
|
e_client_combo_box_get_client_finish () |
|
|
e_client_combo_box_ref_cached_client () |
As a future enhancement, this widget may also display status information
about the backends associated with the displayed data sources, similar to
GtkWidget * e_client_combo_box_new (EClientCache *client_cache,const);gchar *extension_name
Creates a new client_cache
. The displayed sources are restricted to
those which have an extension_name
extension.
EClientCache *
e_client_combo_box_ref_client_cache (EClientComboBox *combo_box);
Returns the EClientCache passed to e_client_combo_box_new().
The returned EClientCache is referenced for thread-safety and must be
unreferenced with g_object_unref()
void e_client_combo_box_set_client_cache (,EClientComboBox *combo_boxEClientCache *client_cache);
Simultaneously sets the
This function is intended for cases where combo_box
is instantiated
by a
EClient * e_client_combo_box_get_client_sync (,EClientComboBox *combo_box,ESource *source,GCancellable *cancellable);GError **error
Obtains a shared source
, or else creates a new
The e_client_cache_get_client_sync() for a list
of valid extension names.
If a request for the same source
and
Unreference the returned g_object_unref()error
and return
NULL
void e_client_combo_box_get_client (,EClientComboBox *combo_box,ESource *source,GCancellable *cancellable,GAsyncReadyCallback callback);gpointer user_data
Asynchronously obtains a shared source
, or else
creates a new
The e_client_cache_get_client_sync() for a list
of valid extension names.
If a request for the same source
and
When the operation is finished, callback
will be called. You can
then call e_client_combo_box_get_client_finish() to get the result of
the operation.
EClient * e_client_combo_box_get_client_finish (,EClientComboBox *combo_box,GAsyncResult *result);GError **error
Finishes the operation started with e_client_combo_box_get_client().
Unreference the returned g_object_unref()error
and return
NULL
EClient * e_client_combo_box_ref_cached_client (,EClientComboBox *combo_box);ESource *source
Returns a shared source
and the value of
NULL
The returned g_object_unref()