line order

Ben Bush pythonnew at
Fri Nov 18 01:38:42 CET 2005

I run the following code and the red line and black line show at the same
time. is there anyway to show the red line first, then the black line? for
example, after I click the 'enter' key?
 from Tkinter import *
tk = Tk()
canvas = Canvas(tk, bg="white", bd=0, highlightthickness=0)
canvas.pack(fill=BOTH, expand=YES)
canvas.create_line(100, 200, 350, 200, arrow=LAST,fill='red')
canvas.create_line(100, 0, 100, 200, arrow=FIRST)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Python-list mailing list