Re: Change coords of a canvas.line item

2007-01-05 Thread Wojciech Muła
Fredrik Lundh wrote: > Matthias Vodel wrote: > >> I want to change the beginning/end-coordinates of a canvas.line item. >> >> Something like: >> >> self.myCanvas.itemconfigure(item_id, coords=(x1_new, y1_new, x2_new, y2_new)) > > self.myCanvas.coords(item_id, x1_new, y1_new, x2_new, y2_new) Yo

Re: Change coords of a canvas.line item

2007-01-05 Thread Matthias Vodel
Very nice :) Thank you, Matthias -- http://mail.python.org/mailman/listinfo/python-list

Re: Change coords of a canvas.line item

2007-01-05 Thread Fredrik Lundh
Matthias Vodel wrote: > I want to change the beginning/end-coordinates of a canvas.line item. > > Something like: > > self.myCanvas.itemconfigure(item_id, coords=(x1_new, y1_new, x2_new, y2_new)) self.myCanvas.coords(item_id, x1_new, y1_new, x2_new, y2_new) -- http://mail.python.org/ma

Change coords of a canvas.line item

2007-01-05 Thread Matthias Vodel
Hi all, I want to change the beginning/end-coordinates of a canvas.line item. Something like: self.myCanvas.itemconfigure(item_id, coords=(x1_new, y1_new, x2_new, y2_new)) I don't want to delete and repaint a new line item. Is this possible? Thanks Matthias -- http://mail.python.org/mailm