Re: Simple question.



How can I insert a specific function call, say f(), inside the gtk main
loop??

It doesn't work that way.

 You may use signal (gtk_signal_connect) to insert you functions calls 
depending on event (what you would surely call the main event is "expose")

Or you can use the 

  gtk_idle_add ((GtkFunction) your_function, *wodget);

that will call your function every time, no events is comming to your app, in 
a loop way.

Paul




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