Re: splash window
- From: dermot glade perl connectfree co uk
- To: Sergio Rua <srua esware com>
- Cc: gtk-perl-list gnome org
- Subject: Re: splash window
- Date: Thu, 24 Jan 2002 17:45:47 +0000
Sergio Rua wrote:
Hello,
I have a problem with a splash window. My program, on startup,
make a big list for a 4 or 5 seconds. I'm trying to put at this
moment a splash window like "Starting, please wait..." but when
the program runs, splash window looks gray, without the pixmap.
When the "list" finished, the splash window appear for a second.
The program make something like this:
====
create_splash_window;
# Make sure that splash_window gets shown before anything else
Gtk->main_iteration while Gtk->events_pending;
create_big_list;
main_window;
hide_splash_window;
Gtk::main(Gtk);
====
How can I do the splash window visible all the time?
Hi Sergio, I reckon that you need to get Gtk to update the screen with a
call to Gtk->main_iteration() as above.
HTH, Dermot
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]