GJS: How to communicate with js inside webkit webview

2013-03-14 Thread Rich
Hi I have a webkit webview, set up as in the hello tutorial[1]. I'd like to be able to access JS inside the webview (or vice versa). e.g. I want my GJS to allow the user to select a directory, and then to pass the filenames into the web app. From what I've read, I tried this this._w

Re: GJS: How to communicate with js inside webkit webview

2013-03-14 Thread Alan Knowles
http://www.roojs.com/seed/gir-1.2-gtk-3.0/seed/WebKit.WebView.html This indicates that context is a void* in the gir, so it's unlikely any of the binding languages can access it. I've done quite a but of work with seed and webkit, i would suggest forget about passing objects between webkit/gjs