ncmenu_mouse_selected

Function ncmenu_mouse_selected 

Source
pub unsafe extern "C" fn ncmenu_mouse_selected(
    n: *const ncmenu,
    click: *const ncinput,
    ni: *mut ncinput,
) -> *const c_char
Expand description

Return the item description corresponding to the mouse click ‘click’. The item must be on an actively unrolled section, and the click must be in the area of a valid item. If ‘ni’ is not NULL, and the selected item has a shortcut, ‘ni’ will be filled in with the shortcut.