Re: Displaying a popup before the main window



Ooops didn't copy the mods into the email properly. Add one more line...

Dave Howorth wrote:
my $splash = Gtk2::Label->new("Please wait for 10 seconds...");
$window->add($splash);
$window->show;
$popup->show;

$splash->show;

# Process the events so the show actually does something

Gtk2->main_iteration while Gtk2->events_pending;




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