Function

GObjectTypeInterfaceinstantiatable_prerequisite

Declaration

GType
g_type_interface_instantiatable_prerequisite (
  GType interface_type
)

Description

Returns the most specific instantiatable prerequisite of an interface type. If the interface type has no instantiatable prerequisite, G_TYPE_INVALID is returned.

See g_type_interface_add_prerequisite() for more information about prerequisites.

Available since:2.68

Parameters

interface_type GType
 

An interface type.

Return value

Returns: GObject.Type
 

The instantiatable prerequisite type or G_TYPE_INVALID if none.