# HG changeset patch # User Drew Perttula # Date 2006-06-16 19:35:08 # Node ID fd06667e00e1855cdf24c4340a5362cf2510fa13 # Parent 2193eab0650b57c48211a52a733d10dd59bd984a b2 light setting in subcomposer diff --git a/light9/dmxchanedit.py b/light9/dmxchanedit.py --- a/light9/dmxchanedit.py +++ b/light9/dmxchanedit.py @@ -73,14 +73,18 @@ class Onelevel(tk.Frame): self.changelevel(0.0) def b3down(ev): self.changelevel(1.0) + def b2down(ev): # same thing for now + self.changelevel(1.0) # make the buttons work in the child windows for w in self.winfo_children(): for e,func in (('',b1down), ('',b1motion), ('',b1up), + ('', b2down), ('', b3up), ('', b3down)): + w.bind(e,func) # w.bind(e,lambda ev,e=e: eventtoparent(ev,e))