Re: [gtk-list] manual mainwindow update..?
- From: Havoc Pennington <rhpennin midway uchicago edu>
- To: GTK List <gtk-list redhat com>
- Subject: Re: [gtk-list] manual mainwindow update..?
- Date: Thu, 8 Oct 1998 22:44:43 -0500 (CDT)
On Fri, 9 Oct 1998, Scott Stone wrote:
>
> Is there a way to make a routine run the main 'update' routine (a la
> GtkMain) by itself, ie, to wait for dialog input?
gtk_main();
;-) (seriously, you can run it any number of times. Each call blocks until
you gtk_main_quit(). Be careful not to get your dialog killed without a
gtk_main_quit(), or your program will weirdly require the user to click
"Exit" twice.)
You can also do:
while (gtk_events_pending())
gtk_main_iteration();
if you want to do stuff in between main event loop loops.
Havoc
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]