Re: Moving objects in Tkinter

2007-10-13 Thread Hendrik van Rooyen
Evjen Halverson wrote: > I have tried to make a Tkinter program make a > rectangle move down the window, > but did not succeed. All it does is > make a rectangle trail. > What am I doing wrong? You are not deleting the old instances of the rectangle. Look at the delete method of the canvas

Re: Moving objects in Tkinter

2007-10-12 Thread Matt McCredie
On 10/12/07, Evjen Halverson <[EMAIL PROTECTED]> wrote: > I have tried to make a Tkinter program make a rectangle move down the > window, but did not succeed. All it does is make a rectangle trail. >What am I doing wrong? > > from Tkinter import* > root = Tk() > RectangleColor='orange' >

Moving objects in Tkinter

2007-10-12 Thread Evjen Halverson
I have tried to make a Tkinter program make a rectangle move down the window, but did not succeed. All it does is make a rectangle trail. What am I doing wrong? from Tkinter import* root = Tk() RectangleColor='orange' Background=tk_rgb = "#%02x%02x%02x" % (100, 255, 100) root.geometr