Displaying 1 result from an estimated 1 matches for "newx11_locator".
2004 Feb 27
3
locator(n=0)
locator(n=1) returns the coordinates of the position of the mouse.
But you have to click the left button of the mouse.
How can I determine the mouse position without any click?
Is it possible to extend locator in a way that
locator(n=0) outputs the coordinates at once, without any click event?
TclTk allows us to define very nice animations and demonstrations,
see for example: demo(tkdensity).