ClutterTest/Window.bjs
authorAlan Knowles <alan@akbkhome.com>
Tue, 22 Jun 2010 11:20:10 +0000 (19:20 +0800)
committerAlan Knowles <alan@akbkhome.com>
Tue, 22 Jun 2010 11:20:10 +0000 (19:20 +0800)
ClutterTest/Window.bjs

index 6ced2f3..c8d316b 100644 (file)
                             "pack": false,
                             "x": 150,
                             "xtype": "Actor",
-                            "y": 300,
+                            "y": 10,
                             "|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",
                             "|xns": "GtkClutter",
                             "items": [