in reply to Tk::BrowseEntry help

Hey Bloodelf,

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:

$id = $widget->after(milliseconds, [ &callback, \$var ]);
This will call that callback once after X milliseconds. To do a call back repeatedly use repeat instead of after:
$id = $widget->repeat(milliseconds, [ &callback, \$var ]);
This will call the callback after every X milliseconds. (Above are examples from the docs.) Hope that helps,
{NULE}
--
http://www.nule.org

Replies are listed 'Best First'.
Re: Re: Tk::BrowseEntry help
by Bloodelf (Beadle) on Mar 27, 2002 at 18:22 UTC
    Excellent......