From: Alan Knowles Date: Tue, 22 Jun 2010 10:04:15 +0000 (+0800) Subject: tests/clutter2.js X-Git-Url: http://git.roojs.org/?p=app.Builder.js;a=commitdiff_plain;h=75e3b99a27831c28d867a767df095e1ec6f13e76 tests/clutter2.js --- diff --git a/tests/clutter2.js b/tests/clutter2.js index c4d48f7a9..7a4607c45 100644 --- 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();