In my App's OnIdle handler I call wxApp.OnIdle(self, event), as per the
wxWindows docs.
But Python tells me it doesn't exist?
Tom.
In my App's OnIdle handler I call wxApp.OnIdle(self, event), as per the
wxWindows docs.
But Python tells me it doesn't exist?
Tom.
In my App's OnIdle handler I call wxApp.OnIdle(self, event), as per the
wxWindows docs.
But Python tells me it doesn't exist?
Because of some issues with the implementaion not all of wxApp is exposed to
Python, (although it probably could be now as some things have changed.)
Usually this isn't a problem since for most wxPython apps it's just as easy
to put application level things in your main frame class.
Attach your idle handler to a window and it will work for you without having
to call the app's OnIdle.
--
Robin Dunn
Software Craftsman
robin@AllDunn.com
http://wxpython.org Java give you jitters?
http://wxpros.com Relax with wxPython!
Yes, I couldn't get it to work on my App class (strange behavior) so I moved
it to the main frame. That solved my problem.
But, the code in the wxPython demo overrides wxApp.OnIdle()?
Is there somewhere else I should have looked for this info (that this isn't
implemented)? I'm currently using the wxWindows docs and the wxPython demo
as my documentation.
Tom.
"Robin Dunn" <robin@alldunn.com> wrote in message
news:015201c01950$93102200$0b01a8c0@ARES...
>
> In my App's OnIdle handler I call wxApp.OnIdle(self, event), as per the
> wxWindows docs.
> But Python tells me it doesn't exist?
>Because of some issues with the implementaion not all of wxApp is exposed
to
Python, (although it probably could be now as some things have changed.)
Usually this isn't a problem since for most wxPython apps it's just as
easy
to put application level things in your main frame class.
Attach your idle handler to a window and it will work for you without
having
to call the app's OnIdle.
--
Robin Dunn
Software Craftsman
robin@AllDunn.com
http://wxpython.org Java give you jitters?
http://wxpros.com Relax with wxPython!
But, the code in the wxPython demo overrides wxApp.OnIdle()?
It's in the main frame in the demo.
Is there somewhere else I should have looked for this info (that this
isn't
implemented)?
Not yet.
--
Robin Dunn
Software Craftsman
robin@AllDunn.com
http://wxpython.org Java give you jitters?
http://wxpros.com Relax with wxPython!