grey out a button in wxPython Topic is solved
grey out a button in wxPython
I am working with buttons in wxPython. I want to grey out a button for 5 seconds. How is it done?
Re: grey out a button in wxPython
wxWindow::Enable(false);
Then you need a timer with a 5 second timeout.
wxWindow::Enable(true); to enable it again.
Then you need a timer with a 5 second timeout.
wxWindow::Enable(true); to enable it again.
Use the source, Luke!