Using the Tk Canvas Facility

CS-TR-94-5

Author: Robert Biddle
Source: GZipped PostScript (77kb); Adobe PDF (309kb)


Most GUI toolkits allow the programmer to create interfaces with a variety of standard components, but sometimes programs need interfaces with custom designed pictorial components. The TCL/Tk language provides for this need with the ``canvas'' facility. This allows the programmer to create interface components which are constructed like drawings, but which allow dynamic reconfiguration and provide for full user interaction. This document is a practical introduction to using the canvas facility.

[Up to Computer Science Technical Report Archive: Home Page]