newLISP Fan Club

Forum => newLISP Graphics & Sound => Topic started by: newdep on June 15, 2007, 02:34:44 PM

Title: [Applet] 3WClock
Post by: newdep on June 15, 2007, 02:34:44 PM
Another new clocking device..



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



Norman.
Title:
Post by: Lutz on June 16, 2007, 04:31:47 AM
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
Title:
Post by: newdep on June 16, 2007, 11:03:26 AM
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..
Title:
Post by: newdep on June 18, 2007, 01:29:00 PM
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.
Title:
Post by: Lutz on June 18, 2007, 01:32:49 PM
just posted the a response to the gs:listen stuff in the other thread.



About the windows closing stuff later.



Lutz