[wxPython] How to use WxTimer (Notify problem

I still get problems using wxtimer as a constructor. I can't
find a right syntax for doing that, though i've read
wxPython-docs (which is actually C++ syntax and it doesn't
give any detail syntax explanations). i got error if i write
timer = wxTimer()

can you tell me the detail, clear syntax, or other manual
about wxPython?

thanks

Adinda

I still get problems using wxtimer as a constructor. I can't
find a right syntax for doing that, though i've read
wxPython-docs (which is actually C++ syntax and it doesn't
give any detail syntax explanations). i got error if i write
timer = wxTimer()

can you tell me the detail, clear syntax, or other manual
about wxPython?

There are two ways to use wxTimer, both of which are demonstrated in the
wxPython demo. With the first approach (in demo/wxTimer.py) you derive a
class from wxTimer and provide a Notify method. The second approach (in
demo/wxToolBar.py) you provide an wxEvtHandler (such as window) to send an
event to and then catch that event with EVT_TIMER.

ยทยทยท

--
Robin Dunn
Software Craftsman
robin@AllDunn.com Java give you jitters?
http://wxPython.org Relax with wxPython!