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     items : [
23         {
24             xtype: Gtk.HBox,
25             items : [
26                 {
27                     xtype: Gtk.ScrolledWindow,
28                     items : [
29                         {
30                             xtype: Gtk.TreeView,
31                             items : [
32                                 {
33                                     xtype: Gtk.ListStore
34                                 },
35                                 {
36                                     xtype: Gtk.TreeViewColumn,
37                                     title : "Class",
38                                     items : [
39                                         {
40                                             xtype: Gtk.CellRendererText
41                                         }
42                                     ]
43                                 }
44                             ]
45                         }
46                     ]
47                 },
48                 {
49                     xtype: Gtk.ScrolledWindow,
50                     items : [
51                         {
52                             xtype: Gtk.TreeView,
53                             items : [
54                                 {
55                                     xtype: Gtk.ListStore
56                                 },
57                                 {
58                                     xtype: Gtk.TreeViewColumn,
59                                     title : "Class",
60                                     items : [
61                                         {
62                                             xtype: Gtk.CellRendererText
63                                         }
64                                     ]
65                                 }
66                             ]
67                         }
68                     ]
69                 },
70                 {
71                     xtype: Gtk.ScrolledWindow,
72                     items : [
73                         {
74                             xtype: Gtk.TreeView,
75                             items : [
76                                 {
77                                     xtype: Gtk.ListStore
78                                 },
79                                 {
80                                     xtype: Gtk.TreeViewColumn,
81                                     title : "Class",
82                                     items : [
83                                         {
84                                             xtype: Gtk.CellRendererText
85                                         }
86                                     ]
87                                 }
88                             ]
89                         }
90                     ]
91                 }
92             ]
93         }
94     ]
95 });
96 Window.init();
97 XObject.cache['/Window'] = Window;