[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: Is it possible to stop a signal callback?
- From: Emmanuele Bassi <ebassi gmail com>
- To: gtk-perl-list gnome org
- Subject: Re: Is it possible to stop a signal callback?
- Date: Mon, 06 Aug 2007 07:49:11 +0100
On Mon, 2007-08-06 at 10:00 +0800, Ye Wenbin wrote:
> On Mon, 06 Aug 2007 01:35:41 +0800, zentara <zentara1 sbcglobal net> wrote:
>
> > Have you looked at
> > http://forgeftp.novell.com/gtk2-perl-study/download/
> > it will answer alot of questions.
> >
> I have read this document. It is really helpful.
> >
> > Don't use while(1) or sleep in a gui script, they cause malfunctions.
>
> I did not use sleep to do some work periodly. I was trying to show the
> signal
> callback will take a long time to finish. Maybe it need fork or using
> thread. But
> the problem is I don't know how to communicate with subprocess. I will try
> to find it.
you should look at the Gtk2-Perl FAQ:
http://live.gnome.org/GTK2-Perl/FrequentlyAskedQuestions
especially the 'How do I keep my GUI updating while doing a long file
read?' question.
ciao,
Emmanuele.
--
Emmanuele Bassi,
W: http://www.emmanuelebassi.net
B: http://log.emmanuelebassi.net
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]