[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: synchronizing sound and removing and adding subviews
- To: info-mcl@ministry.cambridge.apple.com
- Subject: Re: synchronizing sound and removing and adding subviews
- From: Tom McDougal <mcdougal@cs.uchicago.edu>
- Date: Fri, 17 Dec 1993 16:41:59 GMT
- Newsgroups: comp.lang.lisp.mcl
- Organization: Univ. of Chicago Computer Science
- References: <9312151921.AA27250@medici.ils.nwu.edu>
- Sender: news@bluebird.uchicago.edu (News System)
In article <9312151921.AA27250@medici.ils.nwu.edu> Nichole Denise
Pinkard,
pinkard@medici.ils.nwu.edu writes:
>Is there a way to tell MCL to hold of processing a function until it has
>finished adding or removing subviews?
Two naive suggestions; please take no offense if you have tried these
already.
1) Insert a call to (event-dispatch) after the call to add-subviews
and also after remove-subviews.
if that doesn't work...
2) wrap WITHOUT-INTERRUPTS around the calls to set-back-color &
add-subviews. This is more drastic & might have some unwanted
side-effects.
Good luck.
-----------------------------------------------------------
Tom McDougal mcdougal@cs.uchicago.edu +1 (312) 702-9923
University of Chicago Artificial Intelligence