TextIF.scrollSubstringTo

Makes @text visible on the screen by scrolling all necessary parents.

Contrary to atk_text_set_position, this does not actually move @text in its parent, this only makes the parents scroll so that the object shows up on the screen, given its current position within the parents.

interface TextIF
bool
scrollSubstringTo

Parameters

startOffset int

start position

endOffset int

end position, or -1 for the end of the string.

type AtkScrollType

specify where the object should be made visible.

Return Value

Type: bool

whether scrolling was successful.

Meta

Since

2.32