TypeScript API Documentation for GOBJECT
API Version: 2.0
Library Version: 2.89.4
Generated with TypeDoc via ts-for-gir v5.2.0
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.
a GObject.GType
the depth of type
type
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.