Converting canvas coordinates to window coordinates.......

S

Suresh Kumar

Hi,
In Tkinter, how to convert canvas coordinates to window
coordinates? To convert window coordinates to canvas coordinates
we are using "canvasx,canvasy". But how to do vice-versa? Iam
using a canvas whose size is larger than screen size and drawn a
rectagnle in the middle of canvas. When i select the rectangle i
got its coordinates in terms of canvas coordinates. But i need it
in window coordinate. How can i do it?

With Regards,
V.Suresh Kumar.
___________________________________________________
Click below to experience Sooraj R Barjatya's latest offering
'Main Prem Ki Diwani Hoon' starring Hrithik, Abhishek
& Kareena http://www.mpkdh.com
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,733
Messages
2,569,439
Members
44,829
Latest member
PIXThurman

Latest Threads

Top