bug in Tkinter?

Markus von Ehr markus.vonehr at ipm.fhg.de
Mon Jun 17 11:40:26 CEST 2002


Hi everybody,

I am marking a region in a photo (photoimage in canvas) with a
rectangle:

self.canvas.create_rectangle(..., outline="white")

Then I bind the functions to mouse events:

self.canvas.bind("<ButtonPress-1>",self.Down)
self.canvas.bind("<B1-Motion>",self.Drag)
self.canvas.bind("<ButtonRelease-1>",self.Release)

and I change the coordinates using:

def Drag(self, ev):
       self.canvas.coords(item, ...new_coords...)

there still remain wrong white pixels over my photo, this seems to
happen only in
the lower left corner. How can I eliminate them???

Thanks for any comments,

Markus


-------------- next part --------------
A non-text attachment was scrubbed...
Name: markus.vonehr.vcf
Type: text/x-vcard
Size: 245 bytes
Desc: Visitenkarte für Markus von Ehr
URL: <http://mail.python.org/pipermail/python-list/attachments/20020617/54e4e64e/attachment.vcf>


More information about the Python-list mailing list