Refreshing the GUI without gtk_main ()
- From: Andrej Prsa <andrej prsa guest arnes si>
- To: GTK-app-devel <gtk-app-devel-list gnome org>
- Subject: Refreshing the GUI without gtk_main ()
- Date: Fri, 16 Apr 2004 22:52:38 +0200
Hello everyone!
I wrote an interactive scripter with its own loop that runs in the
terminal. This scripter is a back-end of the dedicated GUI. But since it
has its own eternal loop, the GUI doesn't refresh. I can refresh it by
using:
while (gtk_events_pending()) gtk_main_iteration ();
but this refreshes the GUI only when the scripter performs a particular
action. While it sits and waits for input, the GUI is frozen.
Any idea how to overcome this?
Thanks for your time,
Andrej
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]