YView.setYView

Adjusts the view in the window so that the position appears at the top edge of the window. Position must be a fraction between 0.0 (start of the text) and 1.0 (end of the text).

mixintemplate YView()
setYView
(
this T
)
(
double position
)

Parameters

position double

The character index to scroll to.

Return Value

Type: auto

This widget to aid method chaining.

Meta