ObjectG.getDObject

Gets a D Object from the objects table of associations.

class ObjectG
static
RT
getDObject
(
T
RT = T
U
)
(
U obj
,
bool ownedRef = false
)

Parameters

obj U

GObject containing the associations.

Return Value

Type: RT

the D Object if found, or a newly constructed object if no such Object exists.