gtk main loop
- From: Derethor <derethor thepentagon com>
- To: "gtk-app-devel-list gnome org" <gtk-app-devel-list gnome org>
- Subject: gtk main loop
- Date: Tue, 19 Dec 2000 14:00:13 +0000
Hello,
I am doing some graphics stuff on a gtkwidget, rendering primitives,
etc...
the main loop should be something like:
while (!done)
{
render_stuff ();
updatewidget();
}
But in the main loop, I call gtk_main, and this function doesnt return
till I close the app...
I think I should use something like gtk_main_iteration, etc... but I
have no a clear idea about this. I must update when I finnish the
rendering, without sincronize to any expose event
any suggestion?
Thanks in advance!
--
signed
derethor of centolos
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]