05.06.2017, 13:52, "Michael Catanzaro" <[email protected]>: > On Mon, Jun 5, 2017 at 5:41 AM, Zisu Andrei <[email protected]> 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.
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, > > Michael > > _______________________________________________ > webkit-gtk mailing list > [email protected] > https://lists.webkit.org/mailman/listinfo/webkit-gtk -- Regards, Konstantin _______________________________________________ webkit-gtk mailing list [email protected] https://lists.webkit.org/mailman/listinfo/webkit-gtk
