Re: [gtk-list] Re: blinking



> 
> int
> active_step(
>     int counter)
> {
>     counter /= 12;
> 
>     if (counter) {
> 	gtk_pixmap_set(GTK_PIXMAP(pixmap), pixmaps[(counter%12)+1], masks[(counter%12)+1]);
> 	while(gtk_events_pending())
> 	    gtk_main_iteration();
>     }
>     return 1;
> }
> 
 Why don't you use a timeout instead?
<ADRIAN>



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]