Is it possible to make a webkit webview transparent within the application like other gtk widgets?

611 views Asked by At

I am writing a simple application with Python3, Gtk3 and Webkit2. One of the elements is a webview, but I want the webview to be transparent to the background set for the parent container - in this case a Gtk.Paned in a Gtk.Box where the GtK.Box can optionally have a background image set.

Most of the solutions I've found out there give you a webview that is transparent to the screen/desktop. Like this solution:

This is not quite what I want. Is there any way to choose what webview is transparent to? Or another approach that produces the desired result?

1

There are 1 answers

0
ptomato On

Good question, but as far as I know it's not currently possible.