Is there any way to bind an event to a variable in Python or wxPython? Something like this:
self.Bind(EVT_ONCHANGE_VAR, self.mycallback, variable_to_watch)
This would let a dialog to show or hide depending on the value of such variable.
Thanks!