CallbackManager.register
CallbackContext * register(SimpleCallback callback) nothrowRegisters a simple callback and returns its context.
The callback is pinned automatically.
Parameters
callback | The delegate to register |
Returns
Pointer to the callback context
CallbackContext * register(WidgetCallback callback) nothrowRegisters a widget callback and returns its context.
Parameters
callback | The delegate to register |
Returns
Pointer to the callback context