AsyncInitableT.gAsyncInitableNewvAsync

Helper function for constructing GAsyncInitiable object. This is similar to g_object_newv() but also initializes the object asynchronously. When the initialization is finished, callback will be called. You can then call g_async_initable_new_finish() to get the new object and check for any errors. Since 2.22

template AsyncInitableT(TStruct)
static
void
gAsyncInitableNewvAsync

Parameters

objectType GType

a GType supporting GAsyncInitable.

parameters GParameter[]

the parameters to use to construct the object

ioPriority int

the I/O priority of the operation.

cancellable Cancellable

optional GCancellable object, NULL to ignore.

callback GAsyncReadyCallback

a GAsyncReadyCallback to call when the initialization is finished

userData void*

the data to pass to callback function

Meta