[gtkada] Addressing external data in a GUI
Michael Bode
michael.bode at laserline.de
Tue Jul 12 10:05:34 CEST 2005
Rick Duley schrieb:
>> ID := Gtk.Main.Timeout_Add (500, Display_Status'access); -- call it
>> every 500ms
>
>
> Question: What does 'ID' represent here?
This is the "handle" of the timer proc. You need it, if you later want
to remove the timer with
*procedure* Timeout_Remove (Id : Timeout_Handler_Id);
You could also return False in your timer proc to unregister it.
--
Michael Bode
Laserline GmbH
Fraunhoferstr.
56218 Mülheim-Kärlich
Phone: +49 2630 964-2200
Fax: +49 2630 964-2209
More information about the gtkada
mailing list