summaryrefslogtreecommitdiff
path: root/doc/classes/VScrollBar.xml
blob: 41a87ba886037859007f3ec4929bb230dd6462f9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
<?xml version="1.0" encoding="UTF-8" ?>
<class name="VScrollBar" inherits="ScrollBar" version="4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd">
	<brief_description>
		Vertical scroll bar.
	</brief_description>
	<description>
		Vertical version of [ScrollBar], which goes from top (min) to bottom (max).
	</description>
	<tutorials>
	</tutorials>
	<members>
		<member name="size_flags_horizontal" type="int" setter="set_h_size_flags" getter="get_h_size_flags" overrides="Control" enum="Control.SizeFlags" default="0" />
		<member name="size_flags_vertical" type="int" setter="set_v_size_flags" getter="get_v_size_flags" overrides="Control" enum="Control.SizeFlags" default="1" />
	</members>
	<theme_items>
		<theme_item name="decrement" data_type="icon" type="Texture2D">
			Icon used as a button to scroll the [ScrollBar] up. Supports custom step using the [member ScrollBar.custom_step] property.
		</theme_item>
		<theme_item name="decrement_highlight" data_type="icon" type="Texture2D">
			Displayed when the mouse cursor hovers over the decrement button.
		</theme_item>
		<theme_item name="decrement_pressed" data_type="icon" type="Texture2D">
			Displayed when the decrement button is being pressed.
		</theme_item>
		<theme_item name="increment" data_type="icon" type="Texture2D">
			Icon used as a button to scroll the [ScrollBar] down. Supports custom step using the [member ScrollBar.custom_step] property.
		</theme_item>
		<theme_item name="increment_highlight" data_type="icon" type="Texture2D">
			Displayed when the mouse cursor hovers over the increment button.
		</theme_item>
		<theme_item name="increment_pressed" data_type="icon" type="Texture2D">
			Displayed when the increment button is being pressed.
		</theme_item>
		<theme_item name="grabber" data_type="style" type="StyleBox">
			Used as texture for the grabber, the draggable element representing current scroll.
		</theme_item>
		<theme_item name="grabber_highlight" data_type="style" type="StyleBox">
			Used when the mouse hovers over the grabber.
		</theme_item>
		<theme_item name="grabber_pressed" data_type="style" type="StyleBox">
			Used when the grabber is being dragged.
		</theme_item>
		<theme_item name="scroll" data_type="style" type="StyleBox">
			Used as background of this [ScrollBar].
		</theme_item>
		<theme_item name="scroll_focus" data_type="style" type="StyleBox">
			Used as background when the [ScrollBar] has the GUI focus.
		</theme_item>
	</theme_items>
</class>