FabGL
ESP32 Display Controller and Graphics Library
|
|
protectedvirtual |
Sets scrollbar position, visible portion and range.
orientation | Specifies which scrollbar to update |
position | Sets position of the scrollbar thumb. Minimum value is 0, maximum value is range - visible. Position is measured in "scroll units". A scroll unit is determined by scrollbar size. |
visible | Sets scrollbar visible portion (aka thumb size) of the scrollable content. Visible portion is measured in "scroll units". A scroll unit is determined by scrollbar size. |
range | Sets vertical scrollbar range. Range is the maximum position of the scrollbar. Maximum value of scrollbar position will range - visible. |
repaintScrollbar | If True the scrollbar is repainted immediately. |
Reimplemented in uiCustomListBox, and uiPaintBox.