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