John Finlay wrote:

>You need to run gtk.threads_init() in the same thread that you run 
>gtk.mainloop().

        Thanks I set it just before the gtk.mainloop(),
        but now I get this error:

C:\tmp\ssemamonWin32>python gui.py
Exception in thread Thread-1:
Traceback (most recent call last):
  File "C:\Python22\lib\threading.py", line 408, in __bootstrap
    self.run()
  File "gui.py", line 203, in run
    gtk.threads_init()
RuntimeError: pygtk threading disabled at compile time

        Cedric could you cook up a pygtk-1.9x with the threading included or guide me 
into
        doing it myself?

        Is there another way of doing this so I don't need the threads (I really don't 
think
        so, but it's worth a try)?

        Thanks in advance
_______________________________________________
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to