Changing button preferences after beeing pressed

thomas.lidebrandt at gmail.com thomas.lidebrandt at gmail.com
Thu Aug 16 04:27:54 EDT 2007


Hello

I'm using wxPython to consruct a GUI and want to change a button label
and event handler to change after the button have been pressed. The
only thing I can think of is a global variable that contrls the state
of the program and constructs the button in accordance to the defined
state. Is there a better solution to this problem?

/Thomas




More information about the Python-list mailing list