Version 0 of winfo pointerxy

Updated 2011-05-11 18:04:16 by dkf
winfo pointerxy window

Returns the current location of the mouse, as a pair (i.e., 2-element list) of coordinates, x and y. The window argument should be a Tk widget that is on the display whose mouse location is to be read; most programs will want to use the master toplevel for that (i.e., .).