Adrian Perez de Castro
aperez at igalia.com
Fri Apr 27 07:09:50 PDT 2018
On Fri, 27 Apr 2018 09:51:39 -0400, Anthony Walter <sysrpl at gmail.com> wrote:
> I know webkitgtk version 1 is old and deprecated, but for the purposes of
> supporting gtk2, I want to know if there exists a hook or connection
> For example, in webkit2gtk there exists the function:
> things like define classes and functions in native code that a web page
> inside a webview could access and invoke.
Yes, that is exactly what you need. WebKitGTK+ historically did not provide
in other WebKit ports—so for example you should be able to reuse documentation
and most code from examples you can find for MacOS.
For a good starting point, you could use this tutorial:
API from developer.appple.com (they only have the Swift and Objective-C APIs)
alongside the WebKitGTK+ ones; once you get a grasp of the basics they are
reasonably easy to follow.
I hope this helps.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 195 bytes
Desc: not available
More information about the webkit-gtk