ObjectG.this

Constructor to wrap a C GObject with a D proxy object.

  1. this(GType type)
  2. this(void* cObj, Flag!"Take" take)
    class ObjectG
    final
    this
    (
    void* cObj
    ,
    Flag!"Take" take = No.Take
    )

Parameters

cObj void*

Pointer to the GObject

take Flag!"Take"

Yes.Take if the D object should take ownership of the passed reference, No.Take to add a new reference (default)