Return the x coordinate of the pointer on the root window.
(self)
| 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.""" |