[plt-scheme] Re: Object system

From: Matthew Flatt (mflatt at cs.utah.edu)
Date: Sun Dec 21 11:52:32 EST 2003

At Sun, 21 Dec 2003 15:21:28 +0000, Guenther Schmidt wrote:
> I would need to add some code in the redifinition *after* the call to the 
> "super method", something like
> 
> (sup x y)
> (send x get-value)
> 
> But that won't work.

Do you mean to return #f from the method, which indicates that the
event should be dispacthed as usual when the `on-subwindow-char' method
returns?

It sounds like you're returning a true value, which indicates that the
event has been consumed, and shouldn't be processed further.

Matthew



Posted on the users mailing list.