clicking on turtle

Steven D'Aprano steve+comp.lang.python at pearwood.info
Tue Nov 6 18:20:25 EST 2012


On Tue, 06 Nov 2012 22:13:21 +0100, python wrote:

> I have a problem with the standard "turtle" module. When a turtle has a
> custom shape of type "compound", it doesn't seem to respond to click
> events. No problem with polygon shapes.
[...]
> When I run this and click on the black square (i.e. t1), the message
> "click at..." gets printed on the console. When I click on the red
> square (i.e. t2), nothing happens.

I don't know enough about turtle graphics to tell whether it's a bug in 
your code, or a bug in the turtle, but I can confirm that the same 
behaviour occurs in Python 2.7 on Linux.


-- 
Steven




More information about the Python-list mailing list