Mercurial > code > home > repos > light9
diff light8/uihelpers.py @ 51:71489bb71528
- Meet Fader. He is going to grow up and be a crossfader some day
- Meet Fader. He is going to grow up and be a crossfader some day
(tomarrow)
- Tkinter -> Tix so we can use ScrolledListBox which has a command
- Some improvements to Cue
- Cues need to specify their final values
- Cues are imported by subs. This should be fixed for style points.
- Some other cleanups
author | dmcc |
---|---|
date | Sun, 07 Jul 2002 15:40:45 +0000 |
parents | 2ae11dc56b38 |
children | 065896b0913c |
line wrap: on
line diff
--- a/light8/uihelpers.py Sun Jul 07 15:26:02 2002 +0000 +++ b/light8/uihelpers.py Sun Jul 07 15:40:45 2002 +0000 @@ -1,6 +1,8 @@ """all the tiny tk helper functions""" + from __future__ import nested_scopes from Tkinter import * +from Tix import * from types import StringType def make_frame(parent): @@ -14,11 +16,11 @@ w.bind(key, func) def toplevelat(x,y,w=None,h=None): - tl=Toplevel() + tl = Toplevel() if w and h: - tl.wm_geometry("%dx%d+%d+%d"%(w,h,x,y)) + tl.wm_geometry("%dx%d+%d+%d" % (w,h,x,y)) else: - tl.wm_geometry("+%d+%d"%(x,y)) + tl.wm_geometry("+%d+%d" % (x,y)) return tl def toggle_slider(s):