Thanks, Alex. I actually tried something very similar to this earlier but
failed. What I should have done is to try it with my simplified code and then
I would have realized it was an approach that could work. The complication is
that there is much more stuff going on in my production code.
Every problem can be solved by adding another level of indirection (except
perhaps having too many levels of indirection :-) ). You can put the code
below in a separate file:
(define (make-info-menu-item parent target-table)
(new menu-item%
(label "info")
(parent parent)
(c
2 matches
Mail list logo