gio.AsyncInitableT

Undocumented in source.

Public Imports

gtkc.giotypes
public import gtkc.giotypes;
Undocumented in source.
gtkc.gio
public import gtkc.gio;
Undocumented in source.
glib.ConstructionException
public import glib.ConstructionException;
Undocumented in source.
gobject.ObjectG
public import gobject.ObjectG;
Undocumented in source.
glib.Str
public import glib.Str;
Undocumented in source.
glib.ErrorG
public import glib.ErrorG;
Undocumented in source.
glib.GException
public import glib.GException;
Undocumented in source.
gobject.ObjectG
public import gobject.ObjectG;
Undocumented in source.
gio.AsyncResultIF
public import gio.AsyncResultIF;
Undocumented in source.
gio.Cancellable
public import gio.Cancellable;
Undocumented in source.

Members

Templates

AsyncInitableT
template AsyncInitableT(TStruct)

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 g_async_initable_new_async() directly, or indirectly via a foo_thing_new_async() wrapper. This will call g_async_initable_init_async() under the cover, calling back with NULL and a set GError on failure. A typical implementation might look something like this:

Meta