Function libnotcurses_sys::ncmultiselector_offer_input[][src]

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

Offer the input to the ncmultiselector. If it’s relevant, this function returns true, and the input ought not be processed further. If it’s irrelevant to the multiselector, 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)