Thanks it really works. But I still have to figure out how to pass data to my core class through webview widget -> gtk:window -> gui thread -> core app. A simple function call freezes the gui, so some kind of in-build signal handling is needed. (in the other direction I have already managed by glib:dispatcher). Any idea how to bring out the script messages? Thanks
Michael Catanzaro <mcatanz...@igalia.com> ezt írta (időpont: 2019. febr. 5., K, 15:37): > On Tue, Feb 5, 2019 at 6:51 AM, Adrian Perez de Castro > <ape...@igalia.com> wrote: > > You can also use an injected JS script [1] which hooks into the > > “onclick” > > events and send user script messages [2] to the process that is > > embedding > > the Web view. Depending on your use case that might be good enough, > > Uh yeah, that's way easier and almost certainly a better answer. Wasn't > thinking yesterday I guess. :) > > Michael > >
_______________________________________________ webkit-gtk mailing list webkit-gtk@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-gtk