Hello,
I'm having some trouble getting a splash screen to work.
After looking around for a while, i found advice to do it like so:

gtk.threads_init()
gtk.gdk.threads_init()
...
sp = splash()
sp.do_show()
while gtk.events_pending():
    gtk.main_iteration()
    gobject.timeout_add(9000, sp.destroy)
...
main_window.show()
gtk.threads_enter()
gtk.main()
gtk.threads_leve()
...

The problem is that the program hangs when i get the the gtk.threads_enter()
part,
It works fine though if i don't have the statements about the splash screen.

any ideas?
as an aside... do i need to wrap gtk.main() in threads enter/leave?

thanks allot,
felix
_______________________________________________
pygtk mailing list   pygtk@daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to