On Wed, 2008-10-01 at 17:11 +0200, Jörn Reder wrote: > > apparently, it used to work by default on older revisions of the nvidia > > drivers. you can try setting the _NET_WM_WINDOW_OPACITY property or > > controlling the opacity using another composite manager than xcompmgr, > > like metacity. > > Sounds like we have some misunderstanding here. What you suggest is to > change to opacity of the toplevel window, which is indeed outside of > clutter's scope. I like to get a stage with no background color (what I > called transparent), without window decorations (I know how to manage > that), so I can do OSD like stuff.
first of all, there are no portable ways to do that. on X11, you might need to create your own Window with an ARGB visual and an opacity of 0, and set the Window as the stage surface using the clutter_x11_set_stage_foreach() function. you'll obviously need a compositor for this. I never tested it, and I don't guarantee it'll work. in theory, if you can get any GL application to be contained in a transparent window you should be able to achieve the same results with Clutter. > So the real question is how to get a Gtk toplevel window, which is > transparent, to embed a (transparent) clutter Widget in it. BTW: I am > using the Perl bindings. there are no platform-specific APIs wrapped in the bindings[1], so I'm afraid there is no way to do what you want. ciao, Emmanuele. +++ [1] Perl has a pure-Perl module implementing the X11 protocol, so it cannot share some of the data structures with an module wrapping a C library without incurring in huge headaches for me and possibly half a metric tonne of caveats for the developers. same goes for Python. -- Emmanuele Bassi, Intel Open Source Technology Center -- To unsubscribe send a mail to [EMAIL PROTECTED]
