Version 4 of Pragmatic use of Pernicious Popups

Updated 2002-07-13 18:44:03

This page was started on Saturday, July 13, 2002.

Rohan Pall writes about his short but lively experience with tk_popup:

I've noticed some differences with tk_popup on windows and on unix, specifically on Windows98 and on Linux. I use $::tcl_platform(platform) to test what platform I'm on, i.e. "windows" or "unix".

On windows:

  • The <Unmap> binding isn't fired when the popup dissapears, which includes when the user doesn't select one of the menu items.
  • All processing of the script stops after the tk_popup command starts, and resumes when the tk_popup dissapears, i.e. when the tk_popup command completes.

On unix: