ncselector_offer_input

Function ncselector_offer_input 

Source
pub unsafe extern "C" fn ncselector_offer_input(
    n: *mut ncselector,
    nc: *const ncinput,
) -> bool
Expand description

Offer the input to the ncselector. If it’s relevant, this function returns true, and the input ought not be processed further. If it’s irrelevant to the selector, false is returned. Relevant inputs include:

  • a mouse click on an item
  • a mouse scrollwheel event
  • a mouse click on the scrolling arrows
  • up, down, pgup, or pgdown on an unrolled menu (navigates among items)