[MCP] Morphic Event Dispatching
Ruedi Steinmann
ruedisteinmann at gmx.net
Tue Feb 15 15:35:43 UTC 2005
On Mon, 2005-02-14 at 21:34, Ruedi Steinmann wrote:
> dispatchEvent: evt
> "Place to hook Morph specific event dispatching in"
> "evt someTest ifTrue: [^ self morphSpecificEventDispatchMethod: evt]."
> ^self dispatchDefault: evt.
>
> Morph>>dispatchDefault: is the same as
> MorphicEventDispatcher>>dispatchDefault:with:
should be:
Morph>>dispatchEvent: is the same as
MorphicEventDispatcher>>dispatchDefault:with:
To hook Morph specific event dispatching in, Morph>>dispatchEvent:
should be overridden like:
dispatchEvent:evt
event someTest ifTrue: [^ self morphSpecificEventDispatchMethod: evt].
^super dispatchEvent: evt.
Ruedi
More information about the Squeak-dev
mailing list
|