[wxPython-users] fade-in effect of a window

Josiah Carlson jcarlson at uci.edu
Sun Jul 2 23:33:40 PDT 2006


"Andy Wu" <Andy_Wu at systemsunion.com> wrote:
> Hi there, 
> 
> I'm doing a project with wxPython where I need a fade-in-fade-out
> message window at the right-bottom corner of the monitor, exactly like
> the message box of Google Desktop. 
> 
> I try the ToasterBox.py which is a pop-up box more like the MSN
> Messenger. Has anybody done this before? Where should I start if I have
> to do this myself?

You may be able to use a wx.ShapedWindow with alpha transparency set
manually.  I think this would be relatively easy with a plain bitmap,
but for actual controls, you may need to blit offscreen, convert to
bitmap, add alpha transparency, then display that.

 - Josiah





More information about the wxpython-users mailing list