g_timeout_add / g_idle_remove.
- From: Harring Figueiredo <harringf yahoo com>
- To: gtk_list gtk gtk <gtk-app-devel-list gnome org>, glade users <glade-users ximian com>
- Subject: g_timeout_add / g_idle_remove.
- Date: Wed, 11 Sep 2002 11:57:01 -0700 (PDT)
Folks,
What is the argument to pass to g_idle_remove_by_data(gpointer data) ?
I have the following:
...
g_timeout_add(1000, time_func, aLabel);
....
somewere on a button_clicked callback
...
g_idel_remove_by_data(aLabel);
...
This is obviously not working (i.e, the fuction keeps being called.) What
data should I pass ? ( I have looked on the source code gmain.c, but there is
no hint on what data to pass.)
Thanks.Harring.
__________________________________________________
Yahoo! - We Remember
9-11: A tribute to the more than 3,000 lives lost
http://dir.remember.yahoo.com/tribute
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]