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