This forum can be used to talk about general design strategies, new ideas and questions in general related to wxWidgets. If you feel your questions doesn't fit anywhere, put it here.
- Knows some wx things
- Posts: 37
- Joined: Mon Sep 26, 2016 6:08 am
I am working with buttons in wxPython. I want to grey out a button for 5 seconds. How is it done?
- Posts: 15083
- Joined: Fri Apr 21, 2006 8:03 pm
- Location: $FCE2
Then you need a timer with a 5 second timeout.
wxWindow::Enable(true); to enable it again.
Use the source, Luke!