Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

GAsyncInitable

GAsyncInitable


Description

Asynchronously failable object initialization interface

Methods and Functions

gAsyncInitableInitAsync(object, io.priority, cancellable = NULL, callback, user.data = NULL)
gAsyncInitableInitFinish(object, res, .errwarn = TRUE)
gAsyncInitableNewAsync(object.type, io.priority, cancellable, callback, user.data, ...)
gAsyncInitableNewFinish(object, res, .errwarn = TRUE)

Hierarchy

GInterface
   +----GAsyncInitable

Detailed Description

This is the asynchronous version of GInitable, it behaves the same in all ways except that initialization is asynchronous. For more details see the descriptions on GInitable.

A class may implement both the GInitable and GAsyncInitable interfaces.

Users of objects implementing this are not intended to use the interface method directly, instead it will be used automatically in various ways. For C applications you generally just call gAsyncInitableNewAsync directly, or indirectly via a fooThingNewAsync() wrapper. This will call gAsyncInitableInitAsync under the cover, calling back with NULL and a set GError on failure.

Structures

GAsyncInitable

Interface for asynchronously initializable objects. Since 2.22

Author(s)

Derived by RGtkGen from GTK+ documentation

References


RGtk2

R Bindings for Gtk 2.8.0 and Above

v2.20.36
GPL
Authors
Michael Lawrence <michafla@gene.com> and Duncan Temple Lang <duncan@wald.ucdavis.edu>
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.