ObjectModule
Object Hierarchy:
Description:
[
CCode ( type_id =
"peas_object_module_get_type ()" ) ]
public class ObjectModule :
TypeModule,
TypePlugin
Type module which allows extension registration.
ObjectModule is a subclass of [class@GObject.TypeModule] which allows registration of extensions. It will be
used by C extensions implementors to register extension implementations from within the peas_register_types module function.
Content:
Properties:
Creation methods:
Methods:
- public void register_extension_factory (Type exten_type, owned FactoryFunc factory_func)
Register an implementation for an extension type through a factory
function factory_func which will instantiate the extension when requested.
- public void register_extension_type (Type exten_type, Type impl_type)
Register impl_type as an extension which implements
extension_type.
Inherited Members:
All known members inherited from class GLib.TypeModule
All known members inherited from class GLib.Object
All known members inherited from interface GLib.TypePlugin