Register an implementation for an extension type through a factory
function factory_func which will instantiate the extension when
requested.
This method is primarily meant to be used by native bindings (like gtkmm),
creating native types which cannot be instantiated correctly using
g_object_new(). For other uses, you will usually prefer relying on
ObjectModule.registerExtensionType.
Since libpeas 1.22, exten_type can be an Abstract GType
and not just an Interface GType
Register an implementation for an extension type through a factory function factory_func which will instantiate the extension when requested.
This method is primarily meant to be used by native bindings (like gtkmm), creating native types which cannot be instantiated correctly using g_object_new(). For other uses, you will usually prefer relying on ObjectModule.registerExtensionType.
Since libpeas 1.22, exten_type can be an Abstract GType and not just an Interface GType