Re: [racket-users] Override Methods in framework

2016-04-22 Thread Bruce Steinberg
Robby, Thank you so much! That was exactly the info I needed. -Bruce On 22 Apr 2016, at 21:43, Robby Findler wrote: > The intention of the edit-menu:between- methods is that you add > menu items to the argument menu and then supply that same method to > the super call (if you make the

Re: [racket-users] Override Methods in framework

2016-04-22 Thread Bruce Steinberg
e argument and (2) that it expects a menu: expected: (or/c (is-a?/c menu%) (is-a?/c popup-menu%)) given: 10 What this means is that someone added contracts to the method as it was implemented and that the docs are wrong. -- Matthias On Apr 22, 2016, at 8:46 AM, Bruce Steinberg <b

[racket-users] Override Methods in framework

2016-04-22 Thread Bruce Steinberg
I'm having trouble with overriding one of framework's methods to add a menu item. Here's what I'm currently doing: #lang racket/gui (require framework) (define ext-frame% (frame:standard-menus-mixin (frame:status-line-mixin frame:basic%))) (define