xref: /inferno-os/man/9/see (revision 46439007cf417cbd9ac8049bb4122c890097a0fa)
SEE 9
NAME
see - Make a portion of a widget visible.
SYNOPSIS
\f5see option ?pathName?
DESCRIPTION
\f5See makes sure that a portion of a widget is visible in its containing view; for instance, it will scroll a canvas or text widget to ensure that the specified portion is in view. The following options are supported:

\f5-rectangle list Specifies a list with four dist coordinates describing the left, top, right, and bottom coordinates of the rectangular region, in coordinates relative to the widget origin, of the area that should be made visible.

\f5-point list\P Specifies a list with two dist coordinates describing a point within the widget that should be made visible by preference if the entirety of the above-specified rectangle cannot be shown. Defaults to the top left of the specified rectangle.

\f5-where If this option is given, \f5see returns a list containing the left, top, right and bottom coordinates of the currently visible portion of pathName .

If neither the \f5-rectangle or the \f5-point options are given, then the entire area of pathName will be made visible.

SEE ALSO
options (9), types (9)