Type.parent

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.

class Type
static
parent

Parameters

type GType

The derived type.

Return Value

Type: GType

The parent type.

Meta