Most event loops have some form of do_one_event call that makes them tick through the next pending event then return. Find this routine for your particular GUI toolkit and intersperse calls to it throughout your long task.
In reply to Re: Responsive GUI without threads
by Fletch
in thread Responsive GUI without threads
by ruoso
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |