开发者

wxWidgets transparent background image?

开发者 https://www.devze.com 2023-01-13 02:33 出处:网络
I\'m attempting to create a window with a transparent PNG background with no success, how w开发者_Python百科ould I go about it? Setting wx.Frame.SetShape allows for non-box shapes, but transparency ef

I'm attempting to create a window with a transparent PNG background with no success, how w开发者_Python百科ould I go about it? Setting wx.Frame.SetShape allows for non-box shapes, but transparency effects like shadows still have a background behind them.

For example, the Photoshop splash screen.


I recommend looking at some of the threads about transparency effects on the main wxPython mailing list. Ray Pasco had quite a thread on it last month. You might also look at Whyteboard (not sure if it does transparency or not) or the float canvas widgets (there are two of those). Heck, it's probably worth cross-posting to the main mailing list since that's where wxPython's creator hangs out.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号