WrenSupport.registerScriptExports

Instantiate that with your main UI widget to register widgets classes. Foreach member variable of GUIClass with the @ScriptExport attribute, this registers a Wren class The right Wren class can then be returned by the $ operator and UI.getElementById methods.

Note: the mirror Wren classes don't inherit from each other. Wren doesn't know our D hierarchy.

class WrenSupport
@nogc nothrow
void
registerScriptExports
(
GUIClass
)
()

Meta