AsyncInitableIF.newValistAsync

Helper function for constructing GAsyncInitable 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.

interface AsyncInitableIF
static
void
newValistAsync

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][io-priority] of the operation

cancellable Cancellable

optional gio.Cancellable 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

Since

2.22