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