« Return to Thread: [squeak-dev] Algernon modification to register as an eventListener into HandMorph

Re: [squeak-dev] Re: Algernon modification to register as an eventListener into HandMorph

by Balázs Kósi :: Rate this Message:

Reply to Author | View in Thread

Hi,

> (which are different from filters btw; listeners are assumed to be passive
> and consequently copying the event only serves the purpose
> to decouple the listener processing from the internal processing later)
Does Andreas refer here to something that is implemented, or just that
I'm abusing the concept Listener?
If the latter, what do you think about creating an explicit group for
filters, using a separate
dispatcher method? [1]
Or is there a much better place for intercepting events?

Thanks, Balázs

[1] E.g create eventFilters ivar and accessors analog to
eventListeners ivar and accessors,
and #sendFilterEvent:to method analog to #sendListenEvent:to.

 « Return to Thread: [squeak-dev] Algernon modification to register as an eventListener into HandMorph