Function pancurses::mousemask
[−]
[src]
pub fn mousemask(arg1: mmask_t, arg2: *mut mmask_t) -> mmask_t
Nearly equivalent to mouse_set()
, but instead of OK/ERR, it returns the value of the mask after
setting it.
(This isn't necessarily the same value passed in, since the mask could be altered on some
platforms.) And if the second parameter is a non-null pointer, mousemask()
stores the previous
mask value there. Also, since the ncurses interface doesn't work with PDCurses' BUTTON_MOVED
events, mousemask()
filters them out.