CLIM mail archive


X window frame

   Date: Tue 15 Feb 94 09:45:21-PST
   From: Mabry Tyson <>
   Mail-System-Version: <SUN-MM(229)+TOPSLIB(128)@AI.SRI.COM>

   This isn't a direct answer to your question, but I use :SELECT ACTIVITY
   to start up a CLIM application running on a 3600 and displayed on a

   By the way, I found that I needed to reset TV:DEFAULT-BACKGROUND-STREAM
   (as I recall).  Otherwise if I went into the debugger, it would appear on
   the 3600 console rather than the X screen.

If you can lay your hands on it, the CLIM 2.1 release from Symbolics
(which also runs on top of Genera 8.3) has a number of fixes to the
CLIM event dispatcher which will make this work quite a bit better.

I don't have any advice about how to get it, though.

       Date: Tue, 15 Feb 94 08:26:56 -0500
       From: "Steven L. Smith" <>
       To: clim@BBN.COM
       Subject: X window frame


	How do I display my CLIM 2.0 application frame as a client process
       on my X server. In other words, I login into my UNIX workstation, bring
       up a Genera 8.3 environment (via Start X Screen command), which works
       fine, and try to start my application and the application frame appears
       on the Symbolics console window instead of the X server (workstation).
       Below is the code I use to start the application frame. Any help would
       be appreciated. Thanks.

       (DEFUN DO-CAP-PLOT (&OPTIONAL (initialize nil) &KEY (port (FIND-PORT)) (force nil))
	 (IF initialize
	     (SETQ *cap-plots* nil))
	 (LET* ((framem (FIND-FRAME-MANAGER :PORT port))
		  (LET* ((entry (ASSOC port *cap-plots*))
			 (frame (CDR entry)))
		    (WHEN (OR force (NULL frame))
		      (SETQ frame (MAKE-APPLICATION-FRAME 'cap-plot
							  :FRAME-MANAGER framem)))
		    (IF entry 
			(SETF (CDR entry) frame)
			(PUSH (CONS port frame) *cap-plots*))
	   (SETQ *cap-plot-frame* frame)
	   (RUN-FRAME-TOP-LEVEL frame)))

       Steve Smith                          | Internet: 
       NASA Langley Research Center         | Voice   : (804) 864-2004          
       M/S 152                              | FAX     : (804) 864-7793
       Hampton, VA 23681                    | 


Main Index | Thread Index