Re: Splash Screens in GTK
- From: Havoc Pennington <rhp zirx pair com>
- To: gtk-devel-list redhat com
- Subject: Re: Splash Screens in GTK
- Date: Sat, 3 Apr 1999 15:26:41 -0500 (EST)
On Sat, 3 Apr 1999, Jeff Evarts wrote:
>
> As far as I can tell, the best (only?) way to get the
> expose events served is to call gtk_main, which doesn't have
> a "run until X queue is empty" mode, so you're stuck with putting
> the rest of your initialization into an idle function.
>
You can run until the queue is empty like this:
while (gtk_events_pending())
gtk_main_iteration();
Just throw up your splash screen, then do the above periodically while
your application is initializing itself.
This is the lazy way - Jeff's solution is cleaner and nicer and all-around
better, except that it's harder to implement. :-)
Havoc
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]