Mouse click in python

hlubenow hlubenow2 at gmx.net
Sat Mar 31 10:47:54 EDT 2007


Synt4x wrote:

> I'm creating a webcam user interface (to control google earth through
> my webcam) and I still can't find a good example to how to control the
> mouse to "click and drag" (not just click and release).

Pygame:

http://www.pygame.org/
http://www.pygame.org/docs/ref/mouse.html

provides event-control including mouse-event-control.
Mainly it's intended for games, but it should work for other projects like
yours too. HTH

H.



More information about the Python-list mailing list