Lisp HUG Maillist Archive

Get interface process

Hi,

Is there any way to get the capi:process of a displayed interface *after* it is created?

I want to do this:

(let ((main-interface (capi:display …)))
  (capi:display … :owner nil :process (process-of main-interface)))

Is that possible?

Erik


_______________________________________________
Lisp Hug - the mailing list for LispWorks users
lisp-hug@lispworks.com
http://www.lispworks.com/support/lisp-hug.html

Re: Get interface process

No, but you can achieve it like this:

(let ((main-interface (capi:display …)))
  (capi:apply-in-pane-process
   main-interface
   (lambda () (capi:display … :owner nil :process nil))))

-- 
Martin Simmons
LispWorks Ltd
http://www.lispworks.com/


>>>>> On Mon, 9 Jul 2018 11:10:42 +0200, Erik Ronström said:
> 
> Hi,
> 
> Is there any way to get the capi:process of a displayed interface *after* it is created?
> 
> I want to do this:
> 
> (let ((main-interface (capi:display …)))
>   (capi:display … :owner nil :process (process-of main-interface)))
> 
> Is that possible?
> 
> Erik
> 
> 
> _______________________________________________
> Lisp Hug - the mailing list for LispWorks users
> lisp-hug@lispworks.com
> http://www.lispworks.com/support/lisp-hug.html
> 

_______________________________________________
Lisp Hug - the mailing list for LispWorks users
lisp-hug@lispworks.com
http://www.lispworks.com/support/lisp-hug.html

Updated at: 2020-12-10 08:29 UTC