Hi there!

I have a thread that inherits from "threading.Thread", I want to reuse
the Thread implementation for different purposes but I want to execute
some different code when the Thread finish.

What is the best way to implement that? lambda functions, signal connection?

To clarify the situation, a code that I can come to expect can be:

...
thread = MyThread()
thread.connect('finished', self.my_callback)
thread.start()
...

Thanks!
_______________________________________________
pygtk mailing list   [email protected]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/

Reply via email to