Type Definition rofi_plugin_sys::ModeResult

source ·
pub type ModeResult = Option<unsafe extern "C" fn(sw: *mut Mode, menu_retv: c_int, input: *mut *mut c_char, selected_line: c_uint) -> c_int>;
Expand description

Process the result of the user selection.

Returns the next action to take.

  • menu_retv: The return value
  • input: The input string
  • selected_line: The selected line