next up previous index
Next: Event Handling Up: Basic Tk Previous: Bitmaps and Pixmaps

Screen Distances

Many Tk commands accept distances or coordinates. In the Tk coordinate system, higher x coordinates are to the right and higher y coordinates to the bottom (!). A distance is an integer or a floating point value followed by one of the unit specifiers, e.g. 12c for 12 cm. The available units are



Micha Meier
Tue Jul 2 09:49:39 MET DST 1996