[Pharo-project] Worskpace question

Guillermo Polito 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
> request.
>

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: [ ... ]


Cheers,
Guille

>
> Best regards
> Stefan
>
>
> --
> Stefan Marr
> Software Languages Lab
> Vrije Universiteit Brussel
> Pleinlaan 2 / B-1050 Brussels / Belgium
> http://soft.vub.ac.be/~smarr
> Phone: +32 2 629 2974
> Fax:   +32 2 629 3525
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pharo.org/pipermail/pharo-dev_lists.pharo.org/attachments/20120621/aae44533/attachment.html>


More information about the Pharo-dev mailing list