Making Gtk.Window Transparent?

view full story

http://askubuntu.com – (I updated the code so it is working like expected) Here's my code and I simply cannot figure out why my top level window doesn't become transparent. xwininfo says that windows has 32 Bit depth. I am running Ubuntu 11.10 and if I call .set_opacity(.5) on the window itself, it will become transparent. But all the content of the window too. I'd like a transparent background, but widgets should stay opaque. I looked at the notify-osd code and they are calling set_opacity on the main window. Yet, I cannot figure out why other widgets on the osd stay opaque. Here's the code: #!/usr/bin/env pytho (HowTos)