pub unsafe extern "C" fn swkbdSetFilterCallback(
    swkbd: *mut SwkbdState,
    callback: SwkbdCallbackFn,
    user: *mut c_void
)
Expand description

Configures a custom function to be used to check the validity of input when it is submitted in a software keyboard.

§Arguments

  • swkbd - Pointer to swkbd state.
  • callback - Filter callback function.
  • user - Custom data to be passed to the callback function.