Type Definition flipperzero_sys::ViewUpdateCallback

source ·
pub type ViewUpdateCallback = Option<unsafe extern "C" fn(view: *mut View, context: *mut c_void)>;
Expand description

View Update Callback Called upon model change, need to be propagated to GUI throw ViewPort update

Warning!

  • called from GUI thread

Arguments

  • view, - pointer to view
  • context, - pointer to context