An opaque structure used as the base of all interface types.
Adds prerequisite_type to the list of prerequisites of interface_type. This means that any type implementing interface_type must also implement prerequisite_type. Prerequisites can be thought of as an alternative to interface derivation (which
GObject.GTypedoesn’t support). An interface can have at most one instantiatable prerequisite type.
GObject.TypePluginfor the dynamic interface interface_type of instance_type
GObject.TypePluginstructure for the dynamic interface interface_type which has been added to instance_type, or
Noneif interface_type has not been added to instance_type or does not have a
Parameters: Returns: Return type:
GObject.TypeInterfacestructure of an interface to which the passed in class conforms.
Parameters: interface_type (
GObject.GType) – an interface type
Returns: a newly-allocated zero-terminated array of
GObject.GTypecontaining the prerequisites of interface_type
Return type: [
Returns the prerequisites of an interfaces type.
New in version 2.2.
Returns: the corresponding
GObject.TypeInterfacestructure of the parent type of the instance type to which self belongs, or
Noneif the parent type doesn’t conform to the interface
Returns the corresponding
GObject.TypeInterfacestructure of the parent type of the instance type to which self belongs. This is useful when deriving the implementation of an interface from the parent type and then possibly overriding some methods.