skip to content
section 3tcl — Library functions
- after(3tcl) Execute a command after a time delay
- append(3tcl) Append to variable
- apply(3tcl) Apply an anonymous function
- argc(3tcl) Variables used by Tcl
- array(3tcl) Manipulate array variables
- bgerror(3tcl) Command invoked to process background errors
- binary(3tcl) Insert and extract fields from binary strings
- blt::barchart(3tcl) Bar chart for plotting X-Y coordinate data.
- blt::beep(3tcl) ring the bell
- blt::bgexec(3tcl) Run programs in the background while handling Tk events. kill - Terminate program or send signal.
- blt::bitmap(3tcl) Define a new bitmap from a Tcl script
- blt::bltdebug(3tcl) print Tcl commands before execution
- blt::busy(3tcl) Make Tk widgets busy, temporarily blocking user interactions.
- blt::container(3tcl) Widget to contain a foreign window.
- blt::cutbuffer(3tcl) Manipulate X cut buffer properties
- blt::dragdrop(3tcl) facilities for handling drag&drop data transfers
- blt::eps(3tcl) Encapsulated PostScript canvas item.
- blt::graph(3tcl) 2D graph for plotting X-Y coordinate data.
- blt::hierbox(3tcl) Create and manipulate hierarchical table widgets
- blt::htext(3tcl) Create and manipulate hypertext widgets
- blt::intro(3tcl) Introduction to the BLT library
- blt::spline(3tcl) Fit curves with spline interpolation
- blt::stripchart(3tcl) 2D strip chart for plotting x and y coordinate data.
- blt::table(3tcl) Arranges widgets in a table
- blt::tabset(3tcl) Create and manipulate tabset widgets
- blt::tile(3tcl) Tiling versions of Tk widgets
- blt::tree(3tcl) Create and manage tree data objects.
- blt::treeview(3tcl) Create and manipulate hierarchical table widgets
- blt::vector(3tcl) Vector data type for Tcl
- blt::watch(3tcl) call Tcl procedures before and after each command
- blt::winop(3tcl) Perform assorted window and image operations
- break(3tcl) Abort looping command
- case(3tcl) Evaluate one of several scripts, depending on a given value
- catch(3tcl) Evaluate script and trap exceptional returns
- cd(3tcl) Change working directory
- chan(3tcl) Read, write and manipulate channels
- clock(3tcl) Obtain and manipulate dates and times
- close(3tcl) Close an open channel
- concat(3tcl) Join lists together
- continue(3tcl) Skip to the next iteration of a loop
- coroutine(3tcl) Create and produce values from coroutines
- dde(3tcl) Execute a Dynamic Data Exchange command
- dict(3tcl) Manipulate dictionaries
- DString(3tcl) manipulate dynamic strings
- encoding(3tcl) Manipulate encodings
- eof(3tcl) Check for end of file condition on channel
- error(3tcl) Generate an error
- eval(3tcl) Evaluate a Tcl script
- exec(3tcl) Invoke subprocesses
- exit(3tcl) End the application
- expr(3tcl) Evaluate an expression
- fblocked(3tcl) Test whether the last input operation exhausted all available input
- fconfigure(3tcl) Set and get options on a channel
- fcopy(3tcl) Copy data from one channel to another
- file(3tcl) Manipulate file names and attributes
- fileevent(3tcl) Execute a script when a channel becomes readable or writable
- filename(3tcl) File name conventions supported by Tcl commands
- flush(3tcl) Flush buffered output for a channel
- for(3tcl) 'For' loop
- foreach(3tcl) Iterate over all elements in one or more lists
- format(3tcl) Format a string in the style of sprintf
- gets(3tcl) Read a line from a channel
- glob(3tcl) Return names of files that match patterns
- global(3tcl) Access global variables
- history(3tcl) Manipulate the history list
- http(3tcl) Client-side implementation of the HTTP/1.1 protocol
- if(3tcl) Execute scripts conditionally
- incr(3tcl) Increment the value of a variable
- info(3tcl) Return information about the state of the Tcl interpreter
- interp(3tcl) Create and manipulate Tcl interpreters
- join(3tcl) Create a string by joining together list elements
- lappend(3tcl) Append list elements onto a variable
- lassign(3tcl) Assign list elements to variables
- library(3tcl) standard library of Tcl procedures
- lindex(3tcl) Retrieve an element from a list
- linsert(3tcl) Insert elements into a list
- list(3tcl) Create a list
- llength(3tcl) Count the number of elements in a list
- lmap(3tcl) Iterate over all elements in one or more lists and collect results
- load(3tcl) Load machine code and initialize new commands
- lrange(3tcl) Return one or more adjacent elements from a list
- lrepeat(3tcl) Build a list by repeating elements
- lreplace(3tcl) Replace elements in a list with new elements
- lreverse(3tcl) Reverse the order of a list
- lsearch(3tcl) See if a list contains a particular element
- lset(3tcl) Change an element in a list
- lsort(3tcl) Sort the elements of a list
- mathfunc(3tcl) Mathematical functions for Tcl expressions
- mathop(3tcl) Mathematical operators as Tcl commands
- memory(3tcl) Control Tcl memory debugging capabilities
- msgcat(3tcl) Tcl message catalog
- my(3tcl) invoke any method of current object
- namespace(3tcl) create and manipulate contexts for commands and variables
- next(3tcl) invoke superclass method implementations
- Notifier(3tcl) the event queue and notifier interfaces
- oo_class(3tcl) class of all classes
- oo_copy(3tcl) create copies of objects and classes
- oo_define(3tcl) define and configure classes and objects
- oo_object(3tcl) root class of the class hierarchy
- open(3tcl) Open a file-based or command pipeline channel
- package(3tcl) Facilities for package loading and version control
- packagens(3tcl) Construct an appropriate 'package ifneeded' command for a given package specification
- pid(3tcl) Retrieve process identifiers
- pkgMkIndex(3tcl) Build an index for automatic loading of packages
- platform(3tcl) System identification support code and utilities
- platform_shell(3tcl) System identification support code and utilities
- proc(3tcl) Create a Tcl procedure
- puts(3tcl) Write to a channel
- pwd(3tcl) Return the absolute path of the current working directory
- re_syntax(3tcl) Syntax of Tcl regular expressions
- read(3tcl) Read from a channel
- refchan(3tcl) command handler API of reflected channels
- RegExp(3tcl) Pattern matching with regular expressions
- regexp(3tcl) Match a regular expression against a string
- registry(3tcl) Manipulate the Windows registry
- regsub(3tcl) Perform substitutions based on regular expression pattern matching
- rename(3tcl) Rename or delete a command
- return(3tcl) Return from a procedure, or set return code of a script
- safe(3tcl) Creating and manipulating safe interpreters
- scan(3tcl) Parse string using conversion specifiers in the style of sscanf
- seek(3tcl) Change the access position for an open channel
- self(3tcl) method call internal introspection
- set(3tcl) Read and write variables
- socket(3tcl) Open a TCP network connection
- source(3tcl) Evaluate a file or resource as a Tcl script
- split(3tcl) Split a string into a proper Tcl list
- string(3tcl) Manipulate strings
- subst(3tcl) Perform backslash, command, and variable substitutions
- switch(3tcl) Evaluate one of several scripts, depending on a given value
- tailcall(3tcl) Replace the current procedure with another command
- Tcl(3tcl) Tool Command Language
- Tcl_Access(3tcl) check file permissions and other attributes
- Tcl_Alloc(3tcl) allocate or free heap memory
- Tcl_AllowExceptions(3tcl) allow all exceptions in next script evaluation
- Tcl_AppendExportList(3tcl) manipulate namespaces
- Tcl_AppInit(3tcl) perform application-specific initialization
- Tcl_AsyncCreate(3tcl) handle asynchronous events
- Tcl_BackgroundException(3tcl) report Tcl exception that occurred in background processing
- Tcl_Backslash(3tcl) parse a backslash sequence
- Tcl_CallWhenDeleted(3tcl) Arrange for callback when interpreter is deleted
- Tcl_CancelEval(3tcl) cancel Tcl scripts
- Tcl_ClassGetMetadata(3tcl) manipulate objects and classes
- Tcl_ClassSetConstructor(3tcl) manipulate methods and method-call contexts
- Tcl_CommandComplete(3tcl) Check for unmatched braces in a Tcl command
- Tcl_CommandTraceInfo(3tcl) monitor renames and deletes of a command
- Tcl_Concat(3tcl) concatenate a collection of strings
- Tcl_CreateChannel(3tcl) procedures for creating and manipulating channels
- Tcl_CreateChannelHandler(3tcl) call a procedure when a channel becomes readable or writable
- Tcl_CreateCloseHandler(3tcl) arrange for callbacks when channels are closed
- Tcl_CreateCommand(3tcl) implement new commands in C
- Tcl_CreateEnsemble(3tcl) manipulate ensemble commands
- Tcl_CreateFileHandler(3tcl) associate procedure callbacks with files or devices (Unix only)
- Tcl_CreateInterp(3tcl) create and delete Tcl command interpreters
- Tcl_CreateMathFunc(3tcl) Define, query and enumerate math functions for expressions
- Tcl_CreateObjCommand(3tcl) implement new commands in C
- Tcl_CreateTimerHandler(3tcl) call a procedure at a given time
- Tcl_CreateTrace(3tcl) arrange for command execution to be traced
- Tcl_DetachPids(3tcl) manage child processes in background
- Tcl_DoOneEvent(3tcl) wait for events and invoke event handlers
- Tcl_DoWhenIdle(3tcl) invoke a procedure when there are no pending events
- Tcl_DumpActiveMemory(3tcl) Validated memory allocation interface
- Tcl_EvalObjEx(3tcl) execute Tcl scripts
- Tcl_Exit(3tcl) end the application or thread (and invoke exit handlers)
- Tcl_ExprLong(3tcl) evaluate an expression
- Tcl_ExprLongObj(3tcl) evaluate an expression
- Tcl_FindExecutable(3tcl) identify or return the name of the binary file containing the application
- Tcl_FSRegister(3tcl) procedures to interact with any filesystem
- Tcl_GetAssocData(3tcl) manage associations of string keys and user specified data with Tcl interpreters
- Tcl_GetCwd(3tcl) manipulate the current working directory
- Tcl_GetEncoding(3tcl) procedures for creating and using encodings
- Tcl_GetHostName(3tcl) get the name of the local host
- Tcl_GetIndexFromObj(3tcl) lookup string in table of keywords
- Tcl_GetInt(3tcl) convert from string to integer, double, or boolean
- Tcl_GetOpenFile(3tcl) Return a FILE* for a channel registered in the given interpreter (Unix only)
- Tcl_GetReturnOptions(3tcl) retrieve or record information about errors and other return options
- Tcl_GetStdChannel(3tcl) procedures for retrieving and replacing the standard channels
- Tcl_GetTime(3tcl) get date and time
- Tcl_GetVersion(3tcl) get the version of the library at runtime
- Tcl_Init(3tcl) find and source initialization script
- Tcl_InitHashTable(3tcl) procedures to manage hash tables
- Tcl_InitStubs(3tcl) initialize the Tcl stubs mechanism
- Tcl_Interp(3tcl) client-visible fields of interpreter structures
- Tcl_IsSafe(3tcl) manage multiple Tcl interpreters, aliases and hidden commands
- Tcl_LimitAddHandler(3tcl) manage and check resource limits on interpreters
- Tcl_LinkVar(3tcl) link Tcl variable to C variable
- Tcl_ListObjAppendList(3tcl) manipulate Tcl values as lists
- Tcl_LoadFile(3tcl) platform-independent dynamic library loading
- Tcl_Main(3tcl) main program, startup script, and event loop definition for Tcl-based applications
- TCL_MEM_DEBUG(3tcl) Compile-time flag to enable Tcl memory debugging
- Tcl_NewBooleanObj(3tcl) store/retrieve boolean value in a Tcl_Obj
- Tcl_NewByteArrayObj(3tcl) manipulate Tcl values as a arrays of bytes
- Tcl_NewDictObj(3tcl) manipulate Tcl values as dictionaries
- Tcl_NewDoubleObj(3tcl) manipulate Tcl values as floating-point values
- Tcl_NewIntObj(3tcl) manipulate Tcl values as integers
- Tcl_NewObj(3tcl) manipulate Tcl values
- Tcl_NewStringObj(3tcl) manipulate Tcl values as strings
- Tcl_NRCreateCommand(3tcl) Non-Recursive (stackless) evaluation of Tcl scripts.
- Tcl_OOInitStubs(3tcl) initialize library access to TclOO functionality
- Tcl_OpenFileChannel(3tcl) buffered I/O facilities using channels
- Tcl_OpenTcpClient(3tcl) procedures to open channels using TCP sockets
- Tcl_Panic(3tcl) report fatal error and abort
- Tcl_ParseArgsObjv(3tcl) parse arguments according to a tabular description
- Tcl_ParseCommand(3tcl) parse Tcl scripts and expressions
- Tcl_PkgRequire(3tcl) package version control
- tcl_prefix(3tcl) facilities for prefix matching
- Tcl_Preserve(3tcl) avoid freeing storage while it is being used
- Tcl_PrintDouble(3tcl) Convert floating value to string
- Tcl_PutEnv(3tcl) procedures to manipulate the environment
- Tcl_RecordAndEval(3tcl) save command on history list before evaluating
- Tcl_RecordAndEvalObj(3tcl) save command on history list before evaluating
- Tcl_RegisterConfig(3tcl) procedures to register embedded configuration information
- Tcl_RegisterObjType(3tcl) manipulate Tcl value types
- Tcl_SaveInterpState(3tcl) save and restore an interpreter's state
- Tcl_SetChannelError(3tcl) functions to create/intercept Tcl errors by channel drivers.
- Tcl_SetErrno(3tcl) manipulate errno to store and retrieve error codes
- Tcl_SetObjResult(3tcl) manipulate Tcl result
- Tcl_SetRecursionLimit(3tcl) set maximum allowable nesting depth in interpreter
- Tcl_SetVar2Ex(3tcl) manipulate Tcl variables
- Tcl_SignalId(3tcl) Convert signal codes
- Tcl_Sleep(3tcl) delay execution for a given number of milliseconds
- Tcl_SourceRCFile(3tcl) source the Tcl rc file
- Tcl_SplitList(3tcl) manipulate Tcl lists
- Tcl_SplitPath(3tcl) manipulate platform-dependent file paths
- Tcl_StackChannel(3tcl) manipulate stacked I/O channels
- Tcl_StandardChannels(3tcl) How the Tcl library deals with the standard channels
- Tcl_StaticPackage(3tcl) make a statically linked package available via the 'load' command
- Tcl_StringMatch(3tcl) test whether a string matches a pattern
- Tcl_SubstObj(3tcl) perform substitutions on Tcl values
- Tcl_TraceVar(3tcl) monitor accesses to a variable
- Tcl_TranslateFileName(3tcl) convert file name to native form and replace tilde with home directory
- Tcl_UniChar(3tcl) routines for manipulating UTF-8 strings
- Tcl_UniCharIsAlnum(3tcl) routines for classification of Tcl_UniChar characters
- Tcl_UniCharToUpper(3tcl) routines for manipulating the case of Unicode characters and UTF-8 strings
- Tcl_UpVar(3tcl) link one variable to another
- Tcl_WrongNumArgs(3tcl) generate standard error message for wrong number of arguments
- Tcl_ZlibAdler32(3tcl) compression and decompression functions
- tcltest(3tcl) Test harness support code and utilities
- tell(3tcl) Return current access position for an open channel
- Thread(3tcl) Tcl thread support
- throw(3tcl) Generate a machine-readable error
- time(3tcl) Time the execution of a script
- timerate(3tcl) Calibrated performance measurements of script execution time
- tm(3tcl) Facilities for locating and loading of Tcl Modules
- trace(3tcl) Monitor variable accesses, command usages and command executions
- transchan(3tcl) command handler API of channel transforms
- try(3tcl) Trap and process errors and exceptions
- unknown(3tcl) Handle attempts to use non-existent commands
- unload(3tcl) Unload machine code
- unset(3tcl) Delete variables
- update(3tcl) Process pending events and idle callbacks
- uplevel(3tcl) Execute a script in a different stack frame
- upvar(3tcl) Create link to variable in a different stack frame
- variable(3tcl) create and initialize a namespace variable
- vwait(3tcl) Process events until a variable is written
- while(3tcl) Execute script repeatedly as long as a condition is met
- zlib(3tcl) compression and decompression operations