May 31, 2017
6:57 p.m.
Alternatively use the step protocol of the Morph class. I think it is documented in the Pharo by example book. Hilaire Le 31/05/2017 à 17:00, Denis Kudriashov a écrit :
Hi Horrido.
Morphic is not thread safe library. Users should not update morphs state directly from background processes. Use #defer: message to update morphs in such cases. Try following loop:
[ [ true ] whileTrue: [ UIManager default defer: [ a contents: 0 asString]. delay wait ] fork
-- Dr. Geo http://drgeo.eu