[Tutor] Converting canvas coordinates to window coordinates.......

Suresh Kumar Suresh Kumar" <suresh_vsamy@rediffmail.com
Thu Jul 3 00:54:09 2003


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