Re: Timeout
- From: Torsten Schoenfeld <kaffeetisch gmx de>
- To: gtk-perl-list gnome org
- Subject: Re: Timeout
- Date: Mon, 16 May 2005 17:02:57 +0200
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
- References:
- Timeout
- From: Emanoil Daniel Carlan
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]