Function

GObjecttype_parent

Declaration [src]

GType
g_type_parent (
  GType type
)

Description [src]

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

type

Type: GType

The derived type.

Return value

Type: GType

The parent type.