[wxPython] How to allow events during long processing routine?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Brent W. Hughes

    #1

    [wxPython] How to allow events during long processing routine?

    I'm running some code that takes a long time to finish. I would like the
    user to be able to do other things while it is running. It seems to me
    there is a function I can call to tell wxPython to process any pending
    messages or events. I would call this perhaps every 1000 times through my
    loop. Anybody remember the name of that function?

    Brent


  • M.E.Farmer

    #2
    Re: How to allow events during long processing routine?

    Survey says........... ............... .......
    ........wxYield ()

    ;)
    M.E.Farmer

    Comment

    • Brent W. Hughes

      #3
      Re: How to allow events during long processing routine?

      Thanks, M.E.Farmer.

      I continue to be impressed with how quickly and nicely one can get help
      here.

      Brent


      "M.E.Farmer " <mefjr75@hotmai l.com> wrote in message
      news:1110410702 .874055.291940@ z14g2000cwz.goo glegroups.com.. .[color=blue]
      > Survey says........... ............... .......
      > .......wxYield( )
      >
      > ;)
      > M.E.Farmer
      >[/color]


      Comment

      Working...