[wxPython-users] Auto-pulsing wxProgressDialog?

Chris Mellon arkanes at gmail.com
Wed Jan 3 09:09:39 PST 2007


On 1/3/07, Rooney, Mike (ext. 324) <mxr at qvii.com> wrote:
> >Call Refresh() after Pulse().
>
> Your previous fix was all that was necessary, thanks! What a tiny error.
> What actually happens when I bound it to the timer itself, is that valid?
> And if not why doesn't wx complain?
>
> If it is working fine should I add the call to Refresh or leave it as it is?
> Thanks again!
>

It's valid because a wx.Timer is legitimate event sink (it derives
from wx.EvtHandler). Subclassing wx.Timer is the more common way to do
things if you want the action code to be in the timer itself, however.




More information about the wxpython-users mailing list