[wxPython-users] One timer per frame object??

Christopher Barker Chris.Barker at noaa.gov
Wed Aug 9 09:54:19 PDT 2006



Andy Wu wrote:
> Am I not writing the right code? Or it's a bug of wxWindow/wxPython, cuz =

> if it is, it's a pretty serious one...

It's not a bug, it's a feature! Actually, it's a bit weird, but there is =

a work around. This was discussed last year in a thread entitled:

Multiple Timer Events?

http://aspn.activestate.com/ASPN/Mail/Message/wxpython-users/2846198

The key is that for some reason, wxTimer doesn't give itself a new ID by =

default

Enclosed is a sample of how to do it.

-Chris



-- =

Christopher Barker, Ph.D.
Oceanographer
                                     		=

NOAA/OR&R/HAZMAT         (206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115       (206) 526-6317   main reception

Chris.Barker at noaa.gov
-------------- next part --------------
A non-text attachment was scrubbed...
Name: TimerDemo3.py
Type: text/x-python
Size: 3113 bytes
Desc: not available
Url : http://lists.wxwidgets.org/pipermail/wxpython-users/attachments/20060=
809/69b3531d/TimerDemo3.py


More information about the wxpython-users mailing list