ComponentIF.scrollTo

Makes component visible on the screen by scrolling all necessary parents.

Contrary to atk_component_set_position, this does not actually move component 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 ComponentIF
bool
scrollTo

Parameters

type AtkScrollType

specify where the object should be made visible.

Return Value

Type: bool

whether scrolling was successful.

Meta

Since

2.30