On Wed, 2008-10-01 at 13:02 +0200, Jörn Reder wrote: > Emmanuele Bassi wrote: > > > > 1.) Is it possible having a transparent stage on a X11 desktop? > > > Changing the opacity property doesn't work as expected. > > > > you need the X server to return a RGBA window. this will probably work > > on nvidia but not on intel or ati drivers. > > Ok, now the obvious question ;) How do I manage this? I'am running a > desktop with composite extension (simply xcompmgr, NVidia GLX), so all > requirements should be met.
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. > > > 2.) I can't find any signals to catch stage resizing. Am > > > I missing something? > > > > notify::allocation, notify::width, notify::height are all signals that > > can be used to know the change of size of any actor - including the > > stage. > > Thanks, works perfect, but I can't find these in the docs (suspected > them in ClutterActor). :allocation, :width and :height are ClutterActor properties; like all GObject properties, you get notification when their value changes. the signal emitted in that case is ::notify. ::notify is a detailed signal - meaning that callbacks can be attached to specific "details". in this case, the detail is the property name. so, "notify::allocation" will call your function each time the ::notify signal has been called for the :allocation property. you should probably have a look at the GObject documentation and API reference. ciao, Emmanuele. -- Emmanuele Bassi, Intel Open Source Technology Center -- To unsubscribe send a mail to [EMAIL PROTECTED]
