diff bin/subcomposer @ 1164:65f0179a9254

subcomposer has a web ui with buttons for toggling lights Ignore-this: f8cf76c46d81eec86c8945a61f6a594d
author drewp@bigasterisk.com
date Sun, 15 Jun 2014 02:23:39 +0000
parents 0923efae4588
children ce8a71fab284
line wrap: on
line diff
--- a/bin/subcomposer	Sun Jun 15 02:21:24 2014 +0000
+++ b/bin/subcomposer	Sun Jun 15 02:23:39 2014 +0000
@@ -39,6 +39,7 @@
 from light9.rdfdb.patch import Patch
 from light9.observable import Observable
 from light9.editchoice import EditChoice, Local
+from light9.subcomposer import subcomposerweb
 
 
 class Subcomposer(tk.Frame):
@@ -235,8 +236,11 @@
     if not opts.no_geometry:
         toplevelat("subcomposer - %s" % opts.session, root, graph, session)
 
+        
     sc = Subcomposer(root, graph, session)
     sc.pack()
+    
+    subcomposerweb.init(graph, session, sc.currentSub)
 
     tk.Label(root,text="Bindings: B1 adjust level; B2 set full; B3 instant bump",
              font="Helvetica -12 italic",anchor='w').pack(side='top',fill='x')