[Pharo-project] Bug Report 4 of 6: PasteUpMorph>>processEvent:

S Krish krishnamachari.sudhakar at gmail.com
Tue Jan 3 11:22:52 CET 2012


4.
For PasteUpMorph>>
processEvent: anEvent using: defaultDispatcher
"Why not reject events not on the morph.. rather than send rejectEvent call
to the morph"

(anEvent isMouse | anEvent isKeyboard
and: [(self fullContainsPoint: anEvent cursorPoint) not])
ifTrue: [^ #rejected].

(self rejectsEvent: anEvent)
ifTrue: [^ #rejected].
^ defaultDispatcher dispatchEvent: anEvent with: self
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gforge.inria.fr/pipermail/pharo-project/attachments/20120103/55d2a543/attachment.htm>


More information about the Pharo-project mailing list