[Pygui] Force Refresh?
greg.ewing at canterbury.ac.nz
Mon Mar 28 23:16:43 CEST 2011
Mark Melvin wrote:
> I am setting the label text, doing some communication over a USB port
> (which can take a couple seconds), then setting the text to something
> else. I never see the first label change.
If you're waiting synchronously -- without returning to the
main event loop -- then this is quite likely to happen.
> I have a Label
> "placed" inside my main Window, and I don't see any update methods
> available on either of these. :(
Yep, I need to move the update method higher up the
inheritance hierarchy, or at least make it available on
More information about the Pygui