in reply to Re: Is Tk::Text-widget PopUp-menu onscreen?
in thread Is Tk::Text-widget PopUp-menu onscreen?

Hm, strange cos that was something I tried before posting here.

Tried with different event-bindings on the Menu-widget. But Since <Motion>, <Enter> etc events didn't work (Win32/Tk800.024), I assumed that Menu-widgets didn't support bindings.. but the <Leave>-event acutally works (the event-sub is, for whatever reason, even called TWICE when the event triggers, hehe).

Together with using the "-postcommand" option instead of the <Enter> event, I can achieve what I want.

Thanks zentara!

  • Comment on Re^2: Is Tk::Text-widget PopUp-menu onscreen?