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

float custom_step = -1.0

Overrides the step used when clicking increment and decrement buttons or when using arrow keys when the ScrollBar is focused.

int focus_mode = 3

Signals

scrolling()

Emitted when the scrollbar is being scrolled.

Theme properties

Texture2D decrement_highlight

Displayed when the mouse cursor hovers over the decrement button.

Texture2D decrement_pressed

Displayed when the decrement button is being pressed.

Texture2D increment_highlight

Displayed when the mouse cursor hovers over the increment button.

Texture2D increment_pressed

Displayed when the increment button is being pressed.

StyleBox grabber

Used as texture for the grabber, the draggable element representing current scroll.

StyleBox grabber_highlight

Used when the mouse hovers over the grabber.

StyleBox grabber_pressed

Used when the grabber is being dragged.

Source revision 5592dc3a7a61
Connection interrupted. Reload×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.