[plt-scheme] Extending

From: Robby Findler (robby at cs.uchicago.edu)
Date: Thu Aug 23 18:37:13 EDT 2007

On 8/23/07, Matt Jadud <jadudm at gmail.com> wrote:
> Hi all,
> I spent some time reading around the codebase trying to discover the
> best way to do two things:
> 1. Intercept the "Run" button press and do an additional action when
> it is pressed, and

You want to override the execute-callback (also in the frame mixin).
But maybe what you want to do is better done another way. What are you
trying to do?

> 2. Add a drop-down menu widget to the button area.
> #2 involves extending the frame mixin, doesn't it? If someone wouldn't
> mind giving me a pointer in the right direction, I think it will speed
> things up for me.

Yes, that's right. See get-button-panel.


Posted on the users mailing list.