ttk::treeview xview
Gives or moves the horizontal view of the columns.
PATHNAME xview
PATHNAME xview moveto FRACTION
PATHNAME xview scroll COUNT units|pages|pixels
Description
With no argument, gives two fractions: the start and the end of the visible part of the width of the columns. moveto and scroll move the view, as for the other widgets that scroll.
Returns
Two fractions, or an empty string.
Examples
% ttk::treeview .ttvxv
> pack .ttvxv
> update
> .ttvxv xview
0.0 1.0
Errors
% ttk::treeview .ttvxv2; .ttvxv2 xview scroll x units
expected integer but got "x"
-errorcode NONE
Facts
- Capability
- None.
- Tcl release
- Tcl 9.1 and 8.6.
- Since
- ztk 1.0.0-beta.1