Re: [gtk-list] synchronous exposure (how to do?)

In message <>, Christof Petig writes:
>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() )

James Bailie

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]