[webkit-dev] Transparency on GTK/DirectFB

Christian Dywan christian at twotoasts.de
Wed Sep 24 15:47:36 PDT 2008


Am Wed, 24 Sep 2008 15:16:24 -0700
schrieb Darin Adler <darin at apple.com>:

> On Sep 24, 2008, at 3:10 PM, Weber, Bernd wrote:
> 
> > The holy grail however would be to achieve transparency to the  
> > underlying desktop, by defining “transparent” as the background
> > color.
> 
> WebKit definitely supports this. It's used this way in the Mac OS X  
> Dashboard.
> 
> > I’m not sure whether Webkit, especially with GTK/DirectFB,
> > supports this right now.
> 
> I don't know if the GTK/DirectFB port supports it. That's a question  
> for someone else.

Take a look at the headers. There's no other documentation at this
point but it should be intuitive enough for most of what we have.

webkit_web_view_set_transparent

You will want that. And make sure you have an ARGB colour map on your
window, ie. when you create your toplevel window.

ciao,
    Christian


More information about the webkit-dev mailing list