beetlebug▾
/

ttk::treeview see

Scrolls the tree view and opens the parents of an item so that the item shows.

PATHNAME see ITEM

Description

Opens each parent of ITEM, and scrolls the rows so that ITEM is in the visible part.

Returns

An empty string.

Examples

% ttk::treeview .ttvsee -height 5
> for {set i 0} {$i < 30} {incr i} {.ttvsee insert {} end -id r$i}
> pack .ttvsee
> update
> .ttvsee see r29
> update
> expr {[lindex [.ttvsee yview] 0] > 0}
1

Errors

% ttk::treeview .ttvsee2; .ttvsee2 see nosuch
Item nosuch not found
-errorcode NONE

Facts

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

See also