Re: blocking code after main loop
- From: "muppet" <scott asofyet org>
- To: gtk-perl-list gnome org
- Subject: Re: blocking code after main loop
- Date: Mon, 9 Oct 2006 15:09:30 -0400 (EDT)
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>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]