more useful options | |
PerlMonks |
Re: TK screen problemby Sandy (Curate) |
on Oct 31, 2008 at 14:37 UTC ( [id://720709]=note: print w/replies, xml ) | Need Help?? |
If your Tk program is busy doing stuff when you switch to and from another window, then the Tk image will not be re-drawn.
So, as anon suggested, pepper your code with $mw->update() in long loops, or processing sections etc. For efficiency sake (i.e. don't slow down your program) do NOT instead, only update sometimes (every 100 iterations perhaps?)
In Section
Seekers of Perl Wisdom
|
|