DependTree/Window.bjs
[app.Builder.js] / DependTree / Window.bjs
1 {
2     "id": "file-gtk-18",
3     "name": "Window",
4     "parent": "",
5     "title": false,
6     "path": "/home/alan/gitlive/app.Builder.js/DependTree/Window.bjs",
7     "items": [
8         {
9             "listeners": {
10                 "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    for (var c in this.data.methods) {\n        ls.append( [ c , true ]);\n    };\n    \n    \n    \n}"
11             },
12             "default_height": 500,
13             "default_width": 600,
14             "xtype": "Window",
15             "|init": "function() {\n    XObject.prototype.init.call(this);\n    this.el.show_all();\n}\n",
16             "|xns": "Gtk",
17             "items": [
18                 {
19                     "xtype": "VBox",
20                     "|xns": "Gtk",
21                     "listeners": {},
22                     "items": [
23                         {
24                             "pack": "pack_start,false,false",
25                             "xtype": "HBox",
26                             "|xns": "Gtk",
27                             "items": [
28                                 {
29                                     "label": "Reset",
30                                     "xtype": "Button",
31                                     "|xns": "Gtk"
32                                 }
33                             ]
34                         },
35                         {
36                             "xtype": "HBox",
37                             "|xns": "Gtk",
38                             "listeners": {},
39                             "items": [
40                                 {
41                                     "xtype": "ScrolledWindow",
42                                     "|xns": "Gtk",
43                                     "listeners": {},
44                                     "items": [
45                                         {
46                                             "xtype": "TreeView",
47                                             "|xns": "Gtk",
48                                             "listeners": {},
49                                             "items": [
50                                                 {
51                                                     "|xns": "Gtk",
52                                                     "xtype": "TreeModelFilter",
53                                                     "pack": false
54                                                 },
55                                                 {
56                                                     "id": "class-list-store",
57                                                     "xtype": "ListStore",
58                                                     "|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_STRING, \n                GObject.TYPE_STRING, \n                GObject.TYPE_STRING, \n                GObject.TYPE_STRING \n            ] );\n            \n        }",
59                                                     "|xns": "Gtk"
60                                                 },
61                                                 {
62                                                     "title": "Class",
63                                                     "xtype": "TreeViewColumn",
64                                                     "|xns": "Gtk",
65                                                     "expand": true,
66                                                     "listeners": {},
67                                                     "items": [
68                                                         {
69                                                             "xtype": "CellRendererText",
70                                                             "|xns": "Gtk",
71                                                             "listeners": {}
72                                                         }
73                                                     ]
74                                                 },
75                                                 {
76                                                     "title": "Active",
77                                                     "xtype": "TreeViewColumn",
78                                                     "|xns": "Gtk",
79                                                     "items": [
80                                                         {
81                                                             "listeners": {
82                                                                 "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}"
83                                                             },
84                                                             "activatable": true,
85                                                             "xtype": "CellRendererToggle",
86                                                             "|xns": "Gtk"
87                                                         }
88                                                     ]
89                                                 }
90                                             ]
91                                         }
92                                     ]
93                                 },
94                                 {
95                                     "xtype": "ScrolledWindow",
96                                     "|xns": "Gtk",
97                                     "listeners": {},
98                                     "items": [
99                                         {
100                                             "xtype": "TreeView",
101                                             "|xns": "Gtk",
102                                             "listeners": {},
103                                             "items": [
104                                                 {
105                                                     "id": "method-list-store",
106                                                     "xtype": "ListStore",
107                                                     "|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_STRING, \n                GObject.TYPE_STRING, \n                GObject.TYPE_STRING, \n                GObject.TYPE_STRING \n            ] );\n            \n        }",
108                                                     "|xns": "Gtk"
109                                                 },
110                                                 {
111                                                     "title": "Methods",
112                                                     "xtype": "TreeViewColumn",
113                                                     "|xns": "Gtk",
114                                                     "expand": true,
115                                                     "listeners": {},
116                                                     "items": [
117                                                         {
118                                                             "xtype": "CellRendererText",
119                                                             "|xns": "Gtk",
120                                                             "listeners": {}
121                                                         }
122                                                     ]
123                                                 },
124                                                 {
125                                                     "title": "Active",
126                                                     "xtype": "TreeViewColumn",
127                                                     "|xns": "Gtk",
128                                                     "listeners": {},
129                                                     "items": [
130                                                         {
131                                                             "listeners": {
132                                                                 "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}"
133                                                             },
134                                                             "activatable": true,
135                                                             "xtype": "CellRendererToggle",
136                                                             "|xns": "Gtk"
137                                                         }
138                                                     ]
139                                                 }
140                                             ]
141                                         }
142                                     ]
143                                 },
144                                 {
145                                     "xtype": "ScrolledWindow",
146                                     "|xns": "Gtk",
147                                     "listeners": {},
148                                     "items": [
149                                         {
150                                             "xtype": "TreeView",
151                                             "|xns": "Gtk",
152                                             "listeners": {},
153                                             "items": [
154                                                 {
155                                                     "id": "children-list-store",
156                                                     "xtype": "ListStore",
157                                                     "|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_STRING, \n                GObject.TYPE_STRING, \n                GObject.TYPE_STRING, \n                GObject.TYPE_STRING \n            ] );\n            \n        }",
158                                                     "|xns": "Gtk"
159                                                 },
160                                                 {
161                                                     "title": "Child classes",
162                                                     "xtype": "TreeViewColumn",
163                                                     "|xns": "Gtk",
164                                                     "expand": true,
165                                                     "listeners": {},
166                                                     "items": [
167                                                         {
168                                                             "xtype": "CellRendererText",
169                                                             "|xns": "Gtk",
170                                                             "listeners": {}
171                                                         }
172                                                     ]
173                                                 },
174                                                 {
175                                                     "title": "Active",
176                                                     "xtype": "TreeViewColumn",
177                                                     "|xns": "Gtk",
178                                                     "listeners": {},
179                                                     "items": [
180                                                         {
181                                                             "listeners": {
182                                                                 "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}"
183                                                             },
184                                                             "activatable": true,
185                                                             "xtype": "CellRendererToggle",
186                                                             "|xns": "Gtk"
187                                                         }
188                                                     ]
189                                                 }
190                                             ]
191                                         }
192                                     ]
193                                 }
194                             ]
195                         }
196                     ]
197                 }
198             ]
199         }
200     ],
201     "permname": "",
202     "modOrder": ""
203 }