[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: Newbie & timing issue
- From: "David Necas (Yeti)" <yeti physics muni cz>
- To: Alf C Stockton <alf stockton co za>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: Newbie & timing issue
- Date: Mon, 12 Jul 2004 19:24:58 +0200
On Mon, Jul 12, 2004 at 07:16:57PM +0200, Alf C Stockton wrote:
> John your program required the user to click the OK button to close the
> displayed window. Is there a way this can be done by timing. ie The display
> window closes, without user interferance, after say 10 seconds?
Again, you can use g_timeout_add(), now the function will
call gtk_button_clicked() on the button after 10s. Just
remember to remove the timeout function when the button is
pressed, so it isn't run then and doesn't try to press it
again.
Yeti
--
Do not use tab characters. Their effect is not predictable.
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]