wxPython: Sending a signal to several widgets

Posted by cool-RR on Stack Overflow See other posts from Stack Overflow or by cool-RR
Published on 2010-03-30T16:21:08Z Indexed on 2010/03/30 16:23 UTC
Read the original article Hit count: 402

I am not even sure how to ask this question. I want something that is like the wxPython event system, but a bit different. I'll try to explain.

When there is a certain change in my program (a "tree change", never mind what that is,) I want to send a signal to all the widgets in my program, notifying them that a "tree change" has occurred, and they should change their display in response.

How do I do this? It sounds a little bit like wxPython events, but not really, since events don't spread to all widgets, as far as I know.

What would be a good way to do this?

© Stack Overflow or respective owner

Related posts about python

Related posts about wxpython