sash

(#<widget> 'sash ?args?)
This command is used to query and change the position of sashes in the panedwindow. It can take any of the following forms:
(#<widget> 'sash 'coord index)
Return the current x and y coordinate pair for the sash given by index. Index must be an integer between 0 and 1 less than the number of panes in the panedwindow. The coordinates given are those of the top left corner of the region containing the sash.
(#<widget> 'sash 'dragto index x y)
This command computes the difference between the given coordinates and the coordinates given to the last sash coord command for the given sash. It then moves that sash the computed difference. The return value is the empty string.
(#<widget> 'sash 'mark index x y)
Records x and y for the sash given by index; used in conjunction with later dragto commands to move the sash.
(#<widget> 'sash 'place index x y)
Place the sash given by index at the given coordinates.

© Author | Home | Sitemap