How can I reinitialize the event handler

ducasse ducasse at
Sun Apr 7 18:27:29 UTC 2002

on 4/7/02 8:02 PM, Ned Konz at ned at wrote:

> On Sunday 07 April 2002 10:59 am, ducasse wrote:
>> I will retry my experience but what I noticed is that when I was adding
>> handleMouseOver: and mouseEnter mouseLeave if I had previously a morph form
>> the class it would not react and I had to recreate an instance t=of the
>> class. There is in this case the event would work.
> You should be able to define
> handlesMouseOver: evt
> ^true
> mouseEnter: evt
> ... whatever
> mouseLeave: evt
> ... whatever
> and have it work fine when you re-define mouseEnter: or mouseLeave:

But I donot redefine mouseEnter: I define it. So as the handler is created
on a per instance basis that's why I need to create another instance.


More information about the Squeak-dev mailing list