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

Discussion in 'Python' started by Brent W. Hughes, Mar 9, 2005.

  1. 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
     
    Brent W. Hughes, Mar 9, 2005
    #1
    1. Advertising

  2. Brent W. Hughes

    M.E.Farmer Guest

    Re: How to allow events during long processing routine?

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

    ;)
    M.E.Farmer
     
    M.E.Farmer, Mar 9, 2005
    #2
    1. Advertising

  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" <> wrote in message
    news:...
    > Survey says.................................
    > .......wxYield()
    >
    > ;)
    > M.E.Farmer
    >
     
    Brent W. Hughes, Mar 10, 2005
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. =?Utf-8?B?RmF0Ym95Q2FudGVlbg==?=

    Display Processing Message during long time process

    =?Utf-8?B?RmF0Ym95Q2FudGVlbg==?=, Feb 6, 2004, in forum: ASP .Net
    Replies:
    0
    Views:
    689
    =?Utf-8?B?RmF0Ym95Q2FudGVlbg==?=
    Feb 6, 2004
  2. George Marsaglia

    Assigning unsigned long to unsigned long long

    George Marsaglia, Jul 8, 2003, in forum: C Programming
    Replies:
    1
    Views:
    755
    Eric Sosman
    Jul 8, 2003
  3. Daniel Rudy

    unsigned long long int to long double

    Daniel Rudy, Sep 19, 2005, in forum: C Programming
    Replies:
    5
    Views:
    1,248
    Peter Shaggy Haywood
    Sep 20, 2005
  4. Mathieu Dutour

    long long and long

    Mathieu Dutour, Jul 17, 2007, in forum: C Programming
    Replies:
    4
    Views:
    519
    santosh
    Jul 24, 2007
  5. Replies:
    0
    Views:
    607
Loading...

Share This Page