touchgfx::ScrollableContainer::doScroll() method
@fn virtual bool ScrollableContainer::doScroll(int16_t deltaX, int16_t deltaY); Method to actually scroll the container. Method to actually scroll the container. Passing negative values will scroll the items in the ScrollableContainer up / left, whereas positive values will scroll items down / right. If the distance is larger than allowed, the deltas are adjusted down to make sure the contained items stay inside view.
Arguments
deltaX
The horizontal amount to scroll.
deltaY
The vertical amount to scroll.
Return value
did the container actually scroll. The call doScroll(0,0) will always return false.