PanedWindow.setSashPosition

Sets the position of a sash. 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. Must be called after the UI has been drawn.

class PanedWindow
setSashPosition
(
this T
)

Parameters

sashIndex int

The index of the sash.

position int

The new position of the sash.

Meta