[plt-scheme] Programmically closing a frame in MrEd
You can do this:
(send frame close)
(or, if it is a mred frame, that's the same as:
(when (send frame can-close?) (send frame on-close) (send frame show #f))
)
Or, if you are killing a whole bunch of frames, possibly created by
some unknown code, you should consider reading up about eventspaces.
The manual and this paper will both help:
http://www.ccs.neu.edu/scheme/pubs/#icfp99-ffkf
Robby
At Mon, 9 Dec 2002 11:43:25 -0500, "John W. Small" wrote:
> ------------------------------------------------------------------------------
> How do you programmatically close (i.e. destroy) a frame in GUI?
>
> Does it have something to do with killing and event space?
>
> Thanks!
>
> John
>
>
> ------------------------------------------------------------------------------
> How do you programmatically close (i.e. destroy) a frame in GUI?
>
> Does it have something to do with killing and event space?
>
> Thanks!
>
> John
>