Class ::tycho::Stepper


Inherits: ::tycho::Gridder - Source File - Contents: public method
A class that implements quantized moving behavior. Unlike the Gridder class, Stepper just quantizes the cursor movement, rather than snapping it to the grid.

Public constructs

Public Method

click x y args
Start the interaction. The behavior of this method is the same as that of the superclass, Gridder, except that the ``actual'' and ``slip'' variables are set to the current coordinates and zero rather than to the nearest grid point and the distance from it -- the effect is to quantize the cursor to the gridsize rather than to the actual grid coordinates.

Index of classes



Author: H. John Reekie
Version: @(#)Stepper.itcl 1.8 21 Oct 1996
Copyright: (c) 1996 The Regents of the University of California.