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

Method winfo_pointerx

Lib/tkinter/__init__.py:1290–1293  ·  view source on GitHub ↗

Return the x coordinate of the pointer on the root window.

(self)

Source from the content-addressed store, hash-verified

1288 self.tk.call('winfo', 'pixels', self._w, number))
1289
1290 def winfo_pointerx(self):
1291 """Return the x coordinate of the pointer on the root window."""
1292 return self.tk.getint(
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."""

Callers

nothing calls this directly

Calls 2

getintMethod · 0.45
callMethod · 0.45

Tested by

no test coverage detected