On Wed, 12 Jan 2000, Guangwei Bai wrote:

> I have a question: I have put many widgets in a base window. 
> Now I want to renew this base window. How can I destroy all 
> existing widgets one time ?
> 

If W is your base window, use

        eval destroy [winfo children W]

|| Ken Bowen      Applied Logic Systems, Inc.         PO Box 400175,     
||====            Voice:  +1 (617)497-0100            Cambridge
||                FAX:    +1 (617)497-3963            MA  02140  USA
                  Email:  [EMAIL PROTECTED]        WWW: http://www.als.com

---------------------------------------------------------------------------
To unsubscribe from the Visual Tcl mailing list, please send a message
to [EMAIL PROTECTED] with "unsubscribe vtcl [EMAIL PROTECTED]" in the
message body (where [EMAIL PROTECTED] is your e-mail address).

Reply via email to