Re: Thread-generated signals
- From: Jean Bréfort <jean brefort normalesup org>
- To: heavenscape <masonduan1 sina com>
- Cc: gtk-list gnome org
- Subject: Re: Thread-generated signals
- Date: Fri, 02 Jun 2006 17:01:16 +0200
Le vendredi 02 juin 2006 �3:33 -0700, heavenscape a �it :
> Yes! My background thread will send a message when it has finished something,
> so I do need the check the message status frequently.
>
> If my OnIdle function return false, it will never be called again, and
> therefore cannot monitor the message status any more.
>
> Is there any alternate solution?
You can use a timer, or display the message from your thread, or ...
from the thread, you might use something as:
gdk_threads_enter();
RefreshImage();
gdk_threads_leave();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]