Re: [Tutor] Dynamic TKinter widgets?

2012-11-28 Thread ALAN GAULD
Then I remembered that all I need to do to create a widget is simply call it and add it to the layout, so I just created a single Frame and a loop that adds a variable number of widgets. Now I just destroy that Frame (and thus, the widgets it holds), recreate it, and repopulate it. >Which, re

Re: [Tutor] Dynamic TKinter widgets?

2012-11-28 Thread Nathan
Okay, now I see what I was doing wrong. For some dumb reason, I had forgotten that you can create a widget without assigning a variable. That helps runtime widget creation a LOT. The Frame idea I had was actually writing out one Frame per type of spread; I would have had, for example, celtic_cross