>... and if it happens (usually to accomplish operations which take much
>time to execute and would freeze the GUI)

When a function takes a sensible time to execute, to prevent GUI from
freezing, we can do frequently(mostly in the loop that takes time):

while gtk.events_pending():
      gtk.main_iteration_do(False)

No need to manual multithreading only for this reason.
_______________________________________________
pygtk mailing list   pygtk@daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/

Reply via email to