Search code examples
pythonuser-interfaceeventswxpython

wxPython: Calling an event manually


How can I call a specific event manually from my own code?


Solution

  • I think you want wx.PostEvent.

    There's also some info about posting events from other thread for long running tasks on the wxPython wiki.