I am looking for some assistance(of course, or I would not be posting here). I am writing a Stop Watch program and am having trouble accessing buttons from other functions. Attached is a mini version of the program with the first problem. I need the start function to enable the stop button when the start button is clicked. I will also need the stop button to be able to tell the start function to stop the timer and more. I have settled on pubsub, but if anyone has a better idea I am glad to hear it.
Oh ya, my versions are python 2.6.2, wxpython 18.104.22.168 and pyppubsub 3.3.0
The latest version (attached) is getting me close but not quite. I see the message is getting through but the expected action is not happening until the loop is done. So, maybe this is not a pubsub problem. It is probably more basic than that.
Thanks for any help or comments. It is greatly appreciated.
wxswPost.py (2.1 KB)