When you use GTK, that's very unlikely that you need manual multithreading!
On 8/25/09, Jeffrey Barish <jeff_bar...@earthlink.net> wrote: > Sebastian Henneberg wrote: > >> -----BEGIN PGP SIGNED MESSAGE----- >> Hash: SHA1 >> >> Hi everybody, >> >> I've a strange problem with set_label on gtk.Buttons and gtk.Labels. >> I've a thread that gets access to the widget and should call set_label() >> method of the widget every second, to update the displayed data. But >> nothing happens... >> >> After initializing the thread, the widget's label doesn't change no more. >> >> Any suggestions where the failure could be? > > Use gobject.timeout_add instead of multithreading. > -- > Jeffrey Barish > > > _______________________________________________ > pygtk mailing list pygtk@daa.com.au > http://www.daa.com.au/mailman/listinfo/pygtk > Read the PyGTK FAQ: http://faq.pygtk.org/ > _______________________________________________ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://faq.pygtk.org/