I'm writing an application in GTK2 (technically pyGTK) and will be performing some long operations.
If I perform the long operation in the main thread (which isn't a good idea), the application will become unresponsive.
The desirable portion of this is the part that prevents the user from modifying the text-entry widgets, but the undesirable portion is that the window won't repaint itself.
Is there another way to do this?