[pygtk] call set_label() periodically
Jeffrey Barish
jeff_barish at earthlink.net
Wed Aug 26 03:04:54 WST 2009
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
More information about the pygtk
mailing list