# HG changeset patch # User drewp # Date 2002-07-09 07:36:29 # Node ID 001646cd5349ee6fda443ddfc75b3a52406a164f # Parent a4d000f759b4d1fb0f55a6b7e882e1083fdfd372 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 diff --git a/light8/rsn.py b/light8/rsn.py --- a/light8/rsn.py +++ b/light8/rsn.py @@ -27,8 +27,12 @@ parportdmx = io.ParportDMX(DUMMY) mr_lightboard = Lightboard(root,parportdmx,DUMMY) signal(SIGINT, mr_lightboard.quit) + + bindkeys(root,'', mr_lightboard.quit) +root.bind_class("all","",lambda ev: eventtoparent(ev,"")) +root.bind_class("all","",lambda ev: eventtoparent(ev,"")) root.mainloop() # Receiver switches main