On Tue, May 4 2021 at 06:53:58 PM +0200, linux...@tin.it wrote:
Ok, let's see... any idea on how to make the UI (main program)
communicate with the library? A pipe perhaps?

A pipe would work. You can use whatever form of IPC you want. But there are a few built-in options that will probably be easier:

UI process -> web process:

webkit_web_context_send_message_to_all_extensions()
webkit_web_view_send_message_to_page()

Web process -> UI process:

webkit_web_extension_send_message_to_context()
webkit_web_page_send_message_to_view()


_______________________________________________
webkit-gtk mailing list
webkit-gtk@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-gtk

Reply via email to