Hi.

Suppose the minimal program:

def foo():
   app=QApplication(sys.argv)
   button=QPushButton("Hello World", None)
   app.setMainWidget(button)
   button.show()
   app.exec_loop()

And I say

>>> thread.start_new_thread (foo, ())


Then the python console freezes.... Is it not possible o thread up multiple QApplications? How is this achieved?


Thanks

_______________________________________________
PyKDE mailing list    [EMAIL PROTECTED]
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde

Reply via email to