On Wed, 2006-04-05 at 09:21 -0700, beta wrote: > Dear John, > > Thanks for your help. I don't know how to bind the ball only into a > program. Would you mind help me on this? I added the changeColour > function, here is a complete program.
...SNIP code... Add the following code after you draw the ball item for the first time: self.draw.tag_bind(self.ball, '<Button-1>', changeColour) -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. -- http://mail.python.org/mailman/listinfo/python-list