DependTree/Window.bjs
[app.Builder.js] / DependTree / Window.bjs
index bec7c5e..126bc23 100644 (file)
                                                             "listeners": {}
                                                         }
                                                     ]
+                                                },
+                                                {
+                                                    "title": "Active",
+                                                    "xtype": "TreeViewColumn",
+                                                    "|xns": "Gtk",
+                                                    "pack": false,
+                                                    "items": [
+                                                        {
+                                                            "listeners": {
+                                                                "toggled": "function (self, path) {\n    print(\"TOGGLE\");\n    // this.list\n\n\n     \n    var old = this.list.getValue(path, 1);\n   // print(JSON.stringify(old));\n    this.list.setValue(path, 1, old ? false : true)\n    \n    \n    \n    \n}"
+                                                            },
+                                                            "activatable": true,
+                                                            "xtype": "CellRendererToggle",
+                                                            "|xns": "Gtk"
+                                                        }
+                                                    ]
                                                 }
                                             ]
                                         }