or null on error. Free with [gobject.object.ObjectWrap.unref].
AsyncInitable.newFinish
gobject.object.ObjectWrap newFinish(gio.async_result.AsyncResult res)Finishes the async construction for the various g_async_initable_new calls, returning the created object or null on error.
Parameters
res | the #GAsyncResult from the callback |
Returns
a newly created #GObject,
Throws
[ErrorWrap]