[comp.windows.open-look] Any hints on using XView

gillett@rice-chex.ai.mit.edu (Walter E. Gillett) (06/21/91)

Hi, Folks
     I'm using Lucid Common Lisp and Sun's LispView.  LispView is based on
the XView toolkit.  I've just written a 2d-graphics display-list widget in
C that is based on Xt (and inherits from Core).  I'd now like to use it in
Lisp along with the LispView stuff.  I've run into a few problems so far:

1. XView "widgets" seem totally incompatible with Xt's widgets, so you can't
   have an Xt widget whose parent is an XView "widget".

2. The XView notifier and XtMainLoop() seem to be different animals.  I don't
   have much data on this yet, but I think that they don't dispatch X events
   in compatible ways.  I was hoping that either/or would suffice for both
   widget sets.

3. Lucid is multi-processing and wants to hold on to the flow of control.  Thus
   I can't really call XtMainLoop() from the main process.  I tried starting a
   new Lisp process, but XtMainLoop() didn't work from there. I don't know why.

Thanks in advance for any help you can give me.

---------------------------------------------------------------
Joe Shapiro (NOT Walter Gillett, though I'm using his account!)
You may be able to email        me at consolve!joe@Stardent.COM
or you can just send to               gillett@ai.mit.edu