godot/doc/classes/ScrollBar.xml

25 lines
1.0 KiB
XML

<?xml version="1.0" encoding="UTF-8" ?>
<class name="ScrollBar" inherits="Range" version="4.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd">
<brief_description>
Abstract base class for scrollbars.
</brief_description>
<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.
</description>
<tutorials>
</tutorials>
<members>
<member name="custom_step" type="float" setter="set_custom_step" getter="get_custom_step" default="-1.0">
Overrides the step used when clicking increment and decrement buttons or when using arrow keys when the [ScrollBar] is focused.
</member>
<member name="step" type="float" setter="set_step" getter="get_step" overrides="Range" default="0.0" />
</members>
<signals>
<signal name="scrolling">
<description>
Emitted when the scrollbar is being scrolled.
</description>
</signal>
</signals>
</class>