3 Pango = imports.gi.Pango;
4 GLib = imports.gi.GLib;
6 GObject = imports.gi.GObject;
7 GtkSource = imports.gi.GtkSource;
8 WebKit = imports.gi.WebKit;
10 GtkClutter = imports.gi.GtkClutter;
12 console = imports.console;
13 XObject = imports.XObject.XObject;
17 show : function (self) {
19 var BuildLists = imports['BuildLists.js'].BuildLists;
20 this.data = new BuildLists();
21 print(JSON.stringify(this.data.allmethods, null,4));
23 var ls = this.get('method-list-store');
24 this.data.allmethods.forEach(function(v) {
27 var ls = this.get('children-list-store');
28 this.data.allchildren.forEach(function(v) {
31 var ls = this.get('class-list-store');
32 for (var c in this.data.methods) {
43 XObject.prototype.init.call(this);
63 xtype: Gtk.ScrolledWindow,
70 id : "class-list-store"
73 xtype: Gtk.TreeViewColumn,
77 xtype: Gtk.CellRendererText
86 xtype: Gtk.ScrolledWindow,
93 id : "method-list-store"
96 xtype: Gtk.TreeViewColumn,
100 xtype: Gtk.CellRendererText
109 xtype: Gtk.ScrolledWindow,
115 xtype: Gtk.ListStore,
116 id : "children-list-store"
119 xtype: Gtk.TreeViewColumn,
120 title : "Child classes",
123 xtype: Gtk.CellRendererText
138 XObject.cache['/Window'] = Window;