CLIM mail archive


Re: X window frame

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.

    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)

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

Follow-Ups: References:

Main Index | Thread Index