comparison light8/rsn.py @ 59:001646cd5349

all mousewheel events everywhere will now pass up the tree to be caught by all mousewheel events everywhere will now pass up the tree to be caught by higher widgets. if things get slow, this might be the problem
author drewp
date Tue, 09 Jul 2002 07:36:29 +0000
parents eaf60f5dce86
children ab0be21b549b
comparison
equal deleted inserted replaced
58:a4d000f759b4 59:001646cd5349
25 parportdmx = io.ParportDMX(DUMMY) 25 parportdmx = io.ParportDMX(DUMMY)
26 26
27 mr_lightboard = Lightboard(root,parportdmx,DUMMY) 27 mr_lightboard = Lightboard(root,parportdmx,DUMMY)
28 28
29 signal(SIGINT, mr_lightboard.quit) 29 signal(SIGINT, mr_lightboard.quit)
30
31
30 bindkeys(root,'<Escape>', mr_lightboard.quit) 32 bindkeys(root,'<Escape>', mr_lightboard.quit)
31 33
34 root.bind_class("all","<ButtonPress-4>",lambda ev: eventtoparent(ev,"<ButtonPress-4>"))
35 root.bind_class("all","<ButtonPress-5>",lambda ev: eventtoparent(ev,"<ButtonPress-5>"))
32 36
33 root.mainloop() # Receiver switches main 37 root.mainloop() # Receiver switches main
34 38
35 #import profile 39 #import profile
36 #profile.run("root.mainloop()","profile/idlemanysubs") 40 #profile.run("root.mainloop()","profile/idlemanysubs")