DependTree/Window.js
[app.Builder.js] / DependTree / Window.js
1 Gtk = imports.gi.Gtk;
2 Gdk = imports.gi.Gdk;
3 Pango = imports.gi.Pango;
4 GLib = imports.gi.GLib;
5 Gio = imports.gi.Gio;
6 GObject = imports.gi.GObject;
7 GtkSource = imports.gi.GtkSource;
8 WebKit = imports.gi.WebKit;
9 Vte = imports.gi.Vte;
10 GtkClutter = imports.gi.GtkClutter;
11 Gdl = imports.gi.Gdl;
12 console = imports.console;
13 XObject = imports.XObject.XObject;
14 Window=new XObject({
15     xtype: Gtk.Window,
16     default_height : 500,
17     default_width : 600,
18     init : function() {
19         XObject.prototype.init.call(this);
20         this.el.show_all();
21     },
22     listeners : {
23         show : function (self) {
24         
25         }
26     },
27     items : [
28         {
29             xtype: Gtk.HBox,
30             items : [
31                 {
32                     xtype: Gtk.ScrolledWindow,
33                     items : [
34                         {
35                             xtype: Gtk.TreeView,
36                             items : [
37                                 {
38                                     xtype: Gtk.ListStore
39                                 },
40                                 {
41                                     xtype: Gtk.TreeViewColumn,
42                                     title : "Class",
43                                     items : [
44                                         {
45                                             xtype: Gtk.CellRendererText
46                                         }
47                                     ]
48                                 }
49                             ]
50                         }
51                     ]
52                 },
53                 {
54                     xtype: Gtk.ScrolledWindow,
55                     items : [
56                         {
57                             xtype: Gtk.TreeView,
58                             items : [
59                                 {
60                                     xtype: Gtk.ListStore
61                                 },
62                                 {
63                                     xtype: Gtk.TreeViewColumn,
64                                     title : "Child Classes",
65                                     items : [
66                                         {
67                                             xtype: Gtk.CellRendererText
68                                         }
69                                     ]
70                                 }
71                             ]
72                         }
73                     ]
74                 },
75                 {
76                     xtype: Gtk.ScrolledWindow,
77                     items : [
78                         {
79                             xtype: Gtk.TreeView,
80                             items : [
81                                 {
82                                     xtype: Gtk.ListStore
83                                 },
84                                 {
85                                     xtype: Gtk.TreeViewColumn,
86                                     title : "Methods",
87                                     items : [
88                                         {
89                                             xtype: Gtk.CellRendererText
90                                         }
91                                     ]
92                                 }
93                             ]
94                         }
95                     ]
96                 }
97             ]
98         }
99     ]
100 });
101 Window.init();
102 XObject.cache['/Window'] = Window;