Type Definition rofi_plugin_sys::ModeGetDisplayValue

source ·
pub type ModeGetDisplayValue = Option<unsafe extern "C" fn(sw: *const Mode, selected_line: c_uint, state: *mut c_int, attribute_list: *mut *mut GList, get_entry: c_int) -> *mut c_char>;
Expand description

Get the string to display for the entry.

Returns the string and state for displaying.

  • selected_line: The selected line
  • state: The state to display [out]
  • attribute_list: List of extra (pango) attributes to apply when displaying. [out] [null]
  • get_entry: If it should only return the state