Re: [gtk-list] synchronous exposure (how to do?)
- From: James Bailie <jbailie wwdc com>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] synchronous exposure (how to do?)
- Date: Tue, 12 Jan 1999 04:35:19 -0500
In message <369B03E7.938DEE44@wtal.de>, Christof Petig writes:
>Hello,
>
>Our program does a hard job at fetching a lot of data from a database at
>load time. So a progress bar would be the right thing to show. But since
>the expose event is handled at idle time (is this right?) the progress
>bar will not be drawn untill everything is loaded.
>
>show() and realize() are not enough! gtk_events_pending() displays an
>empty window ...
run this loop periodically:
while( gtk_Events_pending() )
gtk_main_iteration();
--
James Bailie
http://www.wwdc.com/~jbailie
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]