gAsyncInitableNewAsync: gAsyncInitableNewAsync

Description Usage Arguments Details Author(s)

View source: R/gioManuals.R

Description

Helper function for constructing GAsyncInitiable object. This is similar to gObjectNew but also initializes the object asyncronously.

Usage

1
2
gAsyncInitableNewAsync(object.type, io.priority, cancellable, 
    callback, user.data, ...)

Arguments

object.type

a GType supporting GAsyncInitable.

io.priority

the I/O priority of the operation.

cancellable

optional GCancellable object, NULL to ignore.

callback

a GAsyncReadyCallback to call when the initialization is finished

user.data

the data to pass to callback function

...

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

Details

When the initialization is finished, callback will be called. You can then call gAsyncInitableNewFinish to get new object and check for any errors. Since 2.22

Author(s)

Derived by RGtkGen from GTK+ documentation


RGtk2 documentation built on May 30, 2017, 5:53 a.m.