Next: XF constraints Up: XF and Tcl/Tk Previous: Radiobutton widgets

## Send

One of the most powerful features in Tk is the ability to send commands directly to other Tk applications, using the send command. This command takes a Tcl/Tk script as a argument, and evaluates it in the specified interpreter. The result of the evaluation is returned to the calling program. This feature makes it easy to spilt functionality used by an application (like color selection, file selection etc.) between different applications, as the communication between these applications, is almost the same as it would be in one complete application (procedure calls). This can lead to a model of applications, where many specialized Tcl/Tk

application communicate together to provide functionality to other (more general) programs.