>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

_______________________________________________
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list

Reply via email to