fade-in effect of a window

The ToasterBox is \"moving\" up the screen while what I want is a box
appears with a fade-in effect and fade out gradually on closing.

ToasterBox is cool, I just want to know if I can do fade-in-fade-out
with wxPython.

Regards.

Andy

···

-----Original Message-----
From: ray@raymondsmith.com [mailto:ray@raymondsmith.com]
Sent: 03 July 2006 14:22
To: wxPython-users@lists.wxwidgets.org
Subject: Re: [wxPython-users] fade-in effect of a window

Quoting Andy Wu <Andy_Wu@systemsunion.com>:

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?

Thanks guys.

Andy

Hi Andy,

What is \"More Like the MSN Messenger\"?
What features are you after?

I\'d start with \"ToasterBox.py\" :wink:

Regards,

Ray Smith
http://RaymondSmith.com

---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org

This e-mail and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom it is addressed. If you have received this e-mail in error you must not copy, distribute or take any action in reliance on it. Please notify the sender by e-mail or telephone.
We utilise an anti-virus system and therefore any files sent via e-mail will have been checked for known viruses. You are however advised to run your own virus check before opening any attachments received as we will not in any event accept any liability whatsoever once an e-mail and/or any attachment is received. Any views expressed by an individual within this e-mail do not necessarily reflect the views of Systems Union Group plc or any of its subsidiary companies.

Hello Andy,

The ToasterBox is \"moving\" up the screen while

Yeah, this is basically what a toaster box should do.

ToasterBox is cool, I just want to know if I can do
fade-in-fade-out with wxPython.

Well, if you work only on Windows and don't care about platform independency, you may try the solution Robin and I have posted on the Wiki to make a window "fading" by changing its transparency. This will require, however, to have either Mark Hammond's win32all extensions or ctypes installed. You may probably get the same result also on Mac with ctypes. No idea on GTK.
The Wiki page is here:

http://wiki.wxpython.org/index.cgi/Transparent_Frames_on_MSW

HTH.

Andrea.

···

_________________________________________
Andrea Gavana (gavana@kpo.kz)
Reservoir Engineer
KPDL
4, Millbank
SW1P 3JA London

Direct Tel: +44 (0) 20 717 08936
Mobile Tel: +44 (0) 77 487 70534
Fax: +44 (0) 20 717 08900
Web: http://xoomer.virgilio.it/infinity77
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯