mode_get_display_value

Function mode_get_display_value 

Source
pub unsafe extern "C" fn mode_get_display_value(
    mode: *const Mode,
    selected_line: c_uint,
    state: *mut c_int,
    attribute_list: *mut *mut GList,
    get_entry: c_int,
) -> *mut c_char
Expand description

Returns the string as it should be displayed for the entry and the state of how it should be displayed.

When get_entry is TRUE a new string is allocated and returned.

  • selected_line: The entry to query
  • state: The state of the entry [out]
  • attribute_list: List of extra (pango) attributes to apply when displaying [out] [null]
  • get_entry: If the entry should be returned