Thread
:
Multitasking and GTK with python
View Single Post
omeriko9
2010-04-03 , 14:24
Posts: 385 | Thanked: 344 times | Joined on Jan 2010 @ Israel
#
14
Also, if you use threads with gtk, you need to call
gtk.gdk.threads_init()
.
pygtk (binding for python and gtk) holds the
GIL
(which is kind of a global lock for the process) unless threads_init() is called.
Try adding this line in the __init__.
Quote & Reply
|
The Following User Says Thank You to omeriko9 For This Useful Post:
McLightning
omeriko9
View Public Profile
Send a private message to omeriko9
Find all posts by omeriko9