wxPython

Ben Pfaff pfaffben@msu.edu
30 Jul 2001 15:12:52 -0400


Edward Glowacki <glowack2@msu.edu> writes:

> Mwhahahah!  I think I'm finally getting somewhere with wxPython[1]!!!
> I was having a hell of a time getting the screen to refresh when
> I wanted it to, i.e. after changing some text in some of the widgets.
> Turns out the function I needed was wxYield().  What an odd name
> for a function...

Not really.  `Yield' is the generic name for the action of giving
up the rest of a program (or thread's) allotted timeslice to
other programs (because you have no further use for it).  One
typical way for a window system to work is that windows are only
updated when the computations behind them are finished; i.e.,
when the computations `yield' to the rendering engine.

It might a surprising name for you, but it's only because you
don't know the right metaphors yet :-)
-- 
"Be circumspect in your liaisons with women. 
 It is better to be seen at the opera with a man 
 than at mass with a woman."
--De Maintenon