TypeModule.addInterface

Registers an additional interface for a type, whose interface lives in the given type plugin. If the interface was already registered for the type in this plugin, nothing will be done.

As long as any instances of the type exist, the type plugin will not be unloaded.

Parameters

instanceType GType

type to which to add the interface.

interfaceType GType

interface type to add

interfaceInfo GInterfaceInfo*

type information structure

Meta