Michael Hartmann wrote:
> Why is the gui still available when perl runs sleep?
> And related to this question: How can I avoid this problem?

It sounds like the main loop exits before handling all of the events involved
in the destruction of the window.

Try adding a "Gtk2->main_iteration while Gtk2->events_pending;" before the 
sleep.


-- 
muppet <scott at asofyet dot org>

_______________________________________________
gtk-perl-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gtk-perl-list

Reply via email to