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:
56b931a
)
tests/clutter2.js
author
Alan Knowles
<alan@akbkhome.com>
Tue, 22 Jun 2010 10:04:15 +0000
(18:04 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Tue, 22 Jun 2010 10:04:15 +0000
(18:04 +0800)
tests/clutter2.js
patch
|
blob
|
history
diff --git
a/tests/clutter2.js
b/tests/clutter2.js
index
c4d48f7
..
7a4607c
100644
(file)
--- a/
tests/clutter2.js
+++ b/
tests/clutter2.js
@@
-10,11
+10,15
@@
GtkClutter.init(null,null);
//win = new Gtk.Window.c_new(Gtk.WindowType.TOPLEVEL);
-
clutter = new GtkClutter
.Window({
+
win = new Gtk
.Window({
type:Gtk.WindowType.TOPLEVEL,
default_width : 500,
default_height : 500
} );
+
+clutter = new GtkClutter.Embed({
+});
+win.add(clutter);
print(clutter);
//win.add(clutter);
@@
-75,7
+79,7
@@
clutter.signal.show.connect(function() {
*/
});
-
clutter
.show_all();
+
win
.show_all();
Gtk.main();