Mercurial > code > home > repos > light9
diff light8/panels.py @ 108:115dd48e15a9
latest changes. couldn't commit lightboard for some reason
author | dmcc |
---|---|
date | Tue, 23 Jul 2002 01:13:38 +0000 |
parents | 47bda76f5236 |
children |
line wrap: on
line diff
--- a/light8/panels.py Sun Jul 21 07:20:33 2002 +0000 +++ b/light8/panels.py Tue Jul 23 01:13:38 2002 +0000 @@ -11,7 +11,7 @@ class Controlpanel(Frame): def __init__(self, parent, xfader, refresh_cb, quit_cb, jostle_cb, - whatsup_cb): + whatsup_cb=None): Frame.__init__(self,parent, bg='black') controlpanel = self for txt,cmd in ( @@ -24,7 +24,7 @@ ('Clear Y', lambda: xfader.clearallbuttons('y')), ("What's up?", whatsup_cb)): Button(controlpanel, text=txt, command=cmd, bg='black', - fg='white').pack(side='top', fill='x') + fg='white',font=stdfont, padx=0, pady=0).pack(side='top', fill='x') # jostle button Checkbutton(controlpanel, text="Jostle", bg='black', fg='white', command=jostle_cb).pack(side=TOP, fill=X)