typeParent

fngobject.types.GType typeParent(gobject.types.GType type) nothrow

Return the direct parent type of the passed in type. If the passed in type has no parent, i.e. is a fundamental type, 0 is returned.

Parameters

typethe derived type

Returns

the parent type