I am using a wx.grid in Python to display stock prices. After the value of a cell changes, I want to change the background and font color for a short period, say 0.5 seconds and then change it back to its original colors. If I do this in a straightforward way, I just change both colors, do a time.sleep(0.5) and change it back to its original colors. However, this way the update per cell takes way too long. Does anybody know of a clever way to do this?
Change the color and use wxTimerEvent to set the delay until you change it back in the event handler.
How to let a cell blink for a configurable time in wx.grid when the value changes?