X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=DependTree%2FWindow.bjs;h=e71b301abe425e417c6c00dbcbf1eb9cd82d71d5;hb=74aa4894de6b6408d522c4e73e84128056d50474;hp=171352a31311a18e50dde59a9cd091bf3e8e2435;hpb=6fbb36a56db9f819cbd4cf0eaa32f6f25dafdd2c;p=app.Builder.js diff --git a/DependTree/Window.bjs b/DependTree/Window.bjs index 171352a31..e71b301ab 100644 --- a/DependTree/Window.bjs +++ b/DependTree/Window.bjs @@ -7,7 +7,7 @@ "items": [ { "listeners": { - "show": "function (self) {\n print(\"SHOW\");\n var BuildLists = imports['BuildLists.js'].BuildLists;\n this.data = new BuildLists();\n print(JSON.stringify(this.data.allmethods, null,4));\n \n var ls = this.get('method-list-store');\n this.data.allmethods.forEach(function(v) {\n ls.append( [ v ]);\n });\n var ls = this.get('children-list-store');\n this.data.allchildren.forEach(function(v) {\n ls.append( [ v ]);\n });\n var ls = this.get('class-list-store');\n var i =0;\n for (var c in this.data.methods) {\n i++;\n ls.append( [ c , true , i > 10 ? true : false]);\n };\n \n \n \n}" + "show": "function (self) {\n print(\"SHOW\");\n var BuildLists = imports['BuildLists.js'].BuildLists;\n this.data = new BuildLists();\n print(JSON.stringify(this.data.allmethods, null,4));\n \n var ls = this.get('method-list-store');\n this.data.allmethods.forEach(function(v) {\n ls.append( [ v , 0, 1 ]);\n });\n var ls = this.get('children-list-store');\n this.data.allchildren.forEach(function(v) {\n ls.append( [ v , 0, 1]);\n });\n var ls = this.get('class-list-store');\n var i =0;\n for (var c in this.data.methods) {\n i++;\n ls.append( [ c , true , i > 10 ? 1 : 0]);\n };\n \n \n \n}" }, "default_height": 500, "default_width": 600, @@ -111,10 +111,10 @@ "items": [ { "id": "method-list-store", - "pack": false, "xtype": "ListStore", "|init": " function() \n {\n XObject.prototype.init.call(this);\n this.el.set_column_types ( 6, [\n GObject.TYPE_STRING, \n GObject.TYPE_BOOLEAN, \n GObject.TYPE_BOOLEAN, \n GObject.TYPE_STRING, \n GObject.TYPE_STRING, \n GObject.TYPE_STRING \n ] );\n \n }", - "|xns": "Gtk" + "|xns": "Gtk", + "listeners": {} } ] },