You are blocking in list_dir_enviar.
You should never1 use sleep in a Tk script. It stops everything.
Use after to schedule polling your directory.
1There may be some case where it is desirable to use sleep in a Tk script, but I've never run across one and can't imagine what it would be.
TGI says moo
In reply to Re: Need help with program using Perl Tk
by TGI
in thread Need help with program using Perl Tk
by padawan_linuxero
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |