API Reference / @gtkx/runtime / registerClassStruct
Function: registerClassStruct()
registerClassStruct(
cls,structClass):void
Defined in: packages/runtime/dist/registry.d.ts:123
Registers the wrapper class of a type's class struct, such as Gtk.WidgetClass for Gtk.Widget, so registerClass can hand a classInit hook the new type's class struct wrapped in it.
Parameters
cls
Wrapper class of the type's instances, already registered through registerWrapperClass.
structClass
Wrapper class of the type's class struct.
Returns
void