[webkit-gtk] Embedded widget example?
Adrian Perez de Castro
aperez at igalia.com
Mon Apr 30 02:22:33 PDT 2018
On Mon, 30 Apr 2018 11:06:32 +0300, Dov Grobgeld <dov.grobgeld at gmail.com> wrote:
> I have an image viewer with overlay widget that I have build that I would
> like to embed as a plugin in a web page within gtkwebkit?.
>
> Is there a simple example somewhere that shows what is needed to create a
> plugin? E.g. how would you embed a GtkDrawingArea within a WebView instance?
>
> Thanks in advance!
As far as I know, WebKitGTK+ has not had direct support for embedding GTK+
widgets in web views since the move to WebKit2 (multi-process) years ago.
That being said, there is library called Maxwell [1] which uses offscreen GTK+
rendering and forwards events back and forth to achieve embedding of widgets
in HTML content.
I hope this helps :-)
--
Adrián 🎩
---
[1] https://github.com/endlessm/maxwell
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <http://lists.webkit.org/pipermail/webkit-gtk/attachments/20180430/a5c5438c/attachment.bin>
More information about the webkit-gtk
mailing list