[webkit-gtk] Custom GTK widgets inside webview
annulen at yandex.ru
Mon Jun 5 03:57:36 PDT 2017
05.06.2017, 13:52, "Michael Catanzaro" <mcatanzaro at igalia.com>:
> 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
> 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.
Real problem is not to draw widgets, but to make them respond to input events
in the same way as native widgets do.
> Good luck,
> webkit-gtk mailing list
> webkit-gtk at lists.webkit.org
More information about the webkit-gtk