Changes in Tcl/Tk 8.0

Released August 18, 1997

New packages

New Tcl commands

  • binary
  • fcopy
  • namespace
  • resource (Mac)
  • safe::interpCreate
  • safe::interpInit
  • safe::interpConfigure
  • safe::interpDelete
  • safe::interpAddToAccessPath
  • safe::interpFindInAccessPath
  • safe::setLogCmd
  • tcl_endOfWord
  • tcl_startOfNextWord
  • tcl_startOfPreviousWord
  • tcl_wordBreakAfter
  • tcl_wordBreakBefore
  • variable

New Tk commands

Removed Tcl commands

  • cp (Mac)
  • mkdir (Mac)
  • mv (Mac)
  • rm (Mac)
  • rmdir (Mac)

New Tcl subcommands

  • file attributes
  • file nativename
  • interp expose
  • interp hide
  • interp hidden
  • interp invokehidden
  • interp marktrusted

New Tk subcommands

Expanded syntax/new options

button pathName ?... -default ...?

expr ... srand(arg) ... rand(arg) ...

frame pathName ?... -container ...?

grid columnconfigure master index ?-option value...? ==> grid columnconfigure master indexList -option value ?-option value...?

grid rowconfigure master index ?-option value...? ==> grid rowconfigure master indexList -option value ?-option value...?

lsort ?... -dictionary ... -index ...? list

menu pathName ?... -title ... -type ...?

.menu add type ?... -columnbreak ... -hidemargin ...?

menubutton pathName ?... -direction ...?

toplevel pathName ?... -container ... -menu ... -use ...?

Removed options

menu pathName ?... -transient ...?

New Tcl global variables

  • tcl_traceCompile
  • tcl_traceExec
  • tcl_nonwordchars
  • tcl_wordchars
  • tcl_platform(byteOrder)

New Tk virtual events

  • <<MenuSelect>>

Changed behavior Commands containing "::" get namespace interpretation.

destroy no longer returns an error when given a non-existent window as an argument.