[webkit-gtk] Interface between embedded Javascript and the main GTK app
Michael Catanzaro
mcatanzaro at redhat.com
Sun Aug 18 05:32:16 PDT 2024
On Sun, Aug 18 2024 at 12:25:08 PM +01:00:00, Gavin Smith
<gavinsmith0123 at gmail.com> wrote:
> It has been a few years since I worked on this and there may be better
> ways of doing this.
Easiest way to send a simple message: in JS, call
`window.webkit.messageHandlers.foo.postMessage()` to activate a UI
process callback that you register with
WebKitUserContentManager::script-message-received
More information about the webkit-gtk
mailing list