Re: timer or idle function ? HOWTO ?

2001-06-15 Thread Paul Davis
>I would like to use the gtk_idle_add() function, >but I'm not sure how to have widgets updated w/in >the function. Does anybody have an example I >could look at? you need to pass pointers to widgets, then use them: gint my_idle_function (gpointer arg) { GtkWidget *w = (GtkWidget *) ar

timer or idle function ? HOWTO ?

2001-06-15 Thread Jason LaPenta
Hello, I would like to use the gtk_idle_add() function, but I'm not sure how to have widgets updated w/in the function. Does anybody have an example I could look at? Also, why does the "clicked" signal get sent when I call gtk_toggle_button_set_active()? Is there some widget or something that