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

window contents vanish



   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