My top-level window needs to know when the internal state of a custom control changes so it can update various other parts of the GUI. How do I generate a custom event in the control, so it can propagate and be handled by the top-level window?
Share
I know this is an old question, but there is a newer, slightly nicer, way to do this in wxPython. Paraphrased from http://wiki.wxpython.org/CustomEventClasses and the above:
To define the event:
To generate an event:
Binding the event remains the same.