Changing button preferences after beeing pressed

thomas.lidebrandt at gmail.com thomas.lidebrandt at gmail.com
Thu Aug 16 10:27:54 CEST 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