SimpleAsyncResult.this

Creates a GSimpleAsyncResult.

  1. this(GSimpleAsyncResult* gSimpleAsyncResult)
  2. this(ObjectG sourceObject, GAsyncReadyCallback callback, void* userData, void* sourceTag)
    class SimpleAsyncResult
  3. this(ObjectG sourceObject, GAsyncReadyCallback callback, void* userData, ErrorG error)

Parameters

sourceObject ObjectG

a GObject, or NULL. [allow-none]

callback GAsyncReadyCallback

a GAsyncReadyCallback. [scope async]

userData void*

user data passed to callback. closure

sourceTag void*

the asynchronous function.

Throws

ConstructionException GTK+ fails to create the object.

Meta