Method
GtkSourceFileLoaderload_async
Declaration [src]
void
gtk_source_file_loader_load_async (
GtkSourceFileLoader* loader,
gint io_priority,
GCancellable* cancellable,
GFileProgressCallback progress_callback,
gpointer progress_callback_data,
GDestroyNotify progress_callback_notify,
GAsyncReadyCallback callback,
gpointer user_data
)
Description [src]
Loads asynchronously the file or input stream contents into the GtkSourceBuffer
.
See the GAsyncResult
documentation to know how to use this function.
Parameters
io_priority |
gint |
The I/O priority of the request. E.g. |
|
cancellable |
GCancellable |
Optional |
|
The argument can be NULL . | |
The data is owned by the caller of the function. | |
progress_callback |
GFileProgressCallback |
Function to call back with
progress information, or |
|
The argument can be NULL . | |
progress_callback_data |
gpointer |
User data to pass to |
|
The argument can be NULL . | |
The data is owned by the caller of the function. | |
progress_callback_notify |
GDestroyNotify |
Function to call on
|
|
The argument can be NULL . | |
callback |
GAsyncReadyCallback |
A |
|
The argument can be NULL . | |
user_data |
gpointer |
User data to pass to |
|
The argument can be NULL . | |
The data is owned by the caller of the function. |