[Q] mouse events in general
John M McIntosh
johnmci at smalltalkconsulting.com
Wed Apr 10 22:42:15 UTC 2002
>Can someone point me in a direction where I can find information about
>mouse events, like: what is an eventHandler and what is its
>relationship to individual methods like handlesMouseDown ?
>My specific question is: A TextMorph subclass that is embedded in a
>PasteUpMorph eats mouse events, so the compound morph can no longer be
>moved by dragging, when the mouse is over the TextMorph. If I wanted
>this changed, what would I have to do ? Of course I would have to
>sacrifice most of the TextMorph's editing capabilities.
raw mouse events are born in EvenSensor and placed on a queue, then
they are snatched off the queue by Morphic and made into Morhpic
mouse events, then acted upon.
I'll let someone else answer what Morphic does with them, but it's
interested to see how they start life before they are given to a
handler. Optimizations, cleanup etc in this area would/could make
Morphic faster if someone is idle.
John M. McIntosh <johnmci at smalltalkconsulting.com> 1-800-477-2659
Corporate Smalltalk Consulting Ltd. http://www.smalltalkconsulting.com
More information about the Squeak-dev