CLIM mail archive


How to detect killed windows?

   Date:     Mon, 9 May 94 19:48:53 EDT
   From: Nichael Cramer <ncramer@BBN.COM>

   1] Is there any way I can directly query a frame to see if it has been
   killed?  This is especially relevant if it has been killed in a non
   CLIM-like way; for example by the window manager.

The frame will be in the state :DISABLED, and it will also have no
frame manager.

   2] On the other hand is a method that is guaranteed to be called when the
   frame is killed, however it happens; e.g. something like NOTE-FRAME-KILLED?

You can put an :AFTER method on DESTROY-FRAME.  There should probably
be a NOTE-FRAME-DESTROYED, but there isn't.

Main Index | Thread Index