beetlebug▾
/

text see

Scrolls the text so that INDEX is visible.

PATHNAME see INDEX

Description

When the place of INDEX is out of the view, the text scrolls to show it. A visible place keeps the view.

Returns

An empty string.

Examples

% text .se -height 3
> .se insert end [string repeat "line\n" 50]
> .se see end

Errors

% text .se2; .se2 see bogus
bad text index "bogus"
-errorcode NONE

Facts

Capability
None.
Tcl release
Tcl 9.1 and 8.6.
Since
ztk 1.0.0-beta.1

See also