in reply to How do Tk popup menus actually work?
Look at the docs for Tk::callbacks, they have some examples that make it more clear. There is also some explanation on how to pass other args, or make method calls instead of a calling a generalized subroutine.
It is odd, though, that the docs for Tk::bind don't spell out the default behavior.
|
|---|