As I am positionning widgets on a backgroud bitmap, I am attempting to have these widgets transparent.
I use wx.ALPHA_TRANSPARENT as 4 parameter of wx.Colour which I then try to apply to a wx.ListCtrl ... and I get a black control instead.
So far the alpha component of wx.Colour is only used for drawing with a graphics context. The widgets themselves don't even look at it.
Is there a way to get that done ?
Not really, not with the native widgets anyway. On windows all of the widgets are an actual window, meaning that they have a background, etc. There isn't a good way to make them appear transparent without going to a lot of effort. On the other platforms some widgets (like wx.StaticText) are actually either drawn directly on their parent window or are truly transparent, so they behave a little more like what is usually expected in those cases.
···
--
Robin Dunn
Software Craftsman http://wxPython.org Java give you jitters? Relax with wxPython!