Re: Simple question.
- From: Paul Cheyrou <Paul Cheyrou-Lagreze inrialpes fr>
- To: gtk-app-devel-list gnome org
- Subject: Re: Simple question.
- Date: Thu, 4 Oct 2001 12:27:35 +0200
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]