How do you keep a wx frame from not responding while the code is running in the background? ie a search or other demanding function.
ihatehippies
11
Junior Poster
Recommended Answers
Jump to PostHow do you keep a wx frame from not responding while the code is running in the background? ie a search or other demanding function.
You can use a busy cursor so that the user can't click on anything within the application:
wx.BeginBusyCursor() # Do all the …
Jump to Postthanks for the post.. that definitely helps, the prog still goes non responsive sometimes tho.
Ah I misread your question. I thought you were asking how to make the frame unresponsive (as in don't allow the user to give input).
The answer lies in spawning a thread to do …
All 6 Replies
jlm699
320
Veteran Poster
ihatehippies
11
Junior Poster
jlm699
320
Veteran Poster
ihatehippies
11
Junior Poster
mack00234
0
Light Poster
ihatehippies
11
Junior Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.