DependTree/Window.bjs
[app.Builder.js] / DependTree / Window.bjs
1 {
2     "id": "file-gtk-17",
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                                                     "xtype": "TreeModelFilter",
52                                                     "|xns": "Gtk",
53                                                     "listeners": {},
54                                                     "items": [
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                                                             "listeners": {},
61                                                             "pack": false
62                                                         }
63                                                     ]
64                                                 },
65                                                 {
66                                                     "title": "Class",
67                                                     "xtype": "TreeViewColumn",
68                                                     "|xns": "Gtk",
69                                                     "expand": true,
70                                                     "listeners": {},
71                                                     "items": [
72                                                         {
73                                                             "xtype": "CellRendererText",
74                                                             "|xns": "Gtk",
75                                                             "listeners": {}
76                                                         }
77                                                     ]
78                                                 },
79                                                 {
80                                                     "title": "Active",
81                                                     "xtype": "TreeViewColumn",
82                                                     "|xns": "Gtk",
83                                                     "items": [
84                                                         {
85                                                             "listeners": {
86                                                                 "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}"
87                                                             },
88                                                             "activatable": true,
89                                                             "xtype": "CellRendererToggle",
90                                                             "|xns": "Gtk"
91                                                         }
92                                                     ]
93                                                 }
94                                             ]
95                                         }
96                                     ]
97                                 },
98                                 {
99                                     "xtype": "ScrolledWindow",
100                                     "|xns": "Gtk",
101                                     "listeners": {},
102                                     "items": [
103                                         {
104                                             "xtype": "TreeView",
105                                             "|xns": "Gtk",
106                                             "listeners": {},
107                                             "items": [
108                                                 {
109                                                     "id": "method-list-store",
110                                                     "xtype": "ListStore",
111                                                     "|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        }",
112                                                     "|xns": "Gtk"
113                                                 },
114                                                 {
115                                                     "title": "Methods",
116                                                     "xtype": "TreeViewColumn",
117                                                     "|xns": "Gtk",
118                                                     "expand": true,
119                                                     "listeners": {},
120                                                     "items": [
121                                                         {
122                                                             "xtype": "CellRendererText",
123                                                             "|xns": "Gtk",
124                                                             "listeners": {}
125                                                         }
126                                                     ]
127                                                 },
128                                                 {
129                                                     "title": "Active",
130                                                     "xtype": "TreeViewColumn",
131                                                     "|xns": "Gtk",
132                                                     "listeners": {},
133                                                     "items": [
134                                                         {
135                                                             "listeners": {
136                                                                 "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}"
137                                                             },
138                                                             "activatable": true,
139                                                             "xtype": "CellRendererToggle",
140                                                             "|xns": "Gtk"
141                                                         }
142                                                     ]
143                                                 }
144                                             ]
145                                         }
146                                     ]
147                                 },
148                                 {
149                                     "xtype": "ScrolledWindow",
150                                     "|xns": "Gtk",
151                                     "listeners": {},
152                                     "items": [
153                                         {
154                                             "xtype": "TreeView",
155                                             "|xns": "Gtk",
156                                             "listeners": {},
157                                             "items": [
158                                                 {
159                                                     "id": "children-list-store",
160                                                     "xtype": "ListStore",
161                                                     "|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        }",
162                                                     "|xns": "Gtk"
163                                                 },
164                                                 {
165                                                     "title": "Child classes",
166                                                     "xtype": "TreeViewColumn",
167                                                     "|xns": "Gtk",
168                                                     "expand": true,
169                                                     "listeners": {},
170                                                     "items": [
171                                                         {
172                                                             "xtype": "CellRendererText",
173                                                             "|xns": "Gtk",
174                                                             "listeners": {}
175                                                         }
176                                                     ]
177                                                 },
178                                                 {
179                                                     "title": "Active",
180                                                     "xtype": "TreeViewColumn",
181                                                     "|xns": "Gtk",
182                                                     "listeners": {},
183                                                     "items": [
184                                                         {
185                                                             "listeners": {
186                                                                 "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}"
187                                                             },
188                                                             "activatable": true,
189                                                             "xtype": "CellRendererToggle",
190                                                             "|xns": "Gtk"
191                                                         }
192                                                     ]
193                                                 }
194                                             ]
195                                         }
196                                     ]
197                                 }
198                             ]
199                         }
200                     ]
201                 }
202             ]
203         }
204     ],
205     "permname": "",
206     "modOrder": ""
207 }