[Dev] Functional test experience report

Heikki Toivonen heikki at osafoundation.org
Thu Nov 3 20:39:40 PST 2005


(removing content not part of this discussion, and cleaning CC list as
we are all on dev)

John Anderson wrote:
> Ted Leung wrote:
> 
> Did you try it with just the Yield (e.g. wx.GetApp().Yield())?. I think
> that may be all that's necessary to run the Idle loop.

Yield() alone is not enough. I don't know the exact details but Katie,
Grant and Donn have been working out the kinks and so far the best
workaround is the processNextIdle() below.

>>     def processNextIdle():
>>         wx.GetApp().Yield()
>>         ev = wx.IdleEvent()
>>         wx.GetApp().ProcessEvent(ev)
>>         wx.GetApp().Yield()


-- 
  Heikki Toivonen

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 253 bytes
Desc: OpenPGP digital signature
Url : http://lists.osafoundation.org/pipermail/dev/attachments/20051103/8b6961e8/signature.pgp


More information about the Dev mailing list