view_dispatcher_set_custom_event_callback

Function view_dispatcher_set_custom_event_callback 

Source
pub unsafe extern "C" fn view_dispatcher_set_custom_event_callback(
    view_dispatcher: *mut ViewDispatcher,
    callback: ViewDispatcherCustomEventCallback,
)
Expand description

Set custom event handler

Called on Custom Event, if it is not consumed by view

ยงArguments

  • view_dispatcher - ViewDispatcher instance
  • callback - ViewDispatcherCustomEventCallback instance