Component.scrollTo

bool scrollTo(atk.types.ScrollType type)

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.

Parameters

typespecify where the object should be made visible.

Returns

whether scrolling was successful.