« Return to Thread: Event mechanism in tweak

Event mechanism in tweak

by Manuel Wellmann :: Rate this Message:

Reply to Author | View in Thread

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

 « Return to Thread: Event mechanism in tweak