[webkit-gtk] Custom GTK widgets inside webview

Michael Catanzaro mcatanzaro at igalia.com
Mon Jun 5 05:42:33 PDT 2017


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



More information about the webkit-gtk mailing list