[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] Request for Help: DrawPicture



I don't have time to look at the code now; if I can, I'll get back to it
(hopefully someone else can).

At 13.24 -0500 1998.06.05, David Steffen wrote:
>  Last question: when programs exit abnormally, windows I create
>don't get deallocated, and the only way I have found to get rid
>of them is to quit MacPerl.  Is there a better way?

You need to manually close the window.

  END {$win->dipose() if defined($win)}  # usually works pretty well

I discuss bunches of things about working with windows in the MacPerl book.

--
Chris Nandor          mailto:pudge@pobox.com         http://pudge.net/
MacPerl: Power and Ease (ISBN 1881957322), http://www.ptf.com/macperl/
%PGPKey = ('B76E72AD', [1024, '0824090B CE73CA10  1FF77F13 8180B6B6'])



***** Want to unsubscribe from this list?
***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch