Re: Timeout



On Mon, 2005-05-16 at 17:51 +0300, Emanoil Daniel Carlan wrote:

Hi, can anyone tell me how to set up / disable a timeout?
I know in GTK it works with $timer = Gtk->timeout_add( $nr, \&Smth );
I just don't know how to do it in Gtk2...

It's Glib::Timeout->add($interval, \&sub) in Gtk2.  See

  perldoc Glib::MainLoop

for more information.

-- 
Bye,
-Torsten




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]