| | |
Reporting X Y coordinates of mouse pointer
Please support our Python advertiser: Programming Forums - DaniWeb Sister Site
![]() |
I'd really like to be able to ask my program "where is the mouse pointer?" at any given time.
Ideally I'll want people to click and hold a button, which will cause a stream of events to occur, and then (at varying points) the program should find out where their mouse pointer is (while they are still holding down the button).
Is this possible? I've looked into the Canvas widget and feel that the answer must be there, but haven't been able to find it.
Ideally I'll want people to click and hold a button, which will cause a stream of events to occur, and then (at varying points) the program should find out where their mouse pointer is (while they are still holding down the button).
Is this possible? I've looked into the Canvas widget and feel that the answer must be there, but haven't been able to find it.
![]() |
Other Threads in the Python Forum
- Previous Thread: Capturing sound
- Next Thread: regression line and loops
Views: 573 | Replies: 4
| Thread Tools | Search this Thread |
Tag cloud for Python
accessdenied address ansi backend beginner changecolor class code conversion coordinates copy corners curves customdialog dan08 dictionary directory dynamic edit examples excel feet file float font format ftp function generator getvalue gui halp homework i/o iframe images import info input ip java line linux list lists loop mouse mysql newb number numbers output panel parsing path port prime print program programming projects py2exe pygame pyqt python queue random rational recursion recursive screensaverloopinactive scrolledtext server ssh stamp statictext string strings sudokusolver table terminal text thread threading time tkinter tlapse tuple tutorial type ubuntu unicode url urllib urllib2 variable whileloop windows write wxpython






