Debian Codegraph @

doc/classes/ScrollBar.xml

raw symbols SCIP
1 <?xml version="1.0" encoding="UTF-8" ?>
2 <class name="ScrollBar" inherits="Range" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd">
3 <brief_description>
4 Abstract base class for scrollbars.
5 </brief_description>
6 <description>
7 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.
8 </description>
9 <tutorials>
10 </tutorials>
11 <members>
12 <member name="custom_step" type="float" setter="set_custom_step" getter="get_custom_step" default="-1.0">
13 Overrides the step used when clicking increment and decrement buttons or when using arrow keys when the [ScrollBar] is focused.
14 </member>
15 <member name="focus_mode" type="int" setter="set_focus_mode" getter="get_focus_mode" overrides="Control" enum="Control.FocusMode" default="3" />
16 <member name="step" type="float" setter="set_step" getter="get_step" overrides="Range" default="0.0" />
17 </members>
18 <signals>
19 <signal name="scrolling">
20 <description>
21 Emitted when the scrollbar is being scrolled.
22 </description>
23 </signal>
24 </signals>
25 <theme_items>
26 <theme_item name="decrement" data_type="icon" type="Texture2D">
27 Icon used as a button to scroll the [ScrollBar] left/up. Supports custom step using the [member ScrollBar.custom_step] property.
28 </theme_item>
29 <theme_item name="decrement_highlight" data_type="icon" type="Texture2D">
30 Displayed when the mouse cursor hovers over the decrement button.
31 </theme_item>
32 <theme_item name="decrement_pressed" data_type="icon" type="Texture2D">
33 Displayed when the decrement button is being pressed.
34 </theme_item>
35 <theme_item name="increment" data_type="icon" type="Texture2D">
36 Icon used as a button to scroll the [ScrollBar] right/down. Supports custom step using the [member ScrollBar.custom_step] property.
37 </theme_item>
38 <theme_item name="increment_highlight" data_type="icon" type="Texture2D">
39 Displayed when the mouse cursor hovers over the increment button.
40 </theme_item>
41 <theme_item name="increment_pressed" data_type="icon" type="Texture2D">
42 Displayed when the increment button is being pressed.
43 </theme_item>
44 <theme_item name="grabber" data_type="style" type="StyleBox">
45 Used as texture for the grabber, the draggable element representing current scroll.
46 </theme_item>
47 <theme_item name="grabber_highlight" data_type="style" type="StyleBox">
48 Used when the mouse hovers over the grabber.
49 </theme_item>
50 <theme_item name="grabber_pressed" data_type="style" type="StyleBox">
51 Used when the grabber is being dragged.
52 </theme_item>
53 <theme_item name="scroll" data_type="style" type="StyleBox">
54 Used as background of this [ScrollBar].
55 </theme_item>
56 <theme_item name="scroll_focus" data_type="style" type="StyleBox">
57 Used as background when the [ScrollBar] has the GUI focus.
58 </theme_item>
59 </theme_items>
60 </class>