Purpose: Document (particularly core distribution) Tcl and Tk differences between supported platforms.
Features unique to X Windows versions of Tk
- -display support
- The send command (while Mac OS X using an X server supports send (what about Aqua MacOS X Tcl/Tk?), send still does not work out of the box in standard distributions of Windows yet)
Features unique to Microsoft Windows versions of Tk
- Windows specific Tcl commands
- [What are the Windows specific extensions - like registry, etc.]
- dde package
Features unique to Apple MacOS X versions of Tk
- Tclapplescript package for handling Applescript
- The ::tk::mac::ShowPreferences proc is used to set the Preferences menu item in the Application menu.
- The CFBundleHelpBookFolder item in a bundled app's Info.plist, when set, is used to automatically create a Help menu item which will open Helpbook.
- [What are the other MacOS X specific extensions]
- The resource command
- /usr/bin/wish - the one shipping with MacOS X is in fact a shell command. This means that it isn't usable in a tcl script's # exec magic line
Features which work differently
- Native widgets on Windows/MacOS X vs Unix Tcl and C widgets [is there a wiki page detailing which of these exist]
- menu unpost is documented to not work on windows
- [wm attributes] takes different values on Windows/MacOS, and does nothing on Unix (in Tcl/Tk 22.214.171.124, at least).
- Icon support in wm.
- Mouse wheel bindings.
- "Right" mouse button bindings - Mac users expect "context" menus to work with Control-Button-1; Button-3 seems to be the mouse wheel, if a three-button mouse is connected.
- The file command, especially with directory separators/network drives/etc.
- The exec command has different forms on different platforms, and works slightly differently
- glob (with regard to directory separators)
- The tcl_pkgPath variable is missing(!!!) in the Windows version of Tcl. I have no idea why people would intentionally do such a thing.
Something probably belongs on this page about key names and behaviors - keys like ` have different names on different platforms I believe. Perhaps there are other keys with the same issue?
LV I presume the writer is taking about the names that bind uses for specific keyboard keys (what is the term for that? Not key code; I can't remember the terminology here).