Changeset - 7d768d04b9f0
[Not reviewed]
default
0 1 0
dmcc - 22 years ago 2003-06-14 15:11:10

tiny changes, probably "not necessary!"
1 file changed with 7 insertions and 2 deletions:
0 comments (0 inline, 0 general)
light8/rsn.py
Show inline comments
 
@@ -3,12 +3,13 @@ from __future__ import nested_scopes
 

	
 
from Tix import *
 
from signal import signal, SIGINT
 
from uihelpers import *
 
from Fader import Fader
 
from Lightboard import Lightboard
 
import time # time is on our side
 

	
 
if len(sys.argv) >= 2:
 
    DUMMY = 0
 
    print "Light 8.8: This is the real thing, baby"
 
    window_title = "Light 8.8 (On Air)"
 
else:
 
@@ -33,24 +34,28 @@ mr_lightboard = Lightboard(root,DUMMY)
 

	
 
signal(SIGINT, mr_lightboard.quit)
 

	
 
#
 
# start net slider server in separate thread 
 
#
 
print "Light 8.8: External input server DISABLED"
 
print "Light 8.8: External input server DELETED!"
 
#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>"))
 
root.bind_class("all","<ButtonPress-5>",lambda ev: eventtoparent(ev,"<ButtonPress-5>"))
 

	
 
print 'Light 8.8: "Uh...Shiny McShine?"'
 
root.update_idletasks()
 

	
 
if 1:
 
    root.mainloop() # Receiver switches main
 
    while 1:
 
        root.update() # Receiver switches main
 
        time.sleep(0.01)
 
else:
 
    sys.path.append("/home/drewp/projects/editor/pour")
 
    from utils import runstats
 
    runstats("root.mainloop()")
 

	
 
#import profile
0 comments (0 inline, 0 general)