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

Re: [MacPerl] WaitNextEvent Memory Leak?



At 9:34 am -0400 14/08/00, Jerry LeVan wrote:

>Thanks for the tip. Do you know where I can find some sample code to
>replace MacDialog type stuff  with MacWindow...?

MacTE.pm might do what you want. It provides 'static' and 'edit' text 
fields, as as panes in a MacWindow, à la MacDialog. Buttons (and 
other controls) can be added to the window using 'Controls.pm' in the 
usual way.

MacTE was written in an attempt to side-step some of the MacDialog 
problems. For example 'Cut', 'Copy, and 'Paste' work (they crash with 
MacDialog). It is possible to include QuickDraw routines (impossible 
with MacDialogs) and anything else which you can routinely do with a 
MacWindow. So far as I know there are no memory leaks.

MacTE.pm can be found on http://www.afco.demon.co.uk/. 'POD' 
documentation and a test script are included. Please let me know if 
you run into any difficulties.

Alan Fry

# ===== Want to unsubscribe from this list?
# ===== Send mail with body "unsubscribe" to macperl-request@macperl.org