Re: Best way to busy-wait in Python 3 / Gtk+ 3?



On 7 October 2012 12:58, <jcupitt gmail com> wrote:

To have the load in another process, use a pipe to send worker results
back to the main process, and add the pipe to your gtk main loop as an
event source.


Is there any way I could do that? I looked at GLib's main loop and Gtk's
main loop, but can't seem to find it.


You obviously can't use any gtk/glib stuff in your worker, you'd need
to just make a .jpg, then do all the widget stuff in the main process,


Figured as much.

-- 
_____________________
Filip Lamparski - FB <https://www.facebook.com/filip.lamparski> -
G+<https://plus.google.com/105688569486178456264/posts>



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