Using wxPython, how is an event triggered whenever a whole window goes to / from focus?
To develop, I create a serial terminal GUI and would like to close the connection when the user does not have my application, and reopen the connection whenever the user brings my application back to the forefront. My application is just one window derived from wx.Frame.
source
share