Hi Peter,

I do not know whether this is the jetlag effect or not, but I do not understand your email.

What do you mean that a callback be attached just like regular event? 

Cheers,
Alexandre
-- 
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.



On Jul 27, 2015, at 6:55 AM, Peter Uhnák <i.uhnak@gmail.com> wrote:

Hi,

this is just an idea that's been bugging me for some time...
what if callbacks could be attached just like regular events?

e.g.
aBox when: TRExtentChanged do: [ :event | (self parentFor: aBox) rebuild ]

Is there benefit in having some events as events and some as callbacks? Isn't event more versatile?

What do you think?

I should probably check how this is done in Bloc...

Peter
_______________________________________________
Moose-dev mailing list
Moose-dev@iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev