From: Alan Knowles Date: Tue, 22 Jun 2010 11:19:02 +0000 (+0800) Subject: ClutterTest/Window.bjs X-Git-Url: http://git.roojs.org/?p=app.Builder.js;a=commitdiff_plain;h=2c4368dd94246e53c0709b50f14be2884ef78d51 ClutterTest/Window.bjs --- diff --git a/ClutterTest/Window.bjs b/ClutterTest/Window.bjs index 996dced31..51c203fa4 100644 --- a/ClutterTest/Window.bjs +++ b/ClutterTest/Window.bjs @@ -22,7 +22,7 @@ "items": [ { "pack": false, - "x": 100, + "x": 10, "xtype": "Actor", "y": 100, "|init": "function() {\n\n var child = new XObject(this.items[0]);\n child.init();\n child.parent = this;\n //var contents = new Gtk.Button({ label: 'test' }); \n var contents = child.el;\n \n print(JSON.stringify(this.items));\n \n \n this.el = new GtkClutter.Actor.with_contents ( contents) ;\n XObject.prototype.init.call(this);\n}\n",