I have a wx.ListBox in a python program, and I wan't to change out the list in it on a wx.Timer update. I have the timer working, I just don't know how to change out the list that it displays.
Here's an example for modifying a ListBox.
Generally, it uses the Append and Clear methods of ListBox. You can call those in your timer handler.
Since ListBox derives from ItemContainer, see more item modification methods here.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With