PyDocs

Nav

Command-line interface libraries

getmouse

curses

functionnot Androidnot iOSnot WASI
  • getmouse()
Retrieve the queued mouse event.

After getch() returns KEY_MOUSE to signal a mouse event, this function
returns a 5-tuple (id, x, y, z, bstate).
Changed in 3.10
  • 3.10: The BUTTON5_* constants are now exposed if they are provided by the underlying curses library.
0 Examples
No examples for curses/getmouse.
See Also
No see-alsos for curses/getmouse
0 Notes
No notes for getmouse