FileLoader.loadAsync

Loads asynchronously the file or input stream contents into the classBuffer.

See the gio.async_result.AsyncResult documentation to know how to use this function.

Parameters

ioPriority int

the I/O priority of the request. E.g. G_PRIORITY_LOW, G_PRIORITY_DEFAULT or G_PRIORITY_HIGH.

cancellable gio.cancellable.Cancellable

optional #GCancellable object, null to ignore.

progressCallback gio.types.FileProgressCallback

function to call back with progress information, or null if progress information is not needed.

callback gio.types.AsyncReadyCallback

a #GAsyncReadyCallback to call when the request is satisfied.