A Tcl extension is a library of additional commands for a Tcl interpreter. Extensions are written in C using the Tcl API. An extension is often included in a package, where the pkgIndex.tcl script uses load to load the extension into the interpreter process. An extension may define new actions, new widgets, new processing types, etc.