AsyncInitableIF.gAsyncInitableNewValistAsync

Helper function for constructing GAsyncInitiable object. This is similar to g_object_new_valist() 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

interface AsyncInitableIF
static
void
gAsyncInitableNewValistAsync

Parameters

objectType GType

a GType supporting GAsyncInitable.

firstPropertyName string

the name of the first property, followed by the value, and other property value pairs, and ended by NULL.

varArgs void*

The var args list generated from first_property_name.

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