Re: change color

2005-12-05 Thread Peter Otten
Ben Bush wrote: > I tested the following code and wanted to make oval 2 become red after > I hit the enter key but though the code did not report error, it did > not change. > from Tkinter import * > root=Tk() > canvas=Canvas(root,width=100,height=100) > canvas.pack() > canvas.create_oval(10,10,20

change color

2005-12-04 Thread Ben Bush
I tested the following code and wanted to make oval 2 become red after I hit the enter key but though the code did not report error, it did not change. from Tkinter import * root=Tk() canvas=Canvas(root,width=100,height=100) canvas.pack() canvas.create_oval(10,10,20,20,tags='oval1',fill='blue') can