Return the x coordinate of the pointer on the root window.
(self)
| 1306 | self.tk.call('winfo', 'pixels', self._w, number)) |
| 1307 | |
| 1308 | def winfo_pointerx(self): |
| 1309 | """Return the x coordinate of the pointer on the root window.""" |
| 1310 | return self.tk.getint( |
| 1311 | self.tk.call('winfo', 'pointerx', self._w)) |
| 1312 | |
| 1313 | def winfo_pointerxy(self): |
| 1314 | """Return a tuple of x and y coordinates of the pointer on the root window.""" |