Reading coords from a scrolled Tkinter Canvas widget?

G. Willoughby never at mind.info
Sun Jun 2 16:50:32 EDT 2002


>Your code appears not to grok canvasx and canvasy. They translate event.x
>style coordinates to canvas model coordinates.

Hmmm i know, have you any code to grab the canvasx and canvasy?

>BTW you could be using a Python Megawidgets Pmw.ScrolledCanvas here. More
>features less pain.

I could do but im trying to keep imports to a minimum and keep its
portability.

--G. Willoughby





More information about the Python-list mailing list