Page 1 of 1

Transpirity of a part of a widget

Posted: Sat Jun 02, 2007 14:40
by RecyclingDuck
Hi Guys!

I've go a question:
Is there a snug way of changing the transpirity of a part of a widget - for example of the "ClientBrush" (of TaharezLook) ?

My will is, that the border of a window are still total visible (Aplha/Transpirity=1) and that the background is e.g Alpha = 0.5.

Hope u understand me ;)

Posted: Sat Jun 09, 2007 11:14
by Pompei2
In code, I don't see a possibility to do this. What you can do, is to change the background image to be transparent already.

Posted: Tue Jun 12, 2007 12:50
by daves
I have the same need, assuming that I understand what you are looking for.

If indeed you want the frame to be alpha = 1, and the inside of the frame to be translucent (alpha < 1) then I think this is achievable for all frames (other windows would be similar in nature) through an appropriate looknfeel modification (which I believe can be done programattically).

See the following image for an example of a frame that is not transparent and yet the inside of the frame is:

Image

and here you see that you even have control over the transparency of the frame and the titlebar (though its hard to see given its width that the red frame is actually alpha<1)

Image

Posted: Tue Jun 12, 2007 13:28
by daves
How does one get access to, and modify, the looknfeel programmatically?