<div dir="ltr">Hi all,<div><br></div><div>I've wondered about this for a while, but never asked.</div><div><br></div><div>When I create a GUI widget, I attach a callback:</div><div><br></div><div>(define b (new button% [... ...] [callback (lambda (b e) ...)] ...))</div>
<div><br></div><div>Is it possible to attach a callback at runtime? The docs say "no," but I thought I'd ask regardless. Perhaps what I want to ask is "why?"</div><div><br></div><div>I can't remember, at this point, why I thought I needed this functionality... but, I've always wondered why I wasn't able to do this. (Perhaps I was wondering this as I was thinking about a Qt-ish slot/connection model... I don't know.) </div>
<div><br></div><div>Many thanks,<br>Matt</div><div><br></div></div>