[Pharo-project] Worskpace question
guillermopolito at gmail.com
Thu Jun 21 09:57:04 EDT 2012
On Thu, Jun 21, 2012 at 3:44 PM, Stefan Marr <smalltalk at stefan-marr.de>wrote:
> On 21 Jun 2012, at 15:11, Hilaire Fernandes wrote:
> > I want to see the animation of the growing morph.
> > Instead I get nothing.
> > To get the animation, you have to enclose the loop in a forked process,
> > but it is inelegant:
> Isn't the doIt evaluated in the UI processes?
> It is!
> I bet there is a Morphic API that allows you to process the next drawing
Hmm, that sounds like forcing the framework... I think that having a second
process is the right way...
> If the doIt is not evaluated in the UI process, just to a `Processor
> yield` after every step you want to see.
Sometimes, when processing in different process, the correct way is to send
updates to the UI process through
World addDeferredUIMessage: [ ... ]
> Best regards
> Stefan Marr
> Software Languages Lab
> Vrije Universiteit Brussel
> Pleinlaan 2 / B-1050 Brussels / Belgium
> Phone: +32 2 629 2974
> Fax: +32 2 629 3525
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Pharo-dev