Re: Newbie & timing issue
- From: Alf C Stockton <alf stockton co za>
- To: John Cupitt <jcupitt gmail com>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: Newbie & timing issue
- Date: Sun, 11 Jul 2004 08:28:12 +0200 (SAST)
On Fri, 9 Jul 2004, John Cupitt wrote:
On Fri, 9 Jul 2004 07:47:00 +0200 (SAST), Alf C Stockton
<alf stockton co za> wrote:
Now for my next trick I would like to restart the display after receiving a
interrupt rather than take up memory & cycles while counting down.
Is there a way that my program could instigate/initiate an interrupt to occur at
some time in the future?
Sure, that's what g_timeout_add() does. This hypnotic program pops up
a dialog box every 2 seconds:
Thank you John. What you have managed to do is literally write the whole program
for me.....:-)
---
Regards,
Alf Stockton www.stockton.co.za
Just remember: when you go to court, you are trusting your fate to
twelve people that weren't smart enough to get out of jury duty!
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]