Type.depth

Returns the length of the ancestry of the passed in type. This includes the type itself, so that e.g. a fundamental type has depth 1.

class Type
static
uint
depth

Parameters

type GType

A GType value.

Return Value

Type: uint

The depth of type.

Meta