CLIM mail archive

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

X window frame




Hi,

 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))
         (frame 
           (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*))
             FRAME)))
    (SETQ *cap-plot-frame* frame)
    (RUN-FRAME-TOP-LEVEL frame)))

*******************************************************************************
Steve Smith                          | Internet: s.l.smith@larc.nasa.gov 
NASA Langley Research Center         | Voice   : (804) 864-2004          
M/S 152                              | FAX     : (804) 864-7793
Hampton, VA 23681                    | 
*******************************************************************************

Follow-Ups:

Main Index | Thread Index