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

index 295651e..4da6470 100644 (file)
@@ -6,4 +6,15 @@ atoms = {
                "STRING" : Gdk.atom_intern("STRING")
        };
 targetList = new Gtk.TargetList();
-targetList.add(  atoms["STRING"], 0, 0);
\ No newline at end of file
+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();