[plt-scheme] killing window objects

From: Matthew Flatt (mflatt at cs.utah.edu)
Date: Thu Oct 11 08:13:53 EDT 2007

At Thu, 11 Oct 2007 12:52:20 +0100, "Stephen De Gabrielle" wrote:
> Hi,
> What is the best way to kill an instance of a text-field%
> [I intend to make and kill lots of text fields in a session - and I want to
> do it in a MrEd friendly/garbage collector way]
> 
> (send parent delete-child tf)
> (send show #f)
> 
> Should I do both - or are these equivalent actions?

Use `delete-child'. It implies the same hiding as `show', whereas
`show' doesn't acutally remove the child from the parent.

Matthew



Posted on the users mailing list.