Class reference
ScrollBar
Inherits Range
Abstract base class for scrollbars.
Description
Abstract base class for scrollbars, typically used to navigate through content that extends beyond the visible area of a control. Scrollbars are Range-based controls.
Properties
Signals
scrolling()
Emitted when the scrollbar is being scrolled.
Theme properties
Texture2D decrement
Texture2D decrementIcon used as a button to scroll the ScrollBar left/up. Supports custom step using the ScrollBar.custom_step property.
Texture2D decrement_highlight
Texture2D decrement_highlightDisplayed when the mouse cursor hovers over the decrement button.
Texture2D decrement_pressed
Texture2D decrement_pressedDisplayed when the decrement button is being pressed.
Texture2D increment
Texture2D incrementIcon used as a button to scroll the ScrollBar right/down. Supports custom step using the ScrollBar.custom_step property.
Texture2D increment_highlight
Texture2D increment_highlightDisplayed when the mouse cursor hovers over the increment button.
Texture2D increment_pressed
Texture2D increment_pressedDisplayed when the increment button is being pressed.
StyleBox grabber
StyleBox grabberUsed as texture for the grabber, the draggable element representing current scroll.
StyleBox grabber_highlight
StyleBox grabber_highlightUsed when the mouse hovers over the grabber.
StyleBox grabber_pressed
StyleBox grabber_pressedUsed when the grabber is being dragged.
StyleBox scroll
StyleBox scrollUsed as background of this ScrollBar.
StyleBox scroll_focus
StyleBox scroll_focusUsed as background when the ScrollBar has the GUI focus.