API Reference / @gtkx/runtime / registerWrapperClass
Function: registerWrapperClass()
registerWrapperClass(
cls,type,vfuncs?):void
Defined in: packages/runtime/dist/registry.d.ts:88
Registers a wrapper class as the JS representation of a GType, optionally installing a registry of virtual functions.
Parameters
cls
Wrapper class to associate with the type.
type
bigint
GType the class wraps.
vfuncs?
VfuncRegistry
Vtable slots the class exposes, so registerClass can bind the ones a subclass overrides.
Returns
void