// my vars (def)
public string tmpjs;
+ public string result_json;
// ctor
public Xcls_DialogPluginWebkit()
this.el.set_transient_for(parent);
this.el.modal = true;
}
- Palete.RooDatabase db = project.roo_database;
+ this.result_json = "";
+ var db = project.roo_database;
this.el.show_all();
loop.quit();
});
loop.run();
+ ret = _this.result_json;
// print("LOOP END?");
// try and get the resopse...
break;
return false;
}
print("CMD: %s\n",ar[1]);
- print("ARGS: %s\n",ar[2]);
+ print("ARGS: %s\n",ar[2]);
switch(ar[1]) {
+
case "SAVEHTML":
- print("%sw",ar[2]);
- // _this.file.saveHTML(ar[2]);
+ // print("%sw",ar[2]);
+ // _this.file.saveHTML(ar[2]);
+ return true;
+
+ case "OUT":
+ _this.result_json = ar[2];
return true;
+
default:
return true;
}