Get coords of an oval in Tkinter
Posted
by Baddie
on Stack Overflow
See other posts from Stack Overflow
or by Baddie
Published on 2010-04-20T23:33:49Z
Indexed on
2010/04/21
2:03 UTC
Read the original article
Hit count: 1006
I can't seem to figure out how to reterive the x,y
position of an oval created on a Tkinter canvas using Python via
c.create_oval(x0, y0, x1, y2)
I understand that Tkinter
creates the oval inside the box specified by x0,y0,x1,y2
and if I can get those coordinates that would also work.
I need the coordinates to move the oval by an offset equal to the mouse coords and the actual oval.
© Stack Overflow or respective owner