On vendredi 16 janvier 2009, Zac Burns wrote:

> Can I check to see if the current thread is the safe 'main' GUI thread?

Yes, using

    threading.currentThread().getName()

The main thread is called 'MainThread'.

-- 
    Frédéric

    http://www.gbiloba.org

_______________________________________________
PyQt mailing list    [email protected]
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Reply via email to