MOVED Builder3/Globals.js to Globals.js
authorAlan Knowles <alan@akbkhome.com>
Mon, 2 Jul 2012 13:19:08 +0000 (21:19 +0800)
committerAlan Knowles <alan@akbkhome.com>
Mon, 2 Jul 2012 13:19:08 +0000 (21:19 +0800)
Builder3/Globals.js

Globals.js [new file with mode: 0644]

diff --git a/Globals.js b/Globals.js
new file mode 100644 (file)
index 0000000..5b4cad1
--- /dev/null
@@ -0,0 +1,20 @@
+Gtk = imports.gi.Gtk;
+Gdk = imports.gi.Gdk;
+
+
+atoms = {
+               "STRING" : Gdk.atom_intern("STRING")
+       };
+targetList = new Gtk.TargetList();
+targetList.add(  atoms["STRING"], 0, 0);
+
+
+
+Gtk.rc_parse_string(
+            "style \"gtkcombobox-style\" {\n" + 
+            "    GtkComboBox::appears-as-list = 1\n" +
+            "}\n"+
+            "class \"GtkComboBox\" style \"gtkcombobox-style\"\n");
+
+
+//imports.Window.Window.el.show_all();