Changes in Tcl/Tk 8.6

This page is a terse summary of script-visible changes in Tcl/Tk 8.6, presented as bullet lists with links to more detail. For a more narrative, feature-based introduction to 8.6 capabilities, see The major new features of Tcl/Tk 8.6.

Tcl Changes

New Backslash Syntax

Changes to Tcl Commands

New Commands

New Subcommands

Expanded Syntax / New Options

New unsupported commands

Changes to Tcl variables

New global variables

Changed Tcl behavior


Tk Changes

Changes to Tk Commands

New Commands

New Subcommands

Expanded Syntax / New Options

Changed Tk behavior

  • tk is a script-modifiable ensemble.
  • GIF photo images written with LZW compression.
  • event generate can now generate <Focus*> events.
  • Tk for OS X/Aqua now built on Cocoa libraries.
  • image write -file uses file name extension as format hint.
  • Revised <MouseWheel> event handlers. [TIP #171 ].
  • Color names redefined to match Web conventions [TIP #403 ]
  • X11 menu behavior modernized [TIP #360 ]

New Events

  • <<ContextMenu>>
  • <<LineEnd>>
  • <<LineStart>>
  • <<NextChar>>
  • <<NextLine>>
  • <<NextPara>>
  • <<NextWindow>>
  • <<NextWord>>
  • <<PrevChar>>
  • <<PrevLine>>
  • <<PrevPara>>
  • <<PrevWord>>
  • <<SelectAll>>
  • <<SelectLineEnd>>
  • <<SelectLineStart>>
  • <<SelectNextChar>>
  • <<SelectNextLine>>
  • <<SelectNextWord>>
  • <<SelectNone>>
  • <<SelectPrevChar>>
  • <<SelectPrevLine>>
  • <<SelectPrevPara>>
  • <<SelectPrevWord>>
  • <<ToggleSelection>>

See the documentation for event for explanations, and "event info <event>" to find out what bindings are used for each on your OS.


Changes to Bundled Packages

New packages

Updated packages


See also: