CallbackManager.register
Registers a simple callback and returns its context.
The callback is pinned automatically.
Parameters
callback | The delegate to register |
Returns
Pointer to the callback context
Registers a widget callback and returns its context.
Parameters
callback | The delegate to register |
Returns
Pointer to the callback context