Re: passing args
- From: Paul Barton-Davis <pbd Op Net>
- To: Juergen Boemmels <boemmels physik uni-kl de>
- Cc: gtk-list gnome org
- Subject: Re: passing args
- Date: Thu, 16 Nov 2000 09:34:34 -0500
>Is there a way to add a timeout, wich is only triggered once?
gint
func (void *arg)
{
/* do something */
return FALSE;
}
gtk_timeout_add (N, func, some_arg);
func will be called once and once only (because it returns FALSE).
but it sound as if you want:
gtk_idle_add (func, some_arg);
which will also result in func being called once and once only
(because it returns FALSE), but doesn't use the timeout mechanism.
--p
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]