MOVED Globals.js to Builder3/Globals.js
authorAlan Knowles <alan@akbkhome.com>
Tue, 3 Jul 2012 14:59:23 +0000 (22:59 +0800)
committerAlan Knowles <alan@akbkhome.com>
Tue, 3 Jul 2012 14:59:23 +0000 (22:59 +0800)
Globals.js

Builder3/Globals.js

index e69de29..5b4cad1 100644 (file)
@@ -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();