[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
window contents vanish
- To: McDougal@cs.uchicago.edu
- Subject: window contents vanish
- From: Andrew L. M. Shalit <alms>
- Date: Tue, 23 Apr 91 12:45:16 -0400
- Cc: info-macl
- In-reply-to: Tom McDougal's message of Tue, 23 Apr 91 09:50:49 CDT <9104231449.AA05929@ubik.uchicago.edu>
Date: Tue, 23 Apr 91 09:50:49 CDT
From: Tom McDougal <McDougal@gargoyle.uchicago.edu>
Has anyone had the contents of a window vanish on them? I have a small
:single-edge-box window in which I print a string telling me what my code is
doing, but the string is erased almost as it appears, even though the operation
that creates it takes quite awhile. The code is wrapped in an UNWIND-PROTECT
form whose job it is to close the window. I hav tried WITH-FOCUSED-VIEW to no
avail.
Any ideas?
Thanks lots.
-Tom (McDougal@cs.uchicago.edu)
When a window is created, it's contents are invalid. The first time
events are processed following the creation of the window, the window
will be erased. If you plan on drawing in a window soon after
creating it, you should follow the creation with a call to
EVENT-DISPATCH.
This definitely qualifies as a FAQ, and should be fixed in the
documentation.
-andrew