Sample/Editor.bjs
authorAlan Knowles <alan@akbkhome.com>
Thu, 4 Nov 2010 03:15:56 +0000 (11:15 +0800)
committerAlan Knowles <alan@akbkhome.com>
Thu, 4 Nov 2010 03:15:56 +0000 (11:15 +0800)
Sample/Editor.bjs

index 3b66208..80b5543 100644 (file)
@@ -17,7 +17,7 @@
             "title": "Application Builder - Editor",
             "width_request": 500,
             "xtype": "Window",
-            "|": "function() {\n    \n}\n",
+            "|": "function() {\n    return this.get('/Editor.RightEditor').save();\n}\n",
             "|init": "function() {\n    XObject.prototype.init.call(this);\n   // this.show_all();\n}\n",
             "|xns": "Gtk",
             "items": [