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                             pack : false,
54                             items : [
55                                 {
56                                     xtype: Gtk.ListStore
57                                 },
58                                 {
59                                     xtype: Gtk.TreeViewColumn,
60                                     title : "Class",
61                                     items : [
62                                         {
63                                             xtype: Gtk.CellRendererText
64                                         }
65                                     ]
66                                 }
67                             ]
68                         }
69                     ]
70                 },
71                 {
72                     xtype: Gtk.ScrolledWindow,
73                     items : [
74                         {
75                             xtype: Gtk.TreeView,
76                             pack : false,
77                             items : [
78                                 {
79                                     xtype: Gtk.ListStore
80                                 },
81                                 {
82                                     xtype: Gtk.TreeViewColumn,
83                                     title : "Class",
84                                     items : [
85                                         {
86                                             xtype: Gtk.CellRendererText
87                                         }
88                                     ]
89                                 }
90                             ]
91                         }
92                     ]
93                 }
94             ]
95         }
96     ]
97 });
98 Window.init();
99 XObject.cache['/Window'] = Window;