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

Discussion in 'Python' started by Suresh Kumar, Jul 3, 2003.

  1. Suresh  Kumar

    Suresh Kumar Guest

    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
    Suresh Kumar, Jul 3, 2003
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Suresh  Kumar
    Replies:
    0
    Views:
    506
    Suresh Kumar
    Jul 4, 2003
  2. Askari
    Replies:
    2
    Views:
    695
    Askari
    Aug 30, 2004
  3. PhilC
    Replies:
    2
    Views:
    866
    PhilC
    Oct 25, 2004
  4. Shi Mu
    Replies:
    0
    Views:
    333
    Shi Mu
    Nov 11, 2005
  5. Replies:
    10
    Views:
    246
    Rick Johnson
    Mar 15, 2013
Loading...

Share This Page