Re: Thread-generated signals

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

 



Le vendredi 02 juin 2006 à 03:33 -0700, heavenscape a écrit :
> 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();

_______________________________________________

gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux