CLIM mail archive

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

Re: Multiprocessing and multi windows




> From @BBN.COM:SWM@stony-brook.scrc.symbolics.com Fri Sep 24 01:19:36 1993
> Subject: Multiprocessing and multi windows
> To: dip@mod.dsto.gov.au, clim@BBN.COM
> Content-Length: 2281
> X-Lines: 51
> 
>     Date: Thu, 23 Sep 1993 19:11 EDT
>     From: David Perkovic <dip@mod.dsto.gov.au>
> 
>     A few weeks back I emailed to the group about how I could go about having
>     multiple windows active at the same time.  The only response I received
>     suggested using multiprocesses which I have tried but have come across
>     another problem.
> 
>     Before I continue I'll just go over what I'm trying to do.  I have a number
>     of units on a window which I want to select and open up another window
>     which displays the units contents.  The problem is I need to then leave the 
>     window open and go back and open another window and displays its contents and
>     so on.  I thought there should be a way to change the focus of the window
>     and but since nobody replied I assume I can't :-(
> 
> Use multiple windows that share the same I/O buffer.  You can do this
> by SETFing STREAM-INPUT-BUFFER (I think that's what it's called in
> CLIM 1.1); in CLIM 2.0, the same hack works using SHEET-EVENT-QUEUE.
> 
> You can change the focus by using STREAM-SET-INPUT-FOCUS.
> 
> I wish people would get in the habit of using the APROPOS function to
> find functionality like this, in CLIM as well as in other tools.  Most
> of the names chosen in CLIM are not in any way wierd or obscure.  Ditto
> for most other tools I know of.
>

I did use the apropos command and found those commands plus some others
that seemed to be what I needed.  I asked Lucid for further
details on these commands (as they are undocumented) and they advised me 
not to use any undocumented features as they are not for general use and may
be altered in later releases. 

I would therefore appreciate any further help on whether to use these commands
or not and if so any examples on their use.

If it is unadvisable to use these commands I wish people would check carefully
whether the commands they recommend can be used without having adverse side
effects and therefore not recommend them.


Thanks

David

BTW I'm using Lucid Common Lisp 4.0 and Clim 1.1 on a SparcStation running
Open Windows.




Main Index | Thread Index