Attention: Here be dragons

This is the latest (unstable) version of this documentation, which may document features not available in or compatible with released stable versions of Godot.

ScrollBar

Inherits: Range < Control < CanvasItem < Node < Object

Inherited By: HScrollBar, VScrollBar

Abstract base class for scrollbars.

描述

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.

属性

float

custom_step

-1.0

float

step

0.0 (overrides Range)


信号

scrolling ( )

Emitted when the scrollbar is being scrolled.


Property Descriptions

float custom_step = -1.0

  • void set_custom_step ( float value )

  • float get_custom_step ( )

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