beetlebug▾
/

listbox see

Scrolls the listbox so that the item at INDEX is visible.

PATHNAME see INDEX

Description

When the item is out of the view, the listbox scrolls to show it. A visible item keeps the view.

Returns

An empty string.

Examples

% listbox .se -height 3
> .se insert end a b c d e f g h
> .se see 7

Errors

% listbox .se2; .se2 see
wrong # args: should be ".se2 see index"
-errorcode NONE

Facts

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

See also