ObjectG.cPtr

Get a pointer to the underlying C object.

class ObjectG
void*
cPtr
(
Flag!"Dup" dup = No.Dup
)

Parameters

dup Flag!"Dup"

Yes.Dup to add a reference with g_object_ref(), No.Dup otherwise (default)

Return Value

Type: void*

The C object (reference added according to addRef parameter)