-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

High there,

I have an application that uses threads. As the call to gtk.threads_init() is wrapped 
with try: except:, there where no problems. As win32 for py-gtk is build with 
threadings on by default, the application start seems to hang on gtk.threads_init().

- --- code:
        try:
                gtk.threads_init()
        except RuntimeError:
                print 'keine threads!'
                HAS_GTK_THREADS = False
        app = AppWindow()
        app.run()
- --- code /

If I comment out the gtk.threads_init call the application starts as excepted. 
Otherwise the application is build, but the gtk.mainloop seems not to work properly. 
Because I have no compiler environment installed, I can not provide stack-traces or so.
Environment:
WinXP SP1, Python 2.3, pygtk-1.99.17-2.3, gtk-runtime 2.2.1.2 (dropline).

Thanks for your help on this.

- --maik./


mit freundlichem Gru� /
with best regards

Maik Hertha
- --------------------------------------------
hartmann+hertha
it design


[EMAIL PROTECTED]
http://www.hartmann-hertha.de
- --------------------------------------------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (MingW32)

iD8DBQE/Lonebd3QGXGos6ERAu99AJ9vDH+6eXRBklUghPP18GNbopX1wwCfUbWR
mSumYI/QVA6VpWSPnXupCzw=
=VZFw
-----END PGP SIGNATURE-----


_______________________________________________
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