[Applet] 3WClock

Started by newdep, June 15, 2007, 02:34:44 PM

Previous topic - Next topic

newdep

Another new clocking device..



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



Norman.
-- (define? (Cornflakes))

Lutz

#1
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">http://newlisp.org/code/clock.lsp")



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



Lutz

newdep

#2
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..
-- (define? (Cornflakes))

newdep

#3
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.
-- (define? (Cornflakes))

Lutz

#4
just posted the a response to the gs:listen stuff in the other thread.



About the windows closing stuff later.



Lutz