PyDocs

Nav

Graphical user interfaces with Tk

Misc.winfo_pointerxy

tkinter

method of Misc
  • Misc.winfo_pointerxy()
Return the pointer’s coordinates as an (x, y) tuple, in pixels, relative to the screen’s root window (or virtual root, if one is in use). Both coordinates are -1 if the pointer is not on the same screen as the widget.
0 Examples
No examples for tkinter/Misc.winfo_pointerxy.
See Also
No see-alsos for tkinter/Misc.winfo_pointerxy
0 Notes
No notes for Misc.winfo_pointerxy