DependTree/Window.bjs
[app.Builder.js] / DependTree / Window.js
index 2a88509..835771d 100644 (file)
@@ -98,6 +98,22 @@ Window=new XObject({
                                             items : [
                                                 {
                                                     xtype: Gtk.CellRendererToggle,
+                                                    listeners : {
+                                                        toggled : function (self, path) {
+                                                            print("TOGGLE");
+                                                            // this.list
+                                                        
+                                                        
+                                                             
+                                                            var old = this.list.getValue(path, 1);
+                                                           // print(JSON.stringify(old));
+                                                            this.list.setValue(path, 1, !old)
+                                                            
+                                                            
+                                                            
+                                                            
+                                                        }
+                                                    },
                                                     activatable : true
                                                 }
                                             ]