MCPcopy Index your code
hub / github.com/RustPython/RustPython / winfo_pointerxy

Method winfo_pointerxy

Lib/tkinter/__init__.py:1295–1298  ·  view source on GitHub ↗

Return a tuple of x and y coordinates of the pointer on the root window.

(self)

Source from the content-addressed store, hash-verified

1293 self.tk.call('winfo', 'pointerx', self._w))
1294
1295 def winfo_pointerxy(self):
1296 """Return a tuple of x and y coordinates of the pointer on the root window."""
1297 return self._getints(
1298 self.tk.call('winfo', 'pointerxy', self._w))
1299
1300 def winfo_pointery(self):
1301 """Return the y coordinate of the pointer on the root window."""

Callers

nothing calls this directly

Calls 2

_getintsMethod · 0.95
callMethod · 0.45

Tested by

no test coverage detected