diff bin/subcomposer @ 455:9dd2baa41cca

subcomposer remembers window position
author drewp@bigasterisk.com
date Sun, 15 Jun 2008 23:17:07 +0000
parents f6ca2b2fa154
children 8b307310cc1b
line wrap: on
line diff
--- a/bin/subcomposer	Sun Jun 15 23:11:48 2008 +0000
+++ b/bin/subcomposer	Sun Jun 15 23:17:07 2008 +0000
@@ -12,6 +12,7 @@
 import run_local
 from light9.dmxchanedit import Levelbox
 from light9 import dmxclient, Patch, Submaster
+from light9.uihelpers import toplevelat
 
 class Subcomposer(tk.Frame):
     def __init__(self, master, levelboxopts=None, dmxdummy=0, numchannels=72,
@@ -150,8 +151,8 @@
 
     root=tk.Tk()
     root.config(bg='black')
-    root.wm_title("subcomposer")
     root.tk_setPalette("#004633")
+    toplevelat("subcomposer", root)
 
     sc = Subcomposer(root, dmxdummy=0,
                      #numchannels=276 # use this to see all the skyline dims