ObjectWrap.this
this
(GType type)Create an ObjectWrap which is wrapping a C GObject with the given GType. Useful for creating custom D classes which are derived from ObjectWrap.
Parameters
type | The GType value to use for creating the wrapped GObject |
this
(void * cObj, Flag!"Take" take)Constructor to wrap a C GObject with a D proxy object.
Parameters
cObj | Pointer to the GObject |
take | Yes.Take if the D object should take ownership of the passed reference, No.Take to add a new reference |