| Evolution-Data-Server Manual: Graphical Utilities (libedataserverui) | ||||
|---|---|---|---|---|
| Top | Description | ||||
EBook * e_load_book_source (ESource *source,EBookCallback open_func,gpointer user_data); EBook * e_load_book_source_async (ESource *source,EBookAsyncCallback open_func,gpointer user_data);
EBook * e_load_book_source (ESource *source,EBookCallback open_func,gpointer user_data);
e_load_book_source has been deprecated since version 3.0 and should not be used in newly-written code. Use e_load_book_source_async() instead.
Creates a new EBook specified by source, and starts a non-blocking
open operation on it. If the book requires authorization, presents
a window asking the user for such.
When the operation finishes, calls the callback function indicating
if it succeeded or not. If you don't care, you can pass NULL for
open_func, and no action will be taken on completion.
EBook * e_load_book_source_async (ESource *source,EBookAsyncCallback open_func,gpointer user_data);
Creates a new EBook specified by source, and starts a non-blocking
open operation on it. If the book requires authorization, presents
a window asking the user for such.
When the operation finishes, calls the callback function indicating
if it succeeded or not. If you don't care, you can pass NULL for
open_func_ex, and no action will be taken on completion.
|
an ESource |
|
|
|
data to pass to callback function |
Returns : |
A new EBook that is being opened. |
Since 2.32