Page 1 of 1

[Applet] 3WClock

Posted: Fri Jun 15, 2007 9:34 pm
by newdep
Another new clocking device..

(load "http://www.nodep.nl/downloads/newlisp/3wclock.lsp")

Norman.

Posted: Sat Jun 16, 2007 11:31 am
by Lutz
You don't need 3 processes for this. You can have all three windows opened in one program, much faster and less resources. Here is a much simpler modified version:

to run: (load "http://newlisp.org/code/clock.lsp")

source: http://newlisp.org/syntax.cgi?code/clock.lsp.txt

Lutz

Posted: Sat Jun 16, 2007 6:03 pm
by newdep
yes lutz your right, but you just got there befor me ;-)
The example would have been extended with interconnection options ;-)

ill post the final deal on this later on..

Posted: Mon Jun 18, 2007 8:29 pm
by newdep
Hi Lutz,

There where 2 reasons why i used PROCESS for different windows

1 was because i wanted IO communication between the three..

but the most important was that I was unable to intercept individual
window closing from the main-program using your example i.e...


When i close 1 windows out of X started from the Main gs:init
they all close..instead of only 1..

How to work around this?


PS: I think you will be getting bussy, but i sure do hope its still fun ;-)


Norman.

Posted: Mon Jun 18, 2007 8:32 pm
by Lutz
just posted the a response to the gs:listen stuff in the other thread.

About the windows closing stuff later.

Lutz