[webkit-gtk] Custom GTK widgets inside webview

Michael Catanzaro mcatanzaro at igalia.com
Mon Jun 5 03:51:39 PDT 2017


On Mon, Jun 5, 2017 at 5:41 AM, Zisu Andrei <matzipan at gmail.com> wrote:
> I am wondering what makes it unsolvable in your view? Afaict, the 
> button element or text entries and what not are still GTK widgets at 
> the end of the day, so to my ignorant mind it's just a matter of 
> repurposing that code? I will have a better look at the code in 
> question.
> 
See RenderThemeGtk.cpp and ScrollbarThemeGtk.cpp. You will quickly see 
why repurposing that code is not going to be practical... these are not 
GTK+ widgets in any real sense of those words, they are drawn manually 
using the GTK+ foreign drawing API. GTK+ does not make this easy. 
You're looking at a major engineering project touching the internals of 
WebCore if you want to allow real GTK+ widgets into the DOM.

Good luck,

Michael



More information about the webkit-gtk mailing list