in reply to TK - Updating Main Window after user input

Okay an update ... I've got it creating and adding in widgets dynamically. The second part to this saga is deleting objects after a users request they be taken out of the application. I having problems finding a widget destruction method. I know how to destroy Toplevels/Frames but Checkbutton widgets don't seem to like the destroy or withdraw methods.

Anyone know what method is used to single destroy an object of a Frame? (I assume also afterwards you call "->update" on the Frame to update it).

Dean
  • Comment on Re: TK - Updating Main Window after user input

Replies are listed 'Best First'.
Re: Re: TK - Updating Main Window after user input
by flyingmoose (Priest) on Jan 07, 2004 at 15:57 UTC
    I recommend you pick up "Mastering Perl Tk", the O'Reilly Emu Book. It's really one of the best GUI books I've ever read, and they make it really easy to follow. With a good reference, a lot of these questions can easily be answered. If you are going to be doing Tk a lot, see if you can buy it or get work to buy it for you.