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

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Suresh  Kumar

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

    Hi,
    In Tkinter, how to convert canvas coordinates to window
    coordinates? To convert window coordinates to canvas coordinates
    we are using "canvasx,canvas y". 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


Working...