Changing button preferences after beeing pressed

thomas.lidebrandt at thomas.lidebrandt at
Thu Aug 16 10:27:54 CEST 2007


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?


More information about the Python-list mailing list