[webkit-gtk] Webkit2 signals/callbacks

Daniel Berek berekdaniel at gmail.com
Mon Feb 11 23:35:24 PST 2019

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 <mcatanzaro at 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
> <aperez at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-gtk/attachments/20190212/7148626f/attachment.html>

More information about the webkit-gtk mailing list