[squeak-dev] Re: EventSensor questions

Michael Rueger m.rueger at acm.org
Thu Feb 12 11:01:13 UTC 2009


Andreas Raab wrote:

> I'm not sure if having multiple listeners is useful at this level - all 
> EventSensor does is pulling the events from the VM, packaging them up 
> and passing them into the event queue for any downstream consumers. If 
> there were multiple listeners in a morphic environment, they should 
> probably be registering with the hand (which has such a listener 
> mechanism already), not with Sensor. What's the use case for this 
> refactoring?

The refactoring allows for listeners *outside* the morphic environment 
to listen to input and window events, supporting alternative UI 
frameworks like e.g. Miro.

Michael



More information about the Squeak-dev mailing list