pub unsafe extern "C" fn text_input_set_result_callback(
    text_input: *mut TextInput,
    callback: Option<unsafe extern "C" fn(*mut c_void)>,
    callback_context: *mut c_void,
    text_buffer: *mut i8,
    text_buffer_size: usize,
    clear_default_text: bool
)
Expand description

Set text input result callback

@param text_input TextInput instance @param callback callback fn @param callback_context callback context @param text_buffer pointer to YOUR text buffer, that we going to modify @param text_buffer_size YOUR text buffer size in bytes. Max string length will be text_buffer_size-1. @param clear_default_text clear text from text_buffer on first OK event