Squeak
  links to this page:    
View this PageEdit this PageUploads to this PageHistory of this PageTop of the SwikiRecent ChangesSearch the SwikiHelp Guide
handlesMouseDown:
Last updated at 4:59 pm UTC on 16 January 2006
#handlesMouseDown: is an instance method of the class Morph you have to override when doing your own morphs you want to act on mouse actions.

A typcial implementation is just

 handlesMouseDown: evt
    ^true

Another typical thing then is to add a #mouseUp: method where you do the actions you want your Morph to perform:

 mouseUp: evt
     "do my things"