I'm making a program with PLT Scheme and I've created my
window using (new frame%) and added a menu with (new menu-bar%).<br>The
simple question is: how do I make a menu-item to close my program?
Should I call some kind of yield? I can't this information :(<br>
<br>My code so far for the buttun is only:<br><br>(define quit-item (new
menu-item% [parent file-menu] [label "Quit"]<br>
(callback (lambda (button event)<div id=":46" class="ii gt">