« Return to Thread: Event mechanism in tweak

Re: Event mechanism in tweak

by Fournier Eric :: Rate this Message:

Reply to Author | View in Thread

Manuel;

When Tweak is started, a completely separate event scheduler is  
started that is not running when in Morphic. Generally speaking, you  
can (and should) use the Morphic development tools to design Tweak  
code, but should run all Tweak code from within the Tweak  
environment. Hope this helps.

Eric Fournier
University Technology Development Center
University of Minnesota Office of Information Technology
emf@...



On May 22, 2006, at 4:16 PM, Manuel Wellmann wrote:

> Hello,
>
> i have a general question concerning the event mechanism in tweak.  
> When signaling an event like:
>
> MyClass>>doSomething
>   ...
>   self signal: #myEventHappened.
>   ...
>
> an handling it in:
>
> MyClass>>onMyEventHappened
>   <on: myEventHappened>
>   self halt doSomeThingElse.
>
> the event handler will be executed (and the debugger halts) when  
> sending "doSomething" within a tweak-workspace. Within a  
> "normal" (squeak) workspace this does not happen.
> Where is this different behavior located exactly? When i debug both  
> scenarios i can not see the difference.
>
> Best regards,
>
> Manuel Wellmann
> _______________________________________________
> Tweak mailing list
> Tweak@...
> http://impara.de/mailman/listinfo/tweak

_______________________________________________
Tweak mailing list
Tweak@...
http://impara.de/mailman/listinfo/tweak

 « Return to Thread: Event mechanism in tweak