in reply to Tk::BrowseEntry help
I think what you are asking for is a polling function. Check the docs on Tk::after.
Basically to call a function once after a given interval do a:
This will call that callback once after X milliseconds. To do a call back repeatedly use repeat instead of after:$id = $widget->after(milliseconds, [ &callback, \$var ]);
This will call the callback after every X milliseconds. (Above are examples from the docs.) Hope that helps,$id = $widget->repeat(milliseconds, [ &callback, \$var ]);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Tk::BrowseEntry help
by Bloodelf (Beadle) on Mar 27, 2002 at 18:22 UTC |