Sample/About.js
authorAlan Knowles <alan@akkbhome.com>
Wed, 26 May 2010 15:52:17 +0000 (23:52 +0800)
committerAlan Knowles <alan@akkbhome.com>
Wed, 26 May 2010 15:52:17 +0000 (23:52 +0800)
Sample/About.js [new file with mode: 0644]

diff --git a/Sample/About.js b/Sample/About.js
new file mode 100644 (file)
index 0000000..a156dd7
--- /dev/null
@@ -0,0 +1,21 @@
+Gtk = imports.gi.Gtk;
+Gdk = imports.gi.Gdk;
+Pango = imports.gi.Pango;
+GLib = imports.gi.GLib;
+Gio = imports.gi.Gio;
+GObject = imports.gi.GObject;
+GtkSource = imports.gi.GtkSource;
+WebKit = imports.gi.WebKit;
+Vte = imports.gi.Vte;
+console = imports.console;
+XObject = imports.XObject.XObject;
+About=new XObject({
+    xtype: Gtk.AboutDialog,
+    authors : "Alan Knowles",
+    copyright : "LGPL",
+    license : "LGPL",
+    program_name : "app.Builder.js",
+    modal : true
+});
+About.init();
+XObject.cache['/About'] = About;