[webkit-gtk] Custom GTK widgets inside webview

Zisu Andrei matzipan at gmail.com
Mon Jun 5 05:44:20 PDT 2017


Oh right, so you're saying get that information, DBus it out to the main
process and render it in the right place in the main application?

On Mon, Jun 5, 2017 at 1:43 PM Michael Catanzaro <mcatanzaro at igalia.com>
wrote:

> On Mon, Jun 5, 2017 at 7:39 AM, Zisu Andrei <matzipan at gmail.com> wrote:
> > Right. I wasn't aware that those are customly drawn elements. It
> > looks quite ugly, but I might just try my luck before I decide on an
> > embedded HTML renderer.
> >
> > Looking through the Webkit2 web extension API I couldn't find
> > anything that would allow custom drawing, or do I need to be looking
> > at changing the webkit2gtk api for it?
>
> You're going to have to do everything manually... using a web extension
> only gets you into the right process and gives you access to the DOM
> API so that you can e.g. calculate coordinates for where to draw things.
>
> Michael
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-gtk/attachments/20170605/1aeaa588/attachment.html>


More information about the webkit-gtk mailing list