[webkit-gtk] Custom GTK widgets inside webview

Zisu Andrei matzipan at gmail.com
Sat Jun 3 10:54:57 PDT 2017

Hello everyone,

I've been using webkit2gtk-4 from Vala for a mail application I am writing
for myself. It's been relatively easy to work with, apart from a few
issues. Perhaps I'll detail them in some future emails.

However, I am writing this to ask about opportunity of allowing custom GTK
widgets to be embedded in the WebView. What would that entail? Where would
one need to look for adding such a feature, and if one were to do so, would
it be accepted upstream? Is there a particular reason why this has not been
done? I googled around a bit and I wasn't able to find answers.

Specifically, in my mail application, when displaying a mail thread, I have
a choice between a single webview for the entire thread and a webview for
each message content. While single webview would be most efficient, it
would mean I wouldn't be able to reuse some of the GTK widgets I've used in
the rest of the application and so on, and if I do have a webview for each
message - the waste is obvious.

Thank you for all your work,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-gtk/attachments/20170603/fbf1b0cd/attachment.html>

More information about the webkit-gtk mailing list