projects
/
app.Builder.js
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
54ee11d
)
MOVED Builder3/Globals.js to Globals.js
author
Alan Knowles
<alan@akbkhome.com>
Mon, 2 Jul 2012 13:19:08 +0000
(21:19 +0800)
committer
Alan 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]
patch
|
blob
diff --git a/Globals.js
b/Globals.js
new file mode 100644
(file)
index 0000000..
5b4cad1
--- /dev/null
+++ b/
Globals.js
@@ -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();