Re: how best to clear objects from a frame

2010-08-02 Thread Mark Lawrence
On 02/08/2010 04:13, rantingrick wrote: On Aug 1, 7:12 pm, Chris Hare wrote: Here is the situation: I have a window with a bunch of widgets in it. I want to clear the objects in a given frame and recreate them to update them. You need to check out the "w.update" and "w.update_idletasks" me

Re: how best to clear objects from a frame

2010-08-02 Thread Chris Hare
On Aug 1, 2010, at 10:13 PM, rantingrick wrote: > On Aug 1, 7:12 pm, Chris Hare wrote: >> Here is the situation: >> >> I have a window with a bunch of widgets in it. I want to clear the objects >> in a given frame and recreate them to update them. > > You need to check out the "w.update" a

Re: how best to clear objects from a frame

2010-08-01 Thread rantingrick
On Aug 1, 7:12 pm, Chris Hare wrote: > Here is the situation: > > I have a window with a bunch of widgets in it.  I want to clear the objects > in a given frame and recreate them to update them.   You need to check out the "w.update" and "w.update_idletasks" methods available on all Tkinter widg

how best to clear objects from a frame

2010-08-01 Thread Chris Hare
Here is the situation: I have a window with a bunch of widgets in it. I want to clear the objects in a given frame and recreate them to update them. The example below destroys the top level frame, and so I can't recreate the widgets. I am likely doing this wrong. should I be doing this in a