Mercurial > code > home > repos > light9
diff light8/rsn.py @ 90:d34a4956417a
rsn has a separate thread that receives rlslider connections from a potserver.py process,
rsn has a separate thread that receives rlslider connections from a potserver.py process,
and they work
author | drewp |
---|---|
date | Sat, 13 Jul 2002 02:57:27 +0000 |
parents | 70bd142d72c2 |
children | a995fd1a8f03 |
line wrap: on
line diff
--- a/light8/rsn.py Sat Jul 13 02:28:45 2002 +0000 +++ b/light8/rsn.py Sat Jul 13 02:57:27 2002 +0000 @@ -33,6 +33,12 @@ signal(SIGINT, mr_lightboard.quit) +# +# start net slider server in separate thread +# +import ExternalInput, thread +thread.start_new_thread(ExternalInput.start_server,()) + bindkeys(root,'<Escape>', mr_lightboard.quit) root.bind_class("all","<ButtonPress-4>",lambda ev: eventtoparent(ev,"<ButtonPress-4>"))