[Tkinter-discuss] self modifying buttons - memory game

Cameron Laird Cameron at phaseit.net
Mon May 28 16:40:34 CEST 2007


On Fri, May 04, 2007 at 01:09:08PM -0700, RickB wrote:
			.
			.
			.
> I assume there is probably a better way to do this. The code is functional
> but its really slow if you have a large amount of buttons.   
> http://www.nabble.com/file/8220/gui.py gui.py 
			.
			.
			.
I suspect you are indeed working too hard.

When I execute the "gui.py" source, I see a 6 x 5 grid of buttons.
They all appear active, but there are no random color changes
evident, as I suspect you intended.  What's the effect you're after?
My guess is that we can help you achieve it far more economically.
I've scanned the source, but I don't get the point.


More information about the Tkinter-discuss mailing list