TkOptionMenubutton

I’m trying to use TkOptionMenubutton without much success. Anyone know how
to invoke a proc when a TkOptionMenubutton selection changes?

  • I found on a web page mention of the event. However it
    doesn’t work, at least on WIN32. During the MenuSelect event the value of
    the menu is always the previous selection. Making MenuSelect totally
    useless.

  • I tried using a command proc { … } but get the error ‘__invoke’: unknown
    option “-options”