[Gambas-user] how to set transparent background for buttons?
neil lewis
neil at ...233...
Sat Aug 14 11:02:24 CEST 2004
Rob wrote:
>On Friday 13 August 2004 16:42, neil lewis wrote:
>
>
>>All of this is easy enough, but how can I make the bakcground
>>colour for the tool buttons (or any other Gambas widget)
>>transparent so that they are not restricted to rectangular
>>shapes?
>>
>>
>
>You can't.... Qt has no concept of "transparent" yet as far as I
>know except on the canvas (DrawingArea). Gambas does have the
>"mask" property, but only on forms, not individual controls.
>You might be able to create a form with just the one control on
>it and a mask of the desired transparency, and then insert that
>form onto another form in code.... no idea what gambas will do
>though, maybe you'd see your desktop background where the
>transparency is supposed to be ;)
>
>I would personally use a DrawingArea control for non-standard
>interfaces like these... it's also the only way (that I know of)
>for gambas to do mouseover highlighting.
>
>Rob
>
>
>
>-------------------------------------------------------
>SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
>100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
>Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
>http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
>_______________________________________________
>Gambas-user mailing list
>Gambas-user at lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/gambas-user
>
>
>
Thanks Rob, That sounds promising.
More information about the User
mailing list