AsyncInitable.newvAsync

Helper function for constructing #GAsyncInitable object. This is similar to gobject.object.ObjectG.newv but also initializes the object asynchronously.

When the initialization is finished, callback will be called. You can then call gio.async_initable.AsyncInitable.newFinish to get the new object and check for any errors.

More...

Parameters

objectType gobject.types.GType

a #GType supporting #GAsyncInitable.

nParameters uint

the number of parameters in parameters

parameters gobject.parameter.Parameter

the parameters to use to construct the object

ioPriority int

the [I/O priority][io-priority] of the operation

cancellable gio.cancellable.Cancellable

optional #GCancellable object, null to ignore.

callback gio.types.AsyncReadyCallback

a #GAsyncReadyCallback to call when the initialization is finished

Detailed Description

Deprecated: Use gobject.object.ObjectG.newWithProperties and gio.async_initable.AsyncInitable.initAsync instead. See #GParameter for more information.