Function flipper0::ffi::view_dispatcher_set_custom_event_callback
source · pub unsafe extern "C" fn view_dispatcher_set_custom_event_callback(
view_dispatcher: *mut ViewDispatcher,
callback: Option<unsafe extern "C" fn(*mut c_void, u32) -> bool>
)
Expand description
Set custom event handler
Called on Custom Event, if it is not consumed by view
@param view_dispatcher ViewDispatcher instance @param callback ViewDispatcherCustomEventCallback instance