"gint default_height" : 500,
"gboolean deletable" : true,
"xtype" : "Dialog",
- "| string show" : " (Gtk.Window ?parent, string text) {// JsRender.Node node) {\n \n if (parent != null) {\n this.el.set_transient_for(parent);\n this.el.modal = true;\n }\n \n \n var runhtml = \"<script type=\\\"text/javascript\\\">\\n\" ;\n string builderhtml;\n \n \n GLib.FileUtils.get_contents(BuilderApplication.configDirectory() + \"/resources/roo.builder.js\", out builderhtml);\n\n runhtml += builderhtml + \"\\n\";\n \n \n runhtml += \"\\n\" +\n\t\"Roo.onReady(function() {\\n\" +\n\n\t\"Roo.XComponent.build();\\n\" +\n\t\"});\\n\";\n\n runhtml += \"</script>\\n\" ;\n\n // fix to make sure they are the same..\n \n // need to modify paths\n\n string inhtml;\n \n GLib.FileUtils.get_contents(\n BuilderApplication.configDirectory() + \"/resources/roo.builder.html\"\n , out inhtml);\n \n \n\n\n \n \n print(runhtml);\n \n var html = inhtml.replace(\"</head>\", runhtml + // + this.runhtml + \n \"<script type=\\\"text/javascript\\\" src=\\\"xhttp://localhost/app.Builder.js/resources/Editors/Editor.Roo.grid.Grid.js\\\"></script>\" + \n // \"<script type=\\\"text/javascript\\\" src=\\\"xhttp://localhost\" + fc.fname + \"\\\"></script>\" + \n // \"<script type=\\\"text/javascript\\\">\\n\" +\n // js_src + \"\\n\" + \n // \"</script>\" + \n \n \"</head>\");\n //print(\"LOAD HTML \" + html);\n \n //var rootURL = _this.file.project.rootURL;\n \n \n \n this.webview.el.load_html( html , \n //fixme - should be a config option!\n \"xhttp://localhost/app.Builder.js/\"\n );\n \n \n \n this.el.show_all();\n var ret = \"\";\n while (true) {\n var response_id = this.el.run();\n if (response_id < 1) {\n this.el.hide();\n return \"\";\n }\n // keep showing...?\n break;\n }\n \n // now we save it..\n this.el.hide();\n \n return ret;\n \n \n \n}\n",
+ "| string show" : " (Gtk.Window ?parent, string text) {// JsRender.Node node) {\n \n if (parent != null) {\n this.el.set_transient_for(parent);\n this.el.modal = true;\n }\n \n \n var runhtml = \"<script type=\\\"text/javascript\\\">\\n\" ;\n string builderhtml;\n \n \n GLib.FileUtils.get_contents(BuilderApplication.configDirectory() + \"/resources/roo.builder.js\", out builderhtml);\n\n runhtml += builderhtml + \"\\n\";\n \n \n runhtml += \"\\n\" +\n\t\"Roo.onReady(function() {\\n\" +\n\n\t\"Roo.XComponent.build();\\n\" +\n\t\"});\\n\";\n\n runhtml += \"</script>\\n\" ;\n\n // fix to make sure they are the same..\n \n // need to modify paths\n\n string inhtml;\n \n GLib.FileUtils.get_contents(\n BuilderApplication.configDirectory() + \"/resources/roo.builder.html\"\n , out inhtml);\n \n \n\n\n \n \n //print(runhtml);\n \n var html = inhtml.replace(\"</head>\", runhtml + // + this.runhtml + \n \"<script type=\\\"text/javascript\\\" src=\\\"xhttp://localhost/app.Builder.js/resources/Editors/Editor.Roo.grid.Grid.js\\\"></script>\" + \n // \"<script type=\\\"text/javascript\\\" src=\\\"xhttp://localhost\" + fc.fname + \"\\\"></script>\" + \n // \"<script type=\\\"text/javascript\\\">\\n\" +\n // js_src + \"\\n\" + \n // \"</script>\" + \n \n \"</head>\");\n //print(\"LOAD HTML \" + html);\n \n //var rootURL = _this.file.project.rootURL;\n \n \n \n this.webview.el.load_html( html , \n //fixme - should be a config option!\n \"xhttp://localhost/app.Builder.js/\"\n );\n \n \n \n this.el.show_all();\n var ret = \"\";\n while (true) {\n var response_id = this.el.run();\n if (response_id < 1) {\n this.el.hide();\n return \"\";\n }\n // keep showing...?\n break;\n }\n \n // now we save it..\n this.el.hide();\n \n return ret;\n \n \n \n}\n",
"$ xns" : "Gtk",
"gint default_width" : 500,
"gboolean modal" : true,