In applications that modify the interface on the fly, I keep track of all widgets (arrays etc) and create functions that recalculate and rebuild the layout completely - this way you can add and/or delete components on the fly and just call a def that reconstitutes the entire display. I use the grid layout manager exclusively, so traversing arrays of widgets and calculating row/column components just "fits" together.
I use Pmw - once you get the hang of how it is structured and start creating your own (mega)widgets the paradigm of re-building the widget on the fly comes naturally. Peter On Feb 12, 2008 7:51 AM, Jim Kleckner <[EMAIL PROTECTED]> wrote: > Any pointers to what it takes to add/remove widgets > from a running application? > > Thanks. > > _______________________________________________ > Tkinter-discuss mailing list > Tkinter-discuss@python.org > http://mail.python.org/mailman/listinfo/tkinter-discuss >
_______________________________________________ Tkinter-discuss mailing list Tkinter-discuss@python.org http://mail.python.org/mailman/listinfo/tkinter-discuss