[webkit-gtk] Embedded widget example?

Dov Grobgeld dov.grobgeld at gmail.com
Mon Apr 30 08:11:13 PDT 2018


Thanks. I'll have a look.

On Mon, Apr 30, 2018 at 12:22 PM, Adrian Perez de Castro <aperez at igalia.com>
wrote:

> 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 --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-gtk/attachments/20180430/d4d5c098/attachment.html>


More information about the webkit-gtk mailing list