API Reference / @gtkx/runtime / registerWrapperClass
Function: registerWrapperClass()
registerWrapperClass(
cls,type,vfuncs?):void
Defined in: runtime/dist/registry.d.ts:30
Registers a wrapper class as the JS representation of a GType, optionally installing a registry of virtual functions.
Parameters
cls
AnyClass
Wrapper class to associate with the type.
type
bigint
GType the class wraps.
vfuncs?
VfuncRegistry
Virtual functions the class overrides.
Returns
void