ttk.PanedWindow.sashpos

PanedWindow.sashpos(index, newpos=None)

If newpos is specified, sets the position of sash number index.

May adjust the positions of adjacent sashes to ensure that positions are monotonically increasing. Sash positions are further constrained to be between 0 and the total size of the widget.

Returns the new position of sash number index.